The label file has much less info than the surface file (eg, does not 
have neighborhood relations). mri_label2vol requires that a full surface 
file be provided. It might not be obvious because it usually finds the 
surface based on the subject name.

On 7/25/19 3:29 PM, Sam W. wrote:
>
>         External Email - Use Caution
>
> Thanks Bruce, that's helpful! I take it that it's not possible to 
> create a surface file simply using the information in the label file then?
> The reason I'm confused is that "mris_convert lh.white lh.white.asc" 
> will convert a surface file to asc. The contents of lh.white.asc look 
> similar to what a label file contains, so I thought you could easily 
> convert a label into a surface and vice versa.
> Also, if the label does not contain information about topology, how 
> are we able to convert a label to a volume with mri_label2vol?
> Thanks in advance!
> Sam
>
> On Wed, Jul 24, 2019 at 10:42 PM Bruce Fischl 
> <fis...@nmr.mgh.harvard.edu <mailto:fis...@nmr.mgh.harvard.edu>> wrote:
>
>     Hi Sam
>
>     they are not the same. A label is just a list of vertices in the
>     surface
>     (with some possibly voxel coordinates and also with a single
>     value/vertex).
>     It doesn't have to be ever vertex in the surface, and also
>     contains no
>     information about topology (e.g. which vertices are connected by
>     an edge)
>
>     cheers
>     Bruce
>
>
>     On Wed, 24 Jul 2019, Sam W. wrote:
>
>     >
>     >         External Email - Use Caution
>     >
>     > Thanks Bruce. Can I ask you a very basic question? What exactly
>     is the
>     > difference between a surface and a label file? I thought the
>     difference was
>     > that the label file is just a normal text file containing the
>     vertices that
>     > are used to construct a surface. If so, is there a tool that
>     allows me to
>     > create a surface from a label file? mri_label2surf would be my
>     first guess,
>     > but that doesn't seem to exist.
>     > Best regards,
>     > Sam
>     >
>     >
>     > On Wed, Jul 24, 2019 at 4:18 PM Bruce Fischl
>     <fis...@nmr.mgh.harvard.edu <mailto:fis...@nmr.mgh.harvard.edu>>
>     > wrote:
>     >       Hi Sam
>     >
>     >       the labels are already ascii
>     >
>     >       cheers
>     >       Bruce
>     >       On Tue, 23 Jul 2019, Sam W. wrote:
>     >
>     >       >
>     >       >         External Email - Use Caution
>     >       >
>     >       > Hi,
>     >       >
>     >       > Is it possible to convert a label file like rh.cuneus.label
>     >       into asc? I
>     >       > tried
>     >       > mris_convert --label rh.cuneus.label ctx-rh-cuneus rh.white
>     >       rh.cuneus.asc
>     >       >
>     >       > but got an error:
>     >       >
>     >       > ERROR: unknown file annot file type specified for output:
>     >       rh.cuneus.asc
>     >       >
>     >       > Thanks!
>     >       > Sam
>     >       >
>     >       >
>     >  >_______________________________________________
>     >       Freesurfer mailing list
>     > Freesurfer@nmr.mgh.harvard.edu
>     <mailto:Freesurfer@nmr.mgh.harvard.edu>
>     > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>     >
>     >
>     >_______________________________________________
>     Freesurfer mailing list
>     Freesurfer@nmr.mgh.harvard.edu <mailto:Freesurfer@nmr.mgh.harvard.edu>
>     https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


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

Reply via email to