Hi,
are there any matlab functions for reading sphere.reg files? What is their format and content?
Best, Darren
Hi Darren,
they are just surfaces like any others. You can convert them to ascii with mris_convert ?h.sphere.reg ?h.sphere.reg.asc
cheers, Bruce On Thu, 29 Sep 2005, Darren Weber wrote:
Hi,
are there any matlab functions for reading sphere.reg files? What is their format and content?
Best, Darren
Hi Bruce,
I see, the ?h.sphere.reg files are a surf file and the coordinates specify a sphere (surprise, surprise). I assume these are coordinates given after the spherical morph into the target brain space (eg, average7). My interest is in locating a cortical vertex for subject A and then finding all the spherically coregistered vertices for other subjects. To find coregistered vertices across subjects, I assume a 3D distance metric for the ?h.surf.reg data would work. That is,
a) select vertex V from subject A b) extract the spherical coordinates from ?h.sphere.reg for V c) find the nearest vertex in the ?h.sphere.reg file for subject B, using a linear 3D Euclidian distance metric
Will that give the result of the cortical spherical coregistration across subjects (after spherical morphing to the template brain)?
Thanks, Darren
yes, that's basically what "send to subject" does in tksurfer. You can use it to check your results.
cheers, Bruce
On Thu, 29 Sep 2005, Darren Weber wrote:
Hi Bruce,
I see, the ?h.sphere.reg files are a surf file and the coordinates specify a sphere (surprise, surprise). I assume these are coordinates given after the spherical morph into the target brain space (eg, average7). My interest is in locating a cortical vertex for subject A and then finding all the spherically coregistered vertices for other subjects. To find coregistered vertices across subjects, I assume a 3D distance metric for the ?h.surf.reg data would work. That is,
a) select vertex V from subject A b) extract the spherical coordinates from ?h.sphere.reg for V c) find the nearest vertex in the ?h.sphere.reg file for subject B, using a linear 3D Euclidian distance metric
Will that give the result of the cortical spherical coregistration across subjects (after spherical morphing to the template brain)?
Thanks, Darren
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
This is also what mri_surf2surf and mri_label2label do too. You can use label2label to check your results as well by creating a label with your given xyz point and mapping it to another subject.
Bruce Fischl wrote:
yes, that's basically what "send to subject" does in tksurfer. You can use it to check your results.
cheers, Bruce
On Thu, 29 Sep 2005, Darren Weber wrote:
Hi Bruce,
I see, the ?h.sphere.reg files are a surf file and the coordinates specify a sphere (surprise, surprise). I assume these are coordinates given after the spherical morph into the target brain space (eg, average7). My interest is in locating a cortical vertex for subject A and then finding all the spherically coregistered vertices for other subjects. To find coregistered vertices across subjects, I assume a 3D distance metric for the ?h.surf.reg data would work. That is,
a) select vertex V from subject A b) extract the spherical coordinates from ?h.sphere.reg for V c) find the nearest vertex in the ?h.sphere.reg file for subject B, using a linear 3D Euclidian distance metric
Will that give the result of the cortical spherical coregistration across subjects (after spherical morphing to the template brain)?
Thanks, Darren
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu