Skip to main content
. Author manuscript; available in PMC: 2021 May 25.
Published in final edited form as: IEEE Trans Med Imaging. 2019 Apr 16;39(2):294–307. doi: 10.1109/TMI.2019.2911482
A pseudocode definition of the NTVS algorithm is written as follows:
1: set k = 0
2: set −1 = 0
3: set xk=x¯
4: while k < K do
5:   set n = 0
6:   set k = rand(k, k−1)
7:   set xk,n = xk
8:   while n < N do
9:     set vk,n = ϕ′(xk,n)
10:     set βk,n = αk
11:     set xk,n+1 = xk,n + βk,nvk,n
12:     set n = n + 1
13:     set k = k + 1
14:   end while
15:   set xk+1 = PT(xk,N)
16:   set k = k + 1
17: end while