cleanSkel

版本 9.4.1 (1.4 KB) 作者: Geoffrey Schivre
Remove branches in skeleton.
161.0 次下载
更新时间 2019/2/7

查看许可证

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])

引用格式

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

MATLAB 版本兼容性
创建方式 R2018a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
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