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 Comments

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 on 30 Jan 2022
Edited: DGM on 30 Jan 2022
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.

Sign in to comment.

Answers (0)

Products

Release

R2020b

Asked:

on 30 Jan 2022

Edited:

on 30 Jan 2022

Community Treasure Hunt

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

Start Hunting!