Keep large areas and remove small areas
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
Please I need your help. How can I remove the noise and keep the corner regions in this binary image.
I will highly appreciate any help which I will get.
Thank you. Best regards, Nada
0 个评论
回答(1 个)
Image Analyst
2014-11-27
Invert your image and use bwareaopen() to specify the min size you want to keep
binaryImage = bwareaopen(~binaryImage, 500); % Adjust number as needed.
3 个评论
Image Analyst
2014-11-28
_
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/180094/image.png)
_
Hello Image Analyst,
Thank you very much fro your reply and your help.
Please find attached a copy of results. What should I do?
Please, help me. Thank you. Best regards, Nada
Image Analyst
2014-11-28
Please attach your original image and attach your m-file with the paper clip icon.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!