Skip to main content
. Author manuscript; available in PMC: 2019 Apr 1.
Published in final edited form as: IEEE Trans Med Imaging. 2018 Apr;37(4):955–965. doi: 10.1109/TMI.2017.2776324
Algorithm 1 Algorithm for direct Patlak reconstruction using the kernel method
Input: Maximum iteration number MaxIt, sub-iteration number SubIt, starting time frame FraSta and ending time frame FraEnd
1: Initialize α0, SllbIt = 1N
2: for n = 1 to MaxIt do
3:  xn (A ⊗ K)αn–I, SubIt
4:  αn,0 = αn–I, SubIt
5:  for k = FraSta to FraEnd do
6:    xkn+1=xkn(NkPK)′1M[(NkPK)′y(NkPK)xkn+s+r]
7:  end for
8:  for q = 1 to SubIt do
9:    αn,q=αn,q−1[A⊗(PK)]′N1MT([A⊗(PK)]′N1MTxn+1(A⊗IN)αn,q−1), where 1MT is a MT × 1 all-one vector.
10:  end for
11: end for
12: return θ̂ = (I2 ⊗ K)α̂MaxIt,SubIt