Hello, I'm trying to get the vertices of the border/edge/boundary (whatever you want to call it) of a contiguous, closed ROI/label on the surface.
I've noticed an option "--label2path" in 'mri_path2label' (FS v4.0.2) that "will treat input as a label and output a path".
When I tried this, I got the following output:
----------------- $ mri_path2label --label2path rh.middletemporal.label test.path INFO: Converting rh.middletemporal.label INFO: to test.path INFO: Label to path
No encoded paths found in label file ------------------
So, my question is whether the "--label2path" option is supported, and if so, how is it intended to be used? (The output message implies that the path already has to be "encoded" somehow in the label file itself?)
thanks, Mike H.
Hi all, Can anyone comment on the --label2path option of 'mri_path2label' and how it is supposed to be used? (Or is that Doug's domain?)
thanks, Mike H.
---------------------
Hello, I'm trying to get the vertices of the border/edge/boundary (whatever you want to call it) of a contiguous, closed ROI/label on the surface.
I've noticed an option "--label2path" in 'mri_path2label' (FS v4.0.2) that "will treat input as a label and output a path".
When I tried this, I got the following output:
----------------- $ mri_path2label --label2path rh.middletemporal.label test.path INFO: Converting rh.middletemporal.label INFO: to test.path INFO: Label to path
No encoded paths found in label file ------------------
So, my question is whether the "--label2path" option is supported, and if so, how is it intended to be used? (The output message implies that the path already has to be "encoded" somehow in the label file itself?)
thanks, Mike H.
Mike,
I've had a look a mri_path2label, and I don't think it will output the boundary vertices of a label as you need.
I can't think of a utility to do this, but maybe Bruce or Doug know of a matlab script to do this? If they don't know of one, I may be able to modify one of the binaries to perform this.
Nick
On Wed, 2008-04-30 at 07:56 -0500, Michael Harms wrote:
Hi all, Can anyone comment on the --label2path option of 'mri_path2label' and how it is supposed to be used? (Or is that Doug's domain?)
thanks, Mike H.
Hello, I'm trying to get the vertices of the border/edge/boundary (whatever you want to call it) of a contiguous, closed ROI/label on the surface.
I've noticed an option "--label2path" in 'mri_path2label' (FS v4.0.2) that "will treat input as a label and output a path".
When I tried this, I got the following output:
$ mri_path2label --label2path rh.middletemporal.label test.path INFO: Converting rh.middletemporal.label INFO: to test.path INFO: Label to path
No encoded paths found in label file
So, my question is whether the "--label2path" option is supported, and if so, how is it intended to be used? (The output message implies that the path already has to be "encoded" somehow in the label file itself?)
thanks, Mike H.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu