Hi, Tim and Matt
Thank you very much for the help!
Longchuan 

     On Sunday, March 8, 2015 5:18 PM, "Glasser, Matthew" 
<[email protected]> wrote:
   

 Right I forgot that I can’t just check the dev version…
Peace,
Matt.
From: Timothy Coalson <[email protected]>
Date: Sunday, March 8, 2015 at 3:15 PM
To: Matt Glasser <[email protected]>
Cc: Longchuan Li <[email protected]>, Hcp-users 
<[email protected]>
Subject: Re: [HCP-Users] calculating surface areas

It is not deprecated in the current release.  In the next release 
-metric-vertex-sum will be deprecated by -metric-stats and 
-metric-weighted-stats.  The -metric-vertex-sum command will still work for 
several releases, but the new commands are more flexible, and will be the 
recommended commands to use in new scripts.

If you just want the surface area of each vertex, -metric-vertex-areas will do 
this.  If you want the surface area of an ROI, and the ROI is binary (values 
are zeros and ones), you can do this for a single subject:

wb_command -metric-vertex-sum roi.func.gii -integrate surface.surf.gii

To get binary rois, you could give a label file to -gifti-all-labels-to-rois, 
or threshold a metric with -metric-math 'x > 0', or similar.

(in the next release, -metric-weighted-stats with the -sum and -area-surface 
options will also do what -metric-vertex-sum -integrate does)

Tim



On Sun, Mar 8, 2015 at 3:39 PM, Glasser, Matthew <[email protected]> 
wrote:

Hi Tim,
Could you explain how you want users to compute surface areas of ROIs now that 
the previous command that did that seems deprecated?  The example usage for 
doing this should probably be in the command’s usage as well, since this will 
be a common task.  
Thanks,
Matt.
From: Longchuan Li <[email protected]>
Reply-To: Longchuan Li <[email protected]>
Date: Sunday, March 8, 2015 at 11:39 AM
To: Hcp-users <[email protected]>
Subject: [HCP-Users] calculating surface areas

Hi, HCP experts
Could someone tell me what is the best way to calculate the surface areas of 
the white and gray matter in Workbench? I have some data from unique 
populations whose the surface statistics are not summerized in the stat files.

Thank you in advance!

Longchuan

_______________________________________________
HCP-Users mailing list
[email protected]
http://lists.humanconnectome.org/mailman/listinfo/hcp-users The materials in 
this message are private and may contain Protected Healthcare Information or 
other information of a sensitive nature. If you are not the intended recipient, 
be advised that any unauthorized use, disclosure, copying or the taking of any 
action in reliance on the contents of this information is strictly prohibited. 
If you have received this email in error, please immediately notify the sender 
via telephone or return mail.

    The materials in this message are private and may contain Protected 
Healthcare Information or other information of a sensitive nature. If you are 
not the intended recipient, be advised that any unauthorized use, disclosure, 
copying or the taking of any action in reliance on the contents of this 
information is strictly prohibited. If you have received this email in error, 
please immediately notify the sender via telephone or return mail.

   
_______________________________________________
HCP-Users mailing list
[email protected]
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to