How to segment dashed and dotted lines

Hi everybody!
I'm trying to extract dashed lines on an image which has a dotted lines also, after some reseaches I found out Hough Transform for lines detected but I have tried to aplply on my image but it did go well as expected, some advance to how i can deal with this problem?
Thanks!

5 个评论

They're already extracted. The image contains nothing but dashed lines (if you look over a long enough distance). Do you want each line individually instead of aggregated in an image?
DGM
DGM 2022-1-30
编辑:DGM 2022-1-30
They would still need to be sorted from the noise and text objects.
How the arrowheads get handled is a decision that'll have to be made.
@Image Analyst I would like to have a mask of dashed line and another of dotted lines, after this i would like to extract each linefrom the two mask. If you zoom on the image you'll observe that there is two types line.
Thank you your reply!
@DGM Thanks for the advance, I'll remove the text from the image.
Let's see your Hough code, and attach the image here with the paperclip icon.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

产品

版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by