Try this instead:

mri_surf2surf --srcsubject $SUBJECT --sval-xyz $SUBJECTS_DIR/$SUBJECT/surf/lh.smseghead --trgsubject ico
--tval $SUBJECTS_DIR/$SUBJECT/surf/$SUBJECT'_outer_skull' --tval-xyz
--hemi lh


It is admittedly a little obtuse. mri_surf2surf was originally programmed to accept surface overlay and not surfaces themselves. --sval-xyz indicates that the input is a surface. --tval-xyz indicates that the output should be saved as a surface instead of an overlay.

doug


Daniel Wakeman wrote:

Hi,

I have a question (I believe about mri_surf2surf).  First, I'll describe
my goal:

I want to take a surface created with mri_tessellate and modified with
mris_smooth and convert it to an isomorphic equally subdivided icosahedron
(like mri_watershed creates).

e.g. take the lh.smseghead created by mkheadsurf and resample it:

mri_surf2surf --srcsubject $SUBJECT --srcsurfval
$SUBJECTS_DIR/$SUBJECT/surf/lh.smseghead --src_type surf --trgsubject ico
--trgsurfval $SUBJECTS_DIR/$SUBJECT/surf/$SUBJECT'_outer_skull' --hemi lh

I get the following error:

ERROR: could not determine type of
/imaging/dw01/simulation/subjects/subject_02/surf/lh.smseghead

If this is possible, I want to know how I can correct my command.

Cheers,
Dan


--
Douglas N. Greve, Ph.D.
MGH-NMR Center
[EMAIL PROTECTED]
Phone Number: 617-724-2358 Fax: 617-726-7422

In order to help us help you, please follow the steps in:
surfer.nmr.mgh.harvard.edu/fswiki/BugReporting


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to