Hi, I would like to produce a text file with the mean values of thickness, myelin etc over the parcellated regions provided in the HCP preprocessing pipeline output, specifically those listed in the ".aparc.164k_fs_LR.dlabel.nii" file. I managed a single ROI I think, with
wb_command \ -cifti-label-to-roi 130004_MR1.aparc.164k_fs_LR.dlabel.nii \ /tmp/roi.dscalar.nii \ -key 44 and then wb_command \ -cifti-weighted-stats 130004_MR1.SmoothedMyelinMap_BC.164k_fs_LR.dscalar.nii \ -spatial-weights \ -left-area-metric 130004_MR1.L.SmoothedMyelinMap_BC.164k_fs_LR.func.gii \ -right-area-metric 130004_MR1.R.SmoothedMyelinMap_BC.164k_fs_LR.func.gii \ -mean \ -roi /tmp/roi.dscalar.nii Is there a way to do this for all of the ROIs in one pass? Thanks _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org http://lists.humanconnectome.org/mailman/listinfo/hcp-users