Removing Excess White from Binary Image
2 views (last 30 days)
Show older comments
Brian Peoples
on 19 Jun 2019
Answered: Image Analyst
on 29 Jun 2019
Hello--
So I have a binary image and I only want to remove white from specified areas, such as the corners. (These areas being the circles). How would I do this???
I attached the image.
Regards,
Brian P
0 Comments
Accepted Answer
Image Analyst
on 29 Jun 2019
Try thresholding then masking
mask = grayImage > 250; % or whatever intensity the spots are.
grayImage(mask) = 0; % blacken those pixels.
0 Comments
More Answers (1)
See Also
Categories
Find more on Image Data Workflows 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!