You can use mri_vol2surf, something like
mri_vol2surf --closest-vertex x y z coords ltafile surf outfile
where xyz is a coordinate (eg, the center or edge or you lesion).
coords: 1=scanner,2=tkreg (you can pick the xyz from the freeview
scanner or tkreg ras)
if these coordinates are in the same space as the anatomical (ie,
conformed, 1mm, 256^3), then set ltafile to nofile
surf is the surface file (eg, lh.white)
The outfile will have the vertex number of the closest vertex.
On 11/21/2023 12:49 PM, John Anderson wrote:
External Email - Use Caution
Dear Freesurfer Experts,
I would like to inquire if there is a FreeSurfer command that allows
me to measure the distance (in voxels or mm) between a lesion mask
(output of samseg) and the closest voxels in the ribbon after applying
"recon-all" to T1 images. If there is no such command, I am
considering measuring the center of the lesion mask and calculating
the distance between this center and every voxel in the closest parcel
in the ribbon, then selecting the shortest distance. i'm not sure if
this is the correct approach so I appreciate your suggestions.
Thank you
John
On Mon, Nov 20, 2023 at 7:13 AM John Anderson <jb19790...@gmail.com>
wrote:
Dear FreeSurfer experts, I would like to know if there is a
command in FreeSurfer that can help me measure the distance (in
voxels or mm) between a lesion mask and the closest voxels in the
ribbon after applying recon-all to T1 images. Thanks for your advice
John
_______________________________________________
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
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Mass General Brigham
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted). If you do not wish to
continue communication over unencrypted e-mail, please notify the sender of
this message immediately. Continuing to send or respond to e-mail after
receiving this message means you understand and accept this risk and wish to
continue to communicate over unencrypted e-mail.