ImHausdorff
Noticing that all Hausdorff distance functions I could find on MATLAB File Exchange seem to compute all pairwise point-to-point distances making them very slow for large images, I felt compelled to write a version imhausdorff which uses a distance transform, bwdist, and thus scale linearly for large image data. The code should work for images of any dimension. Do try the examples in the help text.
Including point cloud version hausdorff as well. Functional for small data sets.
/ Joakim
Cite As
Joakim Lindblad (2024). ImHausdorff (https://github.com/joakimlindblad/ImHausdorff), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Region and Image Properties >
Tags
Acknowledgements
Inspired: segmentation-evaluator
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.1 | fig |
|
|
1.0.0 |
|