Skip to main content
. Author manuscript; available in PMC: 2017 Dec 21.
Published in final edited form as: Phys Med Biol. 2016 Nov 23;61(24):8699–8719. doi: 10.1088/1361-6560/61/24/8699

Table 2.

Pseudo-codes for the proposed algorithm.

Initialization
  Setting αk,i,1, αmax, c1, c2, lmax, D, kmax;
  Initializing f⃑0, k = 0, τ = 1;
  Obtaining an RI u⃑;
Reconstruction procedure (for any channel)
  while k < kmax
    k + +;
    Updating f⃑k−1 to f¯OSSARTk using the OS-SART method;
    Initializing the patch index i;
    Repeat (until patch window moves over entire image)
      Subtracting the DC component to get f¯OSSARTk.i and ũi;
      Determining the update direction p⃑k,iwith f¯OSSARTk.i and ũi;
      Determining the step length αk,i,* using f¯OSSARTk.i, ũi and p⃑k,i according to conditions (13) and (15);
      Updating ith patch using equation (10);
      Normalizing the patch and adding back the DC component to get f¯OSSARTk.i;
      i + +;
    end (Repeat)
    Averaging different values for the same pixel to get the image estimate f⃑k+1;
    Accelerating the result by using FISTA;
    Calculate dk;
    If k mod T = 0, d¯τ=1Tj=kT+1kdk;
      If the difference of τ and τ−1 is small enough, break;
      τ + +;
    end(if)
  end (while)
Output:f⃑k+1