## Note: This page was created with the CommandTemplate
##
## If you're modifying this page please take a look at the
## latest version of CommandTemplate to ensure that you're
## using the latest version of the CommandTemplate
##
## See HelpOnCommandTemplate for description of formatting


'''Index'''
<<TableOfContents>>


= 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 =