필터 지우기
필터 지우기

How to distinguish between endpoint to node point in skeleton image

조회 수: 6 (최근 30일)
daniel
daniel 2013년 7월 23일
답변: dhruv khatri 2019년 5월 20일
Hello everybody,
i am working on skeleton image and i need to identify the endpoint and nodes on the skeleton. using the function bwmorph(im,'branchpoints'), where "im" is my original skeleton image i was able to identify and mark both the end points and the nodes. this is how it look after i marks the nodes with red cycle and the end points with green cycle:
http://postimg.org/image/qx6ok2plt/
now my problem as you can see on the imagelink, is that there some critical points that identity as node and as end point. i wander how can i determine if this point is actually end point or node by automattic algorithm or function. for example at the image link above i want to determine the point as a node (red cycle) because its obvious a node, and because the pixel formation the bwmorph function recognize also end point near it.
another exmaple:
here you can see two points: node (red cycle) and end point (green cycle). it's obvious that in this specific "area" only the end point is relevant and the the node isn't relevant.
This the overall picture looks like:
any suggestions to do this right?
thanks, daniel

답변 (1개)

dhruv khatri
dhruv khatri 2019년 5월 20일
Hey Daniel, Can you please update the images in your question, as I am not able to see either the link or the posted pictures. I
If you want to find Branch points (nodes) using some code please read through the following functions: bwlookup, makelut

Community Treasure Hunt

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

Start Hunting!

Translated by