Skip to content

add support for the scanras/nifti and scanlps/dicom coordinate system#1878

Merged
robertoostenveld merged 6 commits intofieldtrip:masterfrom
robertoostenveld:scanras
Sep 8, 2021
Merged

add support for the scanras/nifti and scanlps/dicom coordinate system#1878
robertoostenveld merged 6 commits intofieldtrip:masterfrom
robertoostenveld:scanras

Conversation

@robertoostenveld
Copy link
Copy Markdown
Member

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, and ft_determine_coordsys now all know how to work with these. Some private functions have also been updated.

@robertoostenveld robertoostenveld merged commit 1c55f8d into fieldtrip:master Sep 8, 2021
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)
@robertoostenveld robertoostenveld deleted the scanras branch January 28, 2022 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant