Hi Simon,

If you can represent your parcellation in Caret paint format, then you can do 
Surface: Region of Interest.  There is a feature in there that generates areal 
borders from parcels.  The paint format is defined here:


You can save the borders as borderproj or border.  There are advantages to 
each.  Borderproj depends on a particular topology, but you can display the 
borders on the midthickness, inflated, sphere -- any configuration.  Border 
depends more on geometry, but can be displayed on multiple meshes (e.g., if you 
fix a topological error, and thus change the number of vertices, you can still 
display the border on both surfaces (before and after patching).

Caret isn't handy right now, so I can't double-check, but it's possible the 
feature that draws borders around clusters requires the vertices to be 
selected, one group/label at a time.  If so, you might be able to use 
caret_command to loop through the paint names, selecting each parcel at a time, 
drawing a border around it:

      caret_command -surface-region-of-interest-selection  
      caret_command -surface-border-draw-around-roi  

Then you can open all of the resulting borders at once and save as a 

Maybe workbench has a streamlined version of this.


On Feb 6, 2016, at 6:15 PM, Simon Davis <simonwda...@gmail.com> wrote:

> Apologies if this has been addressed previously, but I'm looking to create a 
> border file from a whole-brain set of ROIs (e.g., a novel Craddock 
> parcellation). Any pointers?
> -- 
> Simon W Davis
> Assistant Professor, 
> Department of Neurology
> Duke University
> simon.da...@duke.edu
> _______________________________________________
> caret-users mailing list
> caret-users@brainvis.wustl.edu
> http://brainvis.wustl.edu/mailman/listinfo/caret-users

caret-users mailing list

Reply via email to