Hi Ana,

I'm not sure Caret (caret5, at least) does what you want.  There is this:

      caret_command -surface-geodesic  
         <surface-coord>
         <surface-topo>
         <output-metric>
         <smoothed>
         [-node  node-number]
         
         Generate the geodesic distance from all nodes to all other nodes
         unless a node number is specified in which case the distances are
         output for the specified node to all nodes.
         Uses dijkstra's algorithm with reuse of information from previous
         root nodes.  If smoothed is 'true', it traces paths over adjacent
         triangles in order to generate distances for some 2hop neighbors.
         This causes the contours of equal distance to be closer to circular,
         and also makes the distances more consistent for a mesh which has
         been streched nonuniformly.  It is almost as fast as unsmoothed.
         
               surface-coord      the surface coord file
         
               surface-topo       the surface topo file
         
               output-metric      output metric file for geodesic distance

You could generate a topology file that excluded the corpus callosum, if you 
have a label/parcellation/paint file that identifies the CC.  You could use the 
Surface: ROI menu or caret_command to successively exclude any vertices to be 
avoided from your topo file.

But when you click on the surface in the GUI ("ID nodes"), you get the 
Euclidean distance between the points -- not the geodesic distance.

Donna


On Jan 29, 2013, at 4:23 AM, Ana Gomes <[email protected]> wrote:

> Dear all, 
> 
> 
> My question is about how caret calculates the surface distance between two 
> centers of gravity. Does it calculate the minimum distance between the 
> centers (passing through the minimum #nodes) or are there some default 
> constraints? 
> 
> How can I produce I file that constraints the way we calculate the distances, 
> for example calculate the distances avoiding the corpus callosum?
> 
> 
> Thank you,
> 
> 
> Ana
> 
> _______________________________________________
> caret-users mailing list
> [email protected]
> http://brainvis.wustl.edu/mailman/listinfo/caret-users


_______________________________________________
caret-users mailing list
[email protected]
http://brainvis.wustl.edu/mailman/listinfo/caret-users

Reply via email to