How to remove thin lines in binary image
Show older comments
How to remove thin horizontal or verticle lines - image attached
line thinkness < 3 -- remove
lines thinkness > 5-- stay
small objects -- remove
Answers (2)
Image=imopen(Image,ones(3));
Image Analyst
on 30 Oct 2023
outputImage = imopen(binaryImage, ones(3, 3));
Categories
Find more on Image Preview and Device Configuration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!