simeks / deform

Efficient dense deformable image registration
MIT License
24 stars 7 forks source link

Affine initialization #89

Closed simeks closed 4 years ago

simeks commented 5 years ago

Need proper support for providing an initial affine transformation. Passing the affine transformation as a displacement field will likely cause precision issues due to the downsampling in the resolution pyramid.

simeks commented 5 years ago

Possible short term solution: Transform moving image by only changing image direction and origin in metadata. Requires minimal changes within the actual registration code since direction and origin are already taken into consideration. However, the affine transformation have to be applied to the displacement field afterward.