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 comentarios

adrian satmari
adrian satmari el 12 de Feb. de 2020
Hi @Tran Quoc Huy
I got some problem, did you find some solution for this?
Thank you!
darova
darova el 12 de Feb. de 2020
Editada: darova el 12 de Feb. de 2020
Look here
Try attached file
gif_animation1.gif

Iniciar sesión para comentar.

Respuestas (1)

Brenda Silva
Brenda Silva el 29 de Oct. de 2018

0 votos

The function bwmorph (see matlab documentation) might help you with this. Try to use im = bwmorph(im,'spur',Inf).

Preguntada:

el 13 de En. de 2017

Editada:

el 12 de Feb. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by