Algorithm 1.
Input: Ij with j = 1, …, N−1, the image not necessarily aligned with the reference I0. |
Output: with j = 1, …, N−1, the image after rigid alignment with the reference I0. |
Find the rigid transformation that aligns Ij to I0 |
Skull-strip (SS) I0 and Hj |
Jj = SS(Hj) and J0 = SS(I0) |
Find the rigid transformation that aligns Jj to J0 |
Compose the 2 previously found transformations |
Apply the composed transformation to the input image I1 |