How to remove branches from skeleton image?
显示 更早的评论
I have a root plant in image below.

I have to detect primary root. I got the skeleton of root like image below

How to remove all branches in skeleton image to get primary root?
Please help me!
Thanks!
2 个评论
adrian satmari
2020-2-12
Hi @Tran Quoc Huy
I got some problem, did you find some solution for this?
Thank you!
回答(1 个)
Brenda Silva
2018-10-29
0 个投票
The function bwmorph (see matlab documentation) might help you with this. Try to use im = bwmorph(im,'spur',Inf).
类别
在 帮助中心 和 File Exchange 中查找有关 Morphological Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
