mitk-gem
mitk-gem copied to clipboard
Segmentation changes image orientation
- Load Nifti (nii) image with given affine matrix as stored with the image.
- Click Segmentation tab.
- Add new segmentation, specify name.
- The image changes orientation and is now upside down in the axial window.
I have seen similar behaviour with MRI images with either a coronal or sagittal native plane. My guess is that the transformation matrix in the image header is not properly used.
@araex has found the following related bug thread in MITK https://phabricator.mitk.org/T19632
In the newest MITK release MITK-2016-11 the issue is resolved, tested with MITK-Workbench on a set of MRI images.
Hence, the solution would be to use MITK-2016-11 in MITK-GEM. However, this would mean dropping the statistics plugin and help for MacOSx. Other options would be to create separate branches for Win-Linux and MacOSx, rewrite the two plugins, or wait for MITK to resolve the issue.