Divide line in binary image

1 view (last 30 days)
Jan Kubicek
Jan Kubicek on 10 Jun 2019
Answered: Image Analyst on 11 Jun 2019
I would like to kindly ask you for the help with splitting line in the Binary line. I have the binary image with one line.
9XFvr.png
I need to split (within its direction) the line into isolated disconnected lines, where individual lines should not be wider than 3 pixels. I will really appreciate any help.

Answers (1)

Image Analyst
Image Analyst on 11 Jun 2019
Try bwerode() and other morphological functions. Sorry, but I don't have a complete turnkey demo to give you.

Community Treasure Hunt

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

Start Hunting!