## How to get the intersecting coordinates of a binary image?

Elysi Cochin

### Elysi Cochin (view profile)

さんによって質問されました 2019 年 2 月 11 日

### Guillaume (view profile)

さんによって 編集されました 2019 年 2 月 12 日
Guillaume

### Guillaume (view profile)

さんの 回答が採用されました
is there any method to get the coordinate points of the intersecting positions from this binary image and plot it in a graph. How can i get the intersecting coordinate points? Even though not all coordinate points, atleast some of the junctions

Rik

### Rik (view profile)

2019 年 2 月 11 日
There is still a lot of cleanup to do and not all roads seem to be uninterupted. What have you tried to mitigate those two points?
Jan

### Jan (view profile)

2019 年 2 月 12 日
You forgot to mention, how "intersectiong positions" is exactly defined. All we see is a binary image and this term. The shown image has a very poor quality for an automatic recognition of elements. There is no way to distinguish a crossing from a bridge, the end of a street from a concealing by a comment (which got black on black during the binarisation). My advice: Either do this manually or give up. With such input, the output is more or less random.

サインイン to comment.

## 1 件の回答

2019 年 2 月 12 日

### Guillaume (view profile)

2019 年 2 月 12 日
採用された回答

You would use the 'branchpoints' operation of bwmorph to isolate the intersections, after you've skeletonised the image with the 'skel' operation. However, as others have said, the quality of your binarised image is poor, so you should first focus on a better binarisation.

#### 0 件のコメント

サインイン to comment.

Translated by