Keep large areas and remove small areas

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

回答 (1 件)

Image Analyst
Image Analyst 2014 年 11 月 27 日

0 投票

Invert your image and use bwareaopen() to specify the min size you want to keep
binaryImage = bwareaopen(~binaryImage, 500); % Adjust number as needed.

3 件のコメント

Nada Kadhim
Nada Kadhim 2014 年 11 月 28 日
Thank you very much Image Analyst, I did it and the problem is solved.
Image Analyst
Image Analyst 2014 年 11 月 28 日
_
_
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
Image Analyst 2014 年 11 月 28 日
Please attach your original image and attach your m-file with the paper clip icon.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

タグ

タグが未入力です。

質問済み:

2014 年 11 月 27 日

コメント済み:

2014 年 11 月 28 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by