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.
How to find center-lind.
1 次查看(过去 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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!