Differences between revisions 4 and 5
Deletions are marked like this. Additions are marked like this.
Line 34: Line 34:
== Example 1 ==
{{{
mri_extract_label aseg.mgz 17 new.mgz
}}}
This command will extract the label for the left hippocampus from aseg.mgz and output it to new.mgz.

Index

Name

mri_extract_label

Description

This program will extract a set of labeled voxels from an image.

Synopsis

mri_extract_label [options] <input volume> <label 1> <label 2> ... <output name>

Arguments

Optional Flagged Arguments

-s <sigma>

apply a Gaussian smoothing kernel

-t <xform file>

apply the transform in <xform file> to extracted volume

-exit_none_found

exit 1 if label(s) are not found

-dilate <n>

dilate output volume <n> times

-erode <n>

erode output volume <n> times

--help or -u

Prints out help information

Examples

Example 1

mri_extract_label aseg.mgz 17 new.mgz

This command will extract the label for the left hippocampus from aseg.mgz and output it to new.mgz.

See Also

mri_binarize

Links

FreeSurfer

Reporting Bugs

Report bugs to <analysis-bugs@nmr.mgh.harvard.edu>

Author/s

mri_extract_label (last edited 2017-11-29 12:46:09 by MorganFogarty)