필터 지우기
필터 지우기

Findng paths between nodes in binary image

조회 수: 2 (최근 30일)
Luis Rosety
Luis Rosety 2022년 5월 26일
댓글: Luis Rosety 2022년 6월 5일
I am trying to find the paths connecting nodes in a binary image as well as node coordinates.
In this context, I call node to pixel connecting 3 or more paths.
I have tried to find functions or easy procedures to get this output.
This procedure is of course depending on the connectivity.
This image with 4-connectivity has been processed by searching for all pixels having 3 or more neighbors (nodes) and then following "step-by-step" each "exit" path.
But the process is a bit combersome.
Is there a Matlab easiest way to do it?
Thanks
  댓글 수: 2
Lateef Adewale Kareem
Lateef Adewale Kareem 2022년 6월 5일
if you know the points coordinates, use delaunay triangulation
Luis Rosety
Luis Rosety 2022년 6월 5일
Thanks for your reply but what I need is the branch or path connecting the nodes as seen in the image
They are not straight lines as you can see.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Delaunay Triangulation에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by