Skip to main content
. Author manuscript; available in PMC: 2016 Jan 22.
Published in final edited form as: SIAM J Imaging Sci. 2015 Apr 30;8(2):1007–1029. doi: 10.1137/130933423

Algorithm 2.

Deformable Kalman multiatlas segmentation.

1: for i = 0, 2,,… N − 1 do
2:   Compute the affine registration αi+(Ai) using Algorithm 1
3:   Register IiAi to I by minimizing NNC with respect to B-spline deformation field
4:   Record the final deformation field ψi and registration cost ci
5: end for
6: Sort ci’s so that ckicki+1i = 0, …, N − 2
7: Define wki = exp(ck0cki)∀i = 0, …, N − 1 and normalize wi’s s.t. i=0N1wi=1
8:
P(x)=i=0N1wkiJki(ψki(Aki(x)))