Geodesic distances and geodesic diameters within 2D/3D images

Propagates geodesic distances in binary or label images, and computes geodesic diameter
1.8K Downloads
Updated 20 Dec 2017

View License

Contains several functions for propagating chamfer distances (approximation of euclidean distances) within binary images or label images.
Contains also some functions for computing geodesic distances between two points, or for computing geodesic parameters (geodesic diameter, geodesic radius...) of labelled particles.

For the visualisation of distance maps, I suggest my other contribution "double2rgb", also on FEx.

Sources available on GitHub: http://github.com/mattools/matImage (part of the MatImage library).

Cite As

David Legland (2024). Geodesic distances and geodesic diameters within 2D/3D images (https://www.mathworks.com/matlabcentral/fileexchange/36724-geodesic-distances-and-geodesic-diameters-within-2d-3d-images), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.3.0.0

improves computation speed of geodesic diameters for large number of labels

1.2.0.0

add support for 3D geodesic distance transform, and for 5-by-5 2D chamfer masks

1.0.0.0