Separating overlapping lines in image

I have lots images with one line or multiple overlapping lines. I want to determine if an image has overlapping lines and then segment the overlapping lines.
Here is an example:
Input
Desired Segmentation (image segmented into 2 lines)
Any suggestions would be greatly appreciated. I'm not sure if this can be done with classical methods or if I would need a machine learning approach. Thanks.

Answers (0)

Asked:

on 13 Jul 2020

Edited:

on 13 Jul 2020

Community Treasure Hunt

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

Start Hunting!