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
adrian satmari 2020 年 2 月 12 日
Hi @Tran Quoc Huy
I got some problem, did you find some solution for this?
Thank you!
darova
darova 2020 年 2 月 12 日
編集済み: darova 2020 年 2 月 12 日
Look here
Try attached file
gif_animation1.gif

サインインしてコメントする。

回答 (1 件)

Brenda Silva
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).

質問済み:

2017 年 1 月 13 日

編集済み:

2020 年 2 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by