Divide line in binary image

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.

回答(1 个)

Image Analyst
Image Analyst 2019-6-11

0 个投票

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

类别

帮助中心File Exchange 中查找有关 Image Processing Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by