imsegfmm
Binary image segmentation using fast marching method
Syntax
Description
[
returns the normalized geodesic distance map BW
,D
] =
imsegfmm(___)D
computed using
the fast marching method. BW
is a thresholded version of
D
, where all the pixels that have normalized geodesic
distance values less than thresh
are considered foreground
pixels and set to true
. D
can be thresholded
at different levels to obtain different segmentation results.
Examples
Input Arguments
Output Arguments
Tips
imsegfmm
uses double-precision floating point operations for internal computations for all classes except classsingle
. IfW
is of classsingle
,imsegfmm
uses single-precision floating point operations internally.imsegfmm
sets pixels with0
orNaN
weight values toInf
in the geodesic distance imageD
. These pixels are part of the background (logical false) in the segmented imageBW
.
References
[1] Sethian, J. A. Level Set Methods and Fast Marching Methods: Evolving Interfaces in Computational Geometry, Fluid Mechanics, Computer Vision, and Materials Science, Cambridge University Press, 2nd Edition, 1999.
Extended Capabilities
Version History
Introduced in R2014bSee Also
activecontour
| graydist
| graydiffweight
| gradientweight
| Image Segmenter