This is what the ciftisavereset function is for (which should be available in the same place you found ciftiopen and ciftisave.
Peace, Matt. From: <[email protected]<mailto:[email protected]>> on behalf of Leah Moreno <[email protected]<mailto:[email protected]>> Date: Sunday, April 16, 2017 at 12:31 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [HCP-Users] change dimensions in a cifti file Dear experts, I want to convert from nii to cii, and I am using wb_command -cifti-convert -from-nifti What is the best way to change dimensions in a cifti file to use as the template? (e.g., from 91282x236 to 91282x127) I am doing: cii = ciftiopen('RS_fMRI_1_Atlas.dtseries.nii','/usr/local/workbench/bin_macosx64/wb_command') cii = cdata: [91282x236 single] cii.cdata=cii.cdata(:,1:127) cii = cdata: [91282x127 single] newcii = cii; ciftisave(newcii,'RS_fMRI_1_template.dtseries.nii','/usr/local/workbench/bin_macosx64/wb_command') But when running wb_command -cifti-average-roi-correlation on my final dtseries.nii file the map is empty. Any idea what is going on? Thank you very much in advance -L _______________________________________________ HCP-Users mailing list [email protected]<mailto:[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. _______________________________________________ HCP-Users mailing list [email protected] http://lists.humanconnectome.org/mailman/listinfo/hcp-users
