It works, thank you! The steps have been -cifti-separate to convert from dscalar (multiple maps) to nifti (multiple maps), and -volume-merge to divide the nifti file in separate maps. Thank you very much, Xavier. ________________________________ From: Glasser, Matthew [[email protected]] Sent: Tuesday, December 12, 2017 7:37 PM To: Xavier Guell Paradis; [email protected] Subject: Re: [HCP-Users] -cifti-separate converts from dscalar to nifti: is it possible to generate one nifti from each dscalar map?
wb_command -volume-merge allows you to select specific maps despite its name. It contains functionality similar to both fslmerge and bfslroi. Peace, Matt. From: <[email protected]<mailto:[email protected]>> on behalf of Xavier Guell Paradis <[email protected]<mailto:[email protected]>> Date: Tuesday, December 12, 2017 at 6:35 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [HCP-Users] -cifti-separate converts from dscalar to nifti: is it possible to generate one nifti from each dscalar map? Dear HCP experts, I have a dscalar file with 4 maps and would like to convert each map into one separate nifti file. I am not worried about the problem of surface information in a nifti file, because I am interested in subcortical data only. I have been able to transform the dscalar into a nifti file using this: wb_command -cifti-separate input.dscalar.nii COLUMN -volume-all output.nii The output.nii is a nifti file which contains 4 maps if I open it with wb_view. Is there a way to generate 4 separate nifti files (one for each map) instead of one single nifti file with all 4 maps? Thank you very much, Xavier. _______________________________________________ HCP-Users mailing list [email protected]<mailto:[email protected]> http://lists.humanconnectome.org/mailman/listinfo/hcp-users _______________________________________________ HCP-Users mailing list [email protected] http://lists.humanconnectome.org/mailman/listinfo/hcp-users
