Skip to main content
. Author manuscript; available in PMC: 2018 Jun 11.
Published in final edited form as: Conf Proc (Midwest Symp Circuits Syst). 2017 Mar 6;2016:10.1109/MWSCAS.2016.7870109. doi: 10.1109/MWSCAS.2016.7870109

Algorithm 1.

Spherical Demons Registration Algorithm

  1: Input: n roughly registered subjects, each subject has a surface map indicating subfield distribution, which is marked as M.
  2: Output: Diffeomorphism Γ so that min dist(FM ◦ Γ) achieved, where F is created by averaging all 12 registered subjects.
  3: while iter <= 4 do
  4:  Template Surface Atlas F=Mn
  5: for each subject with label map M do
  6:   4-level multi-precision registration:
  7:   for each level do
  8:    repeat
  9:     Step 1: Given γ(t)
10:     for each vertex k do
11:      Compute:
vk(t)=F(xk)Mγ(t)(xk)σk2Ek[EkT(mkmkTσk2+Sk(Gk2)TGk2SnTσx2)En+εI2×2]1EkTmk (4)
12:      Γ(t)=γ(t)exp(v(t))
13:     Step 2: Given Γ(t)
14:     for each vertex k do
15:      Update γ:
γ(t+1)=argminγ1σx2k=1Kγnγn(t)2+2σT2γV (5)
16:    until Convergence
17: iter = iter + 1