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" <do...@brainvis.wustl.edu> wrote: >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 Apr 29, 2014, at 2:48 AM, "Luo,Yishan" <lys84...@hotmail.com> wrote: > >> 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 region >> using -cifti-math "x>5" >> >> I want to extract the average timeseries from the roi region. >> But it seems that -cifti-parcellate requires a label file as input. And >>-cifti-create-label requires a volume file as input to create a label. >> But my output from -cifti-math is in cifti format, it is neither a >>volume nor a label. >> >> How can I do to transform it? >> >> Another question is how can I extract several frames from >>"tfMRI_MOTOR_LR_Atlas.dtseries.nii" file, such as from frame 10 to 20? >> >> >> Thanks a lot! >> >> Best Regards, >> Lisa >> >> >> >> >> >> _______________________________________________ >> HCP-Users mailing list >> HCP-Users@humanconnectome.org >> http://lists.humanconnectome.org/mailman/listinfo/hcp-users > > >_______________________________________________ >HCP-Users mailing list >HCP-Users@humanconnectome.org >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. _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org http://lists.humanconnectome.org/mailman/listinfo/hcp-users