I guess you could compute the cog in native coords, then convert those coords to tal (would probably be the same thing as starting in tal). Having said that, I don't have anything which will compute the cog along the surface. The right way to do it is to map the label to the sphere, compute the cog there (where it is easier to compute distances), then find the closest vertex to the cog, get the native space coords for that, then convert those coords to tal. I'll add this to my to-do list (but feel free to ask me about it if I don't get back to you:).

doug




Darren Weber wrote:
Hi Doug,

it would be useful to identify the Talairach coordinates for the center
of mass, among other things, such as the spatial spread of a label in
Talairach coordinates.  I suppose there are other ways of doing that.

I am wondering, is it sensible to compare the results of the 'surface'
and 'volume' regmethods?

Thanks, Darren


Doug Greve wrote:
  
Currently not. What is it that you are trying to do? Do you just want
to apply a transform to the label coords but keep the vertex numbers?



On Thu, 6 Jul 2006, Darren Weber wrote:

    
--[PinePGP]--------------------------------------------------[begin]--
--[PinePGP]-----------------------------------------------------------
      
Hi Doug et al.,

when using mri_label2label with the --regmethod volume, there are no
vertices output in the .label file.  When loading the .label file into
tksurfer, it crashes tksurfer without any error message.

It is possible to obtain vertices and to visualize them for the results
of mri_label2label when using the volume regmethod?

Best, Darren

--

Darren L. Weber, Ph.D.
Postdoctoral Scholar

Dynamic Neuroimaging Laboratory,
UCSF Department of Radiology,
185 Berry Street, Suite 350, Box 0946,
San Francisco, CA 94107, USA.

Tel: +1 415 353-9444
Fax: +1 415 353-9421
www: http://dnl.ucsf.edu/users/dweber

"To explicate the uses of the brain seems as difficult
a task as to paint the soul, of which it is commonly
said, that it understands all things but itself."
 Thomas Willis (The Anatomy of the Brain and Nerves, 1664)
    
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
  
      
PinePGP: Encryption backend encountered error.
--[PinePGP]----------------------------------------------------[end]--
  

  

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
greve@nmr.mgh.harvard.edu
Phone Number: 617-724-2358 
Fax: 617-726-7422

In order to help us help you, please follow the steps in:
surfer.nmr.mgh.harvard.edu/fswiki/BugReporting