cleanSkel

Remove branches in skeleton.
160 Downloads
Aktualisiert 7. Feb 2019

Lizenz anzeigen

Simple function to remove spurious branches out of a skeleton. Also allow to precise which branches to keep by entering linear indices of their endpoints (use sub2ind function to find linear indices).
Example : cleanskel = cleanSkel(bwmorph(imread('circles.png'),'skel',Inf),[]);
imshow([imread('circles.png'),bwmorph(imread('circles.png'),'skel',Inf),cleanskel])

Zitieren als

Geoffrey Schivre (2024). cleanSkel (https://www.mathworks.com/matlabcentral/fileexchange/69278-cleanskel), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2018a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Matrices and Arrays finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
9.4.1

Correct protEnd input to always be a column vector
Add modification to allow the algorithm to be used on 3d skeleton

9.4.0