Removing Excess White from Binary Image
6 次查看(过去 30 天)
显示 更早的评论
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![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/225515/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/225515/image.jpeg)
0 个评论
采纳的回答
Image Analyst
2019-6-29
Try thresholding then masking
mask = grayImage > 250; % or whatever intensity the spots are.
grayImage(mask) = 0; % blacken those pixels.
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!