How to find center-lind.
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello. I am trying to extract contour from paper map. and rough extraction is like below image.
next step is skeletonization. And I want to do that by searching center-line of result of rough extraction.
to say detail, I want to find center-line per certain width.
If width of line is less then 5 pixel, search 1 center-line. If Width of line is more then 5pixel, search 2 line(one located in 1/3 and another in 2/3 point from upper boundary).
My english is very bad. So please refer the image.
please help me. I need your help.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168835/image.png)
댓글 수: 1
Arun Mathamkode
2018년 1월 18일
How did you perform the rough extraction of the contours? I assume you might have used the color information to do it. Rather than going to the BW morphological operation, did you tried edge detection on the map? If you know what color the contour lines have you can use that information also to detect these lines.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 영상의 산술 연산에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!