Differences between revisions 13 and 21 (spanning 8 versions)
⇤ ← Revision 13 as of 2004-08-18 17:56:50 →
Size: 3108
Editor: YasunariTosa
Comment:
← Revision 21 as of 2010-12-29 23:39:03 → ⇥
Size: 3730
Editor: KhoaNguyen
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
##
Line 2: Line 8:
##
## Note: If you are modifying this page please refer to the
## CommandTemplate page and confirm that this page has the latest
## CommandTemplate formatting
<<Navigation(children)>> '''Index''' <<TableOfContents>>
Line 8: Line 11:
mri_watershed - strips skull and other outer non-brain voxels from an acquired volume (usually T1).
             
mri_watershed - strip skull and other outer non-brain tissue
Line 12: Line 14:
mri_watershed [<options>] <input volume> <brain volume> mri_watershed [<options>] invol outvol
Line 14: Line 16:
= Positional Arguments = = Arguments =
== Positional Arguments ==
||invol ||input volume ||
||outvol ||output volume ||
Line 16: Line 21:
= Required Flagged Arguments =
Line 18: Line 22:
= Optional Flagged Arguments =
|| -atlas ||
use the atlas information to correct the segmentation.  When the segmented brain is not correct, this option might help you. ||
|| -surf [surfname] || save the BEM surfaces.  In order to get the surfaces consistent with tkmedit, you have to use the option -useSRAS.  ||
||
-useSRAS || use the surface RAS coordinates (not the scanner RAS) for surfaces. ||
||
-noT1    || don't do T1 analysis. (Useful when running out of memory) ||
|| -less ||
shrink the surface ||
|| -more ||
expand the surface ||
||
-wat     || use only the watershed algorithm ||
||
-T1      || specify T1 input volume (T1 grey value = 110) ||
||
-wat+temp  || watershed algo and first template smoothing ||
|| -first_temp ||
use only the first template smoothing + local matching ||
||
-surf_debug || visualize the surfaces onto the output volume ||
||
-brainsurf surfname || save the brain surface ||
||
-shk_br_surf int_h surfname || to save the brain surface shrank inward of int_h mm ||
|| -s
int_i int_j int_k || add a seed point ||
|| -c
int_i int_j int_k || specify the center of the brain (in voxel unit) ||
|| -r int_r ||
specify the radius of the brain (in voxel unit) ||
|| -t int_threshold ||
change the threshold in the watershed analyze process ||
|| -h int_hpf ||
precize the preflooding height (in percent) ||
|| -n ||
not use the watershed analyze process ||
||
-LABEL               || labelize the output volume into scalp, skull, csf, gray and white ||
|| -man
int_csf int_trn int_gray || to change the different parameters csf_max, transition_intensity and GM_intensity  ||
||
-mask                || mask a volume with the brain mask ||
|| --help ||
show this usage message ||
||
--version            || show the current version ||
== Required Flagged Arguments ==
None

==
Optional Flagged Arguments ==
||-atlas ||
use the atlas information to correct the segmentation. ||When the segmented brain is not correct, this option might help you. ||
||-surf [surfname] ||save the BEM surfaces. ||In order to get the surfaces consistent with tkmedit, you have to use the option -useSRAS. ||
||
-useSRAS ||use the surface RAS coordinates (not the scanner RAS) for surfaces. || ||
||
-noT1 ||don't do T1 analysis. (Useful when running out of memory) || ||
||-less ||
shrink the surface || ||
||-more ||
expand the surface || ||
||
-wat ||use only the watershed algorithm || ||
||
-T1 ||specify T1 input volume (T1 grey value = 110) || ||
||
-wat+temp ||watershed algo and first template smoothing || ||
||-first_temp ||
use only the first template smoothing + local matching || ||
||
-surf_debug ||visualize the surfaces onto the output volume || ||
||
-brainsurf [surfname] ||save the brain surface || ||
||
-shk_br_surf [int_h surfname] ||to save the brain surface shrank inward of int_h mm || ||
||-s [
int_i int_j int_k] ||add a seed point || ||
||-c [
int_i int_j int_k] ||specify the center of the brain (in voxel unit) || ||
||-r int_r ||
specify the radius of the brain (in voxel unit) || ||
||-t int_threshold ||
change the threshold in the watershed analyze process || ||
||-h int_hpf ||
precize the preflooding height (in percent) || ||
||-n ||
not use the watershed analyze process || ||
||
-LABEL ||labelize the output volume into scalp, skull, csf, gray and white || ||
||-man [
int_csf int_trn int_gray] ||to change the different parameters csf_max, transition_intensity and GM_intensity || ||
||
-mask ||mask a volume with the brain mask || ||
||--help ||
show usage message || ||
||
--version ||show the current version || ||
Line 45: Line 53:
|| <brain volume> || skull stripped brain volume ||
|| [BEM surfaces] || when you specify the option -brainsurf surfname ||
||brainvol ||skull stripped brain volume ||
||BEMsurfaces ||when you specify the option -brainsurf surfname ||
Line 49: Line 58:
It will try to figure out whether the volume is T1 volume or not by checking the number of grey value 110.
Under the standard processing like recon-all script,
Produce the brain volume from T1 volume or the scanned volume.
Line 52: Line 60:
= Example 1 =
mri-watershed foo -i f -o out
= Examples =
=
= Example 1 ==
mri-watershed -atlas T1 brain
Line 55: Line 64:
description where T1 is the T1 volume and brain is the output brain volume. When the cerebellum is cut-off from the brain or getting the left/right asymmetric brain, you should first try this -atlas option.
Line 57: Line 66:
= Example 2 =
mri-watershed foo -i f -o out -f fvalue
== Example 2 ==
mri-watershed T1 brain
Line 60: Line 69:
description The same as the first example, but no correction is applied to the intermediate result.

= Bugs =
None
Line 63: Line 75:
["othercommand1"], ["othercommand2"] [[mri_normalize]]
Line 70: Line 82:
description
description
The "watershed" segmentation algorithm was used to dertermine the intensity values for white matter, grey matter, and CSF.
A force field was then used to fit a spherical surface to the brain. The shape of the surface fit was then evaluated against a previously derived template.

If you used -atlas option, then { The template was used to correct the surface. }

The finely grained sphere was fit to the brain.

(Segonne 2004)
Line 73: Line 91:
{{{
}}}
Line 75: Line 94:
["References/Lastname###"] [[References/Segonne2004]]
Line 78: Line 97:
Report bugs to <analysis-bugs@nmr.mgh.harvard.edu> Report bugs to < freesurfer@nmr.mgh.harvard.edu >
Line 81: Line 100:
JaneSmith YasunariTosa

Index

Name

mri_watershed - strip skull and other outer non-brain tissue

Synopsis

mri_watershed [<options>] invol outvol

Arguments

Positional Arguments

invol

input volume

outvol

output volume

Required Flagged Arguments

None

Optional Flagged Arguments

-atlas

use the atlas information to correct the segmentation.

When the segmented brain is not correct, this option might help you.

-surf [surfname]

save the BEM surfaces.

In order to get the surfaces consistent with tkmedit, you have to use the option -useSRAS.

-useSRAS

use the surface RAS coordinates (not the scanner RAS) for surfaces.

-noT1

don't do T1 analysis. (Useful when running out of memory)

-less

shrink the surface

-more

expand the surface

-wat

use only the watershed algorithm

-T1

specify T1 input volume (T1 grey value = 110)

-wat+temp

watershed algo and first template smoothing

-first_temp

use only the first template smoothing + local matching

-surf_debug

visualize the surfaces onto the output volume

-brainsurf [surfname]

save the brain surface

-shk_br_surf [int_h surfname]

to save the brain surface shrank inward of int_h mm

-s [int_i int_j int_k]

add a seed point

-c [int_i int_j int_k]

specify the center of the brain (in voxel unit)

-r int_r

specify the radius of the brain (in voxel unit)

-t int_threshold

change the threshold in the watershed analyze process

-h int_hpf

precize the preflooding height (in percent)

-n

not use the watershed analyze process

-LABEL

labelize the output volume into scalp, skull, csf, gray and white

-man [int_csf int_trn int_gray]

to change the different parameters csf_max, transition_intensity and GM_intensity

-mask

mask a volume with the brain mask

--help

show usage message

--version

show the current version

Outputs

brainvol

skull stripped brain volume

BEMsurfaces

when you specify the option -brainsurf surfname

Description

Produce the brain volume from T1 volume or the scanned volume.

Examples

Example 1

mri-watershed -atlas T1 brain

where T1 is the T1 volume and brain is the output brain volume. When the cerebellum is cut-off from the brain or getting the left/right asymmetric brain, you should first try this -atlas option.

Example 2

mri-watershed T1 brain

The same as the first example, but no correction is applied to the intermediate result.

Bugs

None

See Also

mri_normalize

Links

FreeSurfer, FsFast

Methods Description

The "watershed" segmentation algorithm was used to dertermine the intensity values for white matter, grey matter, and CSF.
A force field was then used to fit a spherical surface to the brain. The shape of the surface fit was then evaluated against a previously derived template.

If you used -atlas option, then { The template was used to correct the surface. }

The finely grained sphere was fit to the brain.

(Segonne 2004)

References

References/Segonne2004

Reporting Bugs

Report bugs to < freesurfer@nmr.mgh.harvard.edu >

Author/s

YasunariTosa

mri_watershed (last edited 2018-01-04 10:17:45 by MorganFogarty)