bwdistgeodesic
Geodesic distance transform of binary image
Syntax
Description
calculates the geodesic distance transform D = bwdistgeodesic(BW,seedMask)D of the binary
image BW. The binary image seedMask
specifies the seed pixels.
The geodesic distance transform measures the length of the shortest path between
each true pixel in BW and the nearest seed
pixel. The transform constrains the path to stay within valid
(true-valued) regions in BW.
Examples
Input Arguments
Output Arguments
References
[1] Soille, Pierre. Morphological Image Analysis: Principles and Applications. 2nd ed. 219–21. Heidelberg: Springer Berlin, 2004.
Version History
Introduced in R2011b