Skip to main content
. Author manuscript; available in PMC: 2017 Aug 10.
Published in final edited form as: Proc IEEE Int Symp Biomed Imaging. 2017 Jun 19;2017:424–428. doi: 10.1109/ISBI.2017.7950552

Algorithm 1.

Registration Mapping and Propagation

Input: {Ii, i = 1, 2, …, N}: original serial images
Output: {Ii,i=1,2,,N}: registered serial images
Operator:
i:jj((i+sign(ji)×2(i+sign(ji)×1(i()))))
1: Compute reference image index iN2
2: Compute T¯,T¯1, and D by Eqn (2) and (3), respectively
3: for all i ∈ (i* − 1, i* − 2, …, 1) do
4: for all (x1,x2)Ω(Ii) do
5:   Set (X1, X2) (x1, x2)
6:   Set j ← i* − 1
7:   while ji do
8:    Local deformation: (X1,X2)(X1,X2)Dj(X1,X2)
9:    j ← j − 1
10:    Ii(x1,x2)interpolateIi(T¯(i1):i1(X1,X2))
11: for all i ∈ (i* + 1, …, N) do
12: for all (x1, x2) ∈ Ω (Ii*) do
13:   Set (X1, X2) (x1, x2)
14:   Set j ← i* + 1
15:   while ji do
16:    Local deformation: (X1,X2)(X1,X2)Dj(X1,X2)
17:   j ← j + 1
18:    Ii(x1,x2)interpolateIi(T¯i:(i1)1(X1,X2))