Removing Excess White from Binary Image
조회 수: 2 (최근 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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!