help
help > RE: Opening Native Space FreeSurfer Images
Feb 12, 2023 02:02 PM | Chris Rorden
RE: Opening Native Space FreeSurfer Images
This is a limitation of FreeSurfer, not Surfice
Unfortunately, FreeSurfer uses a spatial transform that is not defined by the GIfTI specification. This causes issues for tools that assume the mesh is a valid GIfTI file (e.g. Surfice, NiiVue, fmriprep). You can apply this transform by using the FreeSurfer tool:
mris_convert –to-scanner
However, current versions of FreeSurfer apply the transform but retain the transform. Therefore, after this transform is applied the meshes appear correct in GIfTI-compliant tools but incorrect in FreeSurfer. The good news is that the FreeSurfer team has included a flag in the development release that allows FreeSurfer and other tools to determine whether the transform should be applied or not. Once that becomes a stable FreeSurfer release, we can update Surfice to handle these images seamlessly.
For more details see:
https://github.com/niivue/niivue/issues/416
https://neurostars.org/t/transform-freesurfer-mesh-coordinates-to-volume-coordinates/23693/2
Unfortunately, FreeSurfer uses a spatial transform that is not defined by the GIfTI specification. This causes issues for tools that assume the mesh is a valid GIfTI file (e.g. Surfice, NiiVue, fmriprep). You can apply this transform by using the FreeSurfer tool:
mris_convert –to-scanner
However, current versions of FreeSurfer apply the transform but retain the transform. Therefore, after this transform is applied the meshes appear correct in GIfTI-compliant tools but incorrect in FreeSurfer. The good news is that the FreeSurfer team has included a flag in the development release that allows FreeSurfer and other tools to determine whether the transform should be applied or not. Once that becomes a stable FreeSurfer release, we can update Surfice to handle these images seamlessly.
For more details see:
https://github.com/niivue/niivue/issues/416
https://neurostars.org/t/transform-freesurfer-mesh-coordinates-to-volume-coordinates/23693/2
Threaded View
| Title | Author | Date |
|---|---|---|
| Steven Meisler | Jan 3, 2023 | |
| tfuh918 | Feb 12, 2023 | |
| Chris Rorden | Feb 12, 2023 | |
