I do struggle a bit when the previous e-mails in a thread are not included
below. You always want to be mapping data to the midthickness surface
(which you can create by averaging the white and pial surfaces with
wb_command -surface-average. Your output will be the <filename>.func.gii
metric file containing the timeseries for one hemisphere (so youšll need
to get the other one from the other hemisphere). Ribbon-constrained
mapping takes the white and pial surfaces, not the ribbon NIFTI file.
Peace,
Matt.
On 4/29/14, 1:10 AM, "SUBSCRIBE FSL B. Jeong" <[log in to unmask]> wrote:
>Hi Matt,
>
>Thank you for your kind explanation.
>Unfortunately, I'm a newbie in terms of wb_command.
>Could you kindly explain for me?
>
>If I have a 4D fMRI file ("fMR.nii.gz"), two freesurfer pial files
>("lh.pial.gii", "rh.pial.gii"), and two freesurfer ribbon files
>("rh.ribbon.nii.gz", "lh.ribbon.nii.gz"), what is the correct wb_command
>script for mapping from fMR to surface space?
>
>The script below produced error message.
>
>wb_command -volume-to-surface-mapping fMR.nii.gz lh.pial.gii
>output.dtseries.nii -ribbon-constrained lh.ribbon.nii.gz
>
>If -ribbon-constrained is replaced -trillinear, "output.dtseries.nii" was
>produced. But workbench was not able to read it.
>
>Thanks,
>
>Jeong
|