| ALGORITHM II: MIND Demons | |
|
| |
| Input | Input images (I0 and I1) Number of pyramid levels (Nℓ) Maximum numbers of iterations (Nk) Gradient magnitude tolerance (γS) Metric value convergence tolerance (γF) Convergence window (W) Registration parameters (σp, tp, ∈, σU, and σD) |
|
| |
| Output | Diffeomorphism (ψ) |
|
| |
| 1 | Initialize ϕ0(0.5) = ϕ1 (0.5) = Id and δ = 0 For level ℓ < Nℓ |
| 2 | If ℓ > 0, upsample ϕ0 and ϕ1 For iteration k <Nk |
| 3 | Compute and |
| 4 | Compute S, ∇0S, and ∇1S using (20) and (21) |
| 5 | Compute the maximum normalized gradient magnitude where |
| 6 | If k > W, compute a gradient ∇F of a line fitted to S in (20) evaluated from k − W to k. |
| 7 | If δ < γS or ∇F < γF, Stop. |
| 8 | Compute and using (9) and (10) where K is approximated by |
| 9 | Estimate and using (12) |
| 10 | Regularize and based on (14) using |
| 11 | Estimate and using Algorithm I |
| 12 | Compute |
|
| |
| In this work, we use γS = 10−ℓ, γF = 10−6, and W = 20 iterations. | |