Hi everyone,

I need to create the vector normal to the surface at each "white" vertex.
I would like to end up with 7 fields in each entry:

1         Vertex number
2-4  RAS coordinates
5-7 RAS components of the normal vector pointed from ctx --> wm

mri_annotation2label gets me the first 4.
I just don't want to reinvent the wheel getting the normal.
If there's a way to get freesurfer to kick out the normals, that would be best.
Here are naïve questions that arise out of this problem:

1.       Is there a simple way to identify which vertices are "nearest 
neighbors" other than measuring and sorting the distances between each and all 
the others i.e. which ones form a triangle?  I understand to use the normalized 
average of the 6 triangles which include the vertex.

2.       Is there a simple way to identify the order of the sides of each 
triangle so that their cross product is ordered correctly to produce ctx --> wm?

Thanks for your help with this.

Don

_______________________________________________
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 Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to