Skeletonization using voronoi
voronoiSkel uses only the pixel on the boundary of the objects, and therefore is very efficient for thick objects (efficiency scales with the object's radius, rather than its area). However, it might be sensitive to small defects, if they are on the boundaries (or small holes inside the object).
Also, the function analytically calculates the topology of the skeleton, and can give as an output the vertices and edges of the skeleton graph.
The function uses qhull (www.qhull.org, free download), and therefore qhull must be executable from the command line in the current directory. In order to enable that, you can either add qhull to your OS path, or keep a copy of it in the working directory.
Zitieren als
Yohai (2024). Skeletonization using voronoi (https://www.mathworks.com/matlabcentral/fileexchange/27543-skeletonization-using-voronoi), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Morphological Operations >
- MATLAB > Mathematics > Computational Geometry > Voronoi Diagram >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.6.0.0 | changed indices from int to double |
||
1.5.0.0 | qhull.org! |
||
1.3.0.0 | qhull.org! |
||
1.2.0.0 | Fixed file reading bug. |
||
1.1.0.0 | better input check. |
||
1.0.0.0 |