Replies: 1 comment
-
I'm not sure why it is labeled native to T1 when the inverse of the transform is being applied. Looking at the code, the inverse transform seems to be applied by smriprep using the normalize_surfs function. Retracing how fmriprep produces the surfaces:
I know this doesn't answer your question, but hopefully it helps with your applying your own transformations. If you are ok with using mris_convert, you can simply call For reference, here are some links I found helpful:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to understand how fmriprep brings the freesurfer fsnative surfaces into T1w space giftis so that I could run my own transformations. I've come up w/ something that seems to work in practice but conceptually seems wrong, and I'm wondering if anyone could provide insight into how this is working. As an example using lh.pial, and assuming fMRIprep has been run:
After running this, my output surface has vertices matching sub-XX_ses-XX_acq-highresAP_hemi-L_pial.surf.gii.
BUT:
It is not clear to me why one should need to invert the stored transform, since shouldn’t it already be from fsnative to T1w coords? But the code I based this off of (fmriprep.interfaces.surf.normalize_surfs()) uses the LTA transform, which I believe should be from T1w to fsnative coords (see: nitransforms.io.lta — nitransforms 24.1.2 documentation).
Am I confusing something here?
Thanks,
Nathan
Beta Was this translation helpful? Give feedback.
All reactions