workbench does not support combined coordinate/data gifti files, as we see it, they are non-standard. The error you got is actually just missing metadata, and that error usually appears in a dialog box where you can select the correct structure. However, it will probably fail to load that file anyway, due to its combined coordinates/data nature.
I don't know what kinds of gifti the matlab implementation supports. Tim On Thu, Oct 27, 2016 at 11:56 AM, Shadi, Kamal <[email protected]> wrote: > Hi All, > > > I used the following script to get separate mid-thickness ROI surfaces > from MMP1.0 parcellation (In order to use in probtrackx2): > > > > mmp=Q1-Q6_RelatedParcellation210.L.CorticalAreas_dil_Colors.32k_ > fs_LR.dlabel.nii > > surf=Q1-Q6_RelatedParcellation210.L.midthickness_MSMAll_2_d41_WRN_ > DeDrift.32k_fs_LR.surf.gii > > *wb_command* *-cifti-separate* $mmp COLUMN -label CORTEX_LEFT > rois.label.gii > > *wb_command -gifti-all-labels-to-rois* rois.label.gii 1 rois.func.gii > > *wb_command -metric-merge* roi<i>.func.gii -metric rois.func.gii -column > <i> > > *surf2surf* -i $surf -o roi<i>.surf.gii --values=roi<i>.func.gii > > > > The script seems to run with no warnings or so. Now if I want to view the > surface ROI using wb_view: > > wb_view roi<i>.surf.gii > > I get “has missing or invalid structure” error. > > Moreover, I cannot load the roi<i>.surf.gii file using GIFTI package in > MATLAB. > > Is there something wrong with the above procedure? > > > Thanks, > > Kamal Shadi > > _______________________________________________ > HCP-Users mailing list > [email protected] > http://lists.humanconnectome.org/mailman/listinfo/hcp-users > _______________________________________________ HCP-Users mailing list [email protected] http://lists.humanconnectome.org/mailman/listinfo/hcp-users
