-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatible affine matrix for normalized images #55
Comments
Hi Nikita, Do you have a minimal example that reproduces this problem? As far as I know we just use SPM functions under the hood, so perhaps it's worth checking whether the same thing happens when you use SPM12 directly. |
Hi both, Here is my take on this:
All in all, it should not matter as the brain anatomy in the image should be inline with that of the MNI (or whatever specific template/TPM used) space. It would be interesting to figure out why FSLeyes is complaining though... |
The scripts.zip As requested the screen of normalised images and template. I checked, the translation matrix in normalized image is same as bounding box parameter in config: proc_us.many_sdatas.bb = [-78 -112 -70 78 76 85]; So it confirms what Christophe said. Just for conclusion, is it safe to ignore these matrixes incompatibilities? |
In the FSLeyes documentation it seems that this warning appears when the two images have not been resliced to the same space. In another part of the documentation it states that MNI152 space differs from proper nifti conventions by going L to R rather than R to L. Combined, I think these two bits of documentation explain the problem, but I don't know what the correct thing to do about it would be. |
Dear developpers,
I remarked that all normalized images produced by hMRI toolbox has the affine matrix:
while the MNI152 template (including the one shipped with hMRI toolbox) has:
It happens in normalized masks after cegmentation (wc* and mwc*) and maps after dartell->normalisation.
If this mismatch is important and should I worry?
It made FSLeyes produce a warning, which lead to discovery of this issue.
The text was updated successfully, but these errors were encountered: