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

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