[HCP-Users] activation region mask

2014-04-29 Thread Luo,Yishan
Dear all, I would like to do the following things with task fMRI. I threshold the file HCP_Q1-2_R120_tfMRI_ALLTASKS_level3_hp200_s4.dscalar.nii to get the activation regionusing -cifti-math x5 I want to extract the average timeseries from the roi region. But it seems that -cifti-parcellate

Re: [HCP-Users] activation region mask

2014-04-29 Thread Donna Dierker
Hi Lisa, While there is a -volume flag (e.g., for subcortical structures), it is not mandatory. This command works for me: wb_command -cifti-create-label $OUTPUT_DLABEL_1 \ -left-label $INPUT_LABEL_LH -right-label $INPUT_LABEL_RH I'm sorry I don't know how to extract the frames. Donna On

Re: [HCP-Users] activation region mask

2014-04-29 Thread Glasser, Matthew
To convert the output of -cifti-math to a label file, use wb_command -cifti-label-import. You can use wb_command -cifti-merge to extract frames, though it is not as convenient as something like fslroi would be as you have to specify each frame. Peace, Matt. On 4/29/14, 8:19 AM, Donna Dierker

Re: [HCP-Users] activation region mask

2014-04-29 Thread Timothy Coalson
If you have only one ROI, you could also look at the -cifti-average-dense-roi command: http://www.humanconnectome.org/software/workbench-command.php Tim On Tue, Apr 29, 2014 at 10:11 AM, Glasser, Matthew glass...@wusm.wustl.eduwrote: To convert the output of -cifti-math to a label file, use

Re: [HCP-Users] activation region mask

2014-04-29 Thread Timothy Coalson
Sorry, didn't get the URL right: http://www.humanconnectome.org/software/workbench-command.php?function=-cifti-average-dense-roi Tim On Tue, Apr 29, 2014 at 1:18 PM, Timothy Coalson tsc...@mst.edu wrote: If you have only one ROI, you could also look at the -cifti-average-dense-roi command:

Re: [HCP-Users] activation region mask

2014-04-29 Thread Glasser, Matthew
That command needs a -cifti-roi flag added to it for it to be usable in this case I think (and I think it should be added). Matt. From: Timothy Coalson tsc...@mst.edu Date: Tuesday, April 29, 2014 at 1:19 PM To: Matt Glasser glass...@wusm.wustl.edu Cc: Donna Dierker