Geodesic distances and geodesic diameters within 2D/3D images
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 (2026). 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
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Mapping Toolbox > Geometric Geodesy >
- Radar > Mapping Toolbox > Geometric Geodesy >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
