How to remove spurious edge in skeleton line

3 views (last 30 days)
Above image is the skeleton image but come with spurious edge (red circle).
Now, i have difficulty in removing that spurious edge
And its better to have the smooth line like image below (V-shape)
Does anyone have any tips of how to go about this problem?
Thanks in advance
KSSV on 16 Jun 2021
You can remove those lines by using y-coordinate values right?

Sign in to comment.

Answers (1)

Abhishek Kolla
Abhishek Kolla on 16 Aug 2021
Start from the endpoint and start removing pixels whose which are closer than nearest branchpoint . The following link can be referred Remove the spurious edge of skeleton - MATLAB Answers - MATLAB Central (

Community Treasure Hunt

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

Start Hunting!