add support for the scanras/nifti and scanlps/dicom coordinate system#1878
Merged
robertoostenveld merged 6 commits intofieldtrip:masterfrom Sep 8, 2021
Merged
add support for the scanras/nifti and scanlps/dicom coordinate system#1878robertoostenveld merged 6 commits intofieldtrip:masterfrom
robertoostenveld merged 6 commits intofieldtrip:masterfrom
Conversation
…n reading, be explicit about mm units
for LPS it now also ensures that the nose points to the top in the superior and inferiour views
combined with LPS or with RAS for the axes this now results in well-specified coordinate systems
robertoostenveld
added a commit
to fieldtrip/website
that referenced
this pull request
Sep 10, 2021
- it can be 0=unknown, 1=scanras, 2=aligned, 3=tal, 4=mni - see #444 and fieldtrip/fieldtrip#1878
robertoostenveld
added a commit
to robertoostenveld/fieldtrip
that referenced
this pull request
Sep 10, 2021
- it was added earlier today with fieldtrip#1878, but after some more consideration 'nifti' is not clear enough (as the file can have a qform or sform coordinate system with code=0,1,2,3,4)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Following investigations in fieldtrip/website#444, these have been determined to have their origin in the MRI scanner origin (at the center of the gradient coil) and the direction of the axes is well defined.
ft_read_mri,ft_convert_coordsys, andft_determine_coordsysnow all know how to work with these. Some private functions have also been updated.