Open liamtimms opened 10 months ago
When the image matrix is angled (i.e., far from just axial, coronal or sagittal), the origin and offset for each slice are not calculated correctly.
https://simpleitk.readthedocs.io/en/master/fundamentalConcepts.html
https://stackoverflow.com/questions/71441883/how-to-get-transformation-affine-from-itk-registration
When the image matrix is angled (i.e., far from just axial, coronal or sagittal), the origin and offset for each slice are not calculated correctly.