Differences between revisions 1 and 10 (spanning 9 versions)
Revision 1 as of 2004-08-03 22:27:12
Size: 993
Editor: EvelinaBusa
Comment: command template, command summary
Revision 10 as of 2017-11-27 18:03:38
Size: 2656
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## 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>>
Line 2: Line 13:
mri_segment - segments the white matter (based on voxel value) to produce the wm volume
Line 3: Line 15:
 mri_segment - segments the white matter (based on voxel value) out of the brain volume to produce the wm volume = Description =
This program segments white matter from the input volume. The input volume should be normalized such that white matter voxels are ~110 valued, and the volume is conformed to 256^3. This can be accomplished by: mri_normalize <invol> <outvol> -conform
Line 6: Line 19:
 command argA argB -flag1 <arg1> -flag2 <arg2> -flag3 <arg3> mri_segment <classifierfile> <invol> <outvol>
Line 8: Line 21:
= Positional Arguments =
 argA
= Arguments =
== Positional Arguments ==
|| <classifierfile> || classifier file ||
|| <invol> || input volume ||
|| <outvol> || output volume ||
Line 11: Line 27:
 Description

 argB

 Description

= Required Flagged Arguments =
 -flag1 <arg1>

 Description

 - flag2 <arg2>

 Description

= Optional Flagged Arguments =

 -flag3 <arg3>

 Description.
== Optional Flagged Arguments ==
|| -slope <s> ||set the curvature slope (both n and p)||
|| -pslope <p> ||set the curvature pslope (default=1.0)||
|| -nslope <n> ||set the curvature nslope (default=1.0)||
|| -debug_voxel <x y z>|| set voxel for debugging||
|| -auto ||automatically detect class statistics (default)||
|| -noauto ||don't automatically detect class statistics||
|| -log || log to ./segment.dat||
|| -keep || keep wm edits. maintains all values of 0 and 255||
|| -ghi, -gray_hi <h> ||set the gray matter high limit (default=100.000)||
|| -wlo, -wm_low <l> ||set the white matter low limit (default=90.000)||
|| -whi, -wm_hi <h> ||set the white matter high limit (default=125.000)||
|| -nseg <n> || thicken the n largest thin strands (default=20)||
|| -thicken || toggle thickening step (default=ON)||
|| -fillbg || toggle filling of the basal ganglia (default=OFF)||
|| -fillv || toggle filling of the ventricles (default=OFF)||
|| -b <s> ||set blur sigma (default=0.25)||
|| -n <i> || set # iterations of border classification (default=1)||
|| -t <t> ||set limit to thin strands in mm (default=4)||
|| -v || verbose||
|| -p <p> || set % threshold (default=0.80)||
|| -x <filename> || extract options from filename||
|| -w <w> ||set wsize (default=11)||
|| -u || usage||
Line 33: Line 53:
 file1 || <outvol> || output volume ||
Line 35: Line 55:
 Description
Line 37: Line 56:
 file2 = Examples =
Line 39: Line 58:
 Description == Example 1 ==
??
Line 41: Line 61:
= Example 1 =
 command argA argB -flag1 foo -flag2 goo

 Description

= Example 2 =
 command argA argB -flag1 foo -flag2 goo -flag3 hoo

 Description
== Example 2 ==
??
Line 52: Line 65:
 ["command2"]

 ["command3"]

= Author =
 JaneSmith
[[recon-all]]
Line 60: Line 68:
 Command``Guide FreeSurfer
Line 62: Line 70:
= References =
## For example: ["Belliveau1991"]
 NameYear
Line 67: Line 72:
 Report bugs to <> Report bugs to <analysis-bugs@nmr.mgh.harvard.edu>
Line 69: Line 74:
= Category =
## For example: CategoryFreeSurferCommandVolumeConversion
 Category``Stream``Command
= Author/s =
BruceFischl

Index

Name

mri_segment - segments the white matter (based on voxel value) to produce the wm volume

Description

This program segments white matter from the input volume. The input volume should be normalized such that white matter voxels are ~110 valued, and the volume is conformed to 256^3. This can be accomplished by: mri_normalize <invol> <outvol> -conform

Synopsis

mri_segment <classifierfile> <invol> <outvol>

Arguments

Positional Arguments

<classifierfile>

classifier file

<invol>

input volume

<outvol>

output volume

Optional Flagged Arguments

-slope <s>

set the curvature slope (both n and p)

-pslope <p>

set the curvature pslope (default=1.0)

-nslope <n>

set the curvature nslope (default=1.0)

-debug_voxel <x y z>

set voxel for debugging

-auto

automatically detect class statistics (default)

-noauto

don't automatically detect class statistics

-log

log to ./segment.dat

-keep

keep wm edits. maintains all values of 0 and 255

-ghi, -gray_hi <h>

set the gray matter high limit (default=100.000)

-wlo, -wm_low <l>

set the white matter low limit (default=90.000)

-whi, -wm_hi <h>

set the white matter high limit (default=125.000)

-nseg <n>

thicken the n largest thin strands (default=20)

-thicken

toggle thickening step (default=ON)

-fillbg

toggle filling of the basal ganglia (default=OFF)

-fillv

toggle filling of the ventricles (default=OFF)

-b <s>

set blur sigma (default=0.25)

-n <i>

set # iterations of border classification (default=1)

-t <t>

set limit to thin strands in mm (default=4)

-v

verbose

-p <p>

set % threshold (default=0.80)

-x <filename>

extract options from filename

-w <w>

set wsize (default=11)

-u

usage

Outputs

<outvol>

output volume

Examples

Example 1

??

Example 2

??

See Also

recon-all

Links

FreeSurfer

Reporting Bugs

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

Author/s

BruceFischl

mri_segment (last edited 2021-04-20 16:13:19 by AndrewHoopes)