I don't think surf2surf knows how to deal with patches. We always flatten the individual subject surfaces. You could make a label from the patch and map that across subjects with label2label, then use label2patch to turn it into a patch, then flatten it
cheers Bruce On Tue, 19 Sep 2017, Peled, Noam wrote: > Hey all > I'm trying to morph the fsaverage flat patch (?h.cortex.patch.flat) to the > freesurfer sample > subject, and getting the following error: > > mri_surf2surf --srcsubject fsaverage --srcsurfval lh.cortex.patch.flat > --trgsubject sample > --trgsurfval lh.cortex.patch.sample.flat --hemi lh > ERROR: could not determine type of lh.cortex.patch.sample.flat > > mris_convert also didn't work: > mri_surf2surf --srcsubject fsaverage --srcsurfval lh.cortex.patch.flat > --trgsubject sample > --trgsurfval lh.cortex.patch.sample.flat --hemi lh > ERROR: could not determine type of lh.cortex.patch.sample.flat > [thibault:surf] (nmr-stable53-env) mris_convert lh.cortex.patch.flat > lh.cortex.patch.flat.asc > mrisFindNeighbors: lh.cortex.patch.flat: face[0].v[0] = 0, but face 0 not in > vertex 0 face list > > I could read it using the python code in pyCortex: > https://github.com/gallantlab/pycortex/blob/00cc7dadd16149ac7f6fe38621c95c43c4b71cad/cortex/freesur > fer.py#L189 > > And after that save it as a freesurfer surface: > https://github.com/gallantlab/pycortex/blob/00cc7dadd16149ac7f6fe38621c95c43c4b71cad/cortex/freesur > fer.py#L167 > > But even after that mri_surf2surf couldn't determine the type. > > Any ideas? > Thanks, > Noam > > > > > _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.