How to remove spurious edge in skeleton line

조회 수: 3 (최근 30일)
fatiha Nurul
fatiha Nurul 2021년 6월 16일
답변: Abhishek Kolla 2021년 8월 16일
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
  댓글 수: 2
KSSV
KSSV 2021년 6월 16일
You can remove those lines by using y-coordinate values right?
fatiha Nurul
fatiha Nurul 2021년 6월 16일
can you share me the code?

댓글을 달려면 로그인하십시오.

답변 (1개)

Abhishek Kolla
Abhishek Kolla 2021년 8월 16일
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 (mathworks.com)

Community Treasure Hunt

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

Start Hunting!

Translated by