How can i remove the noises (white pixels) in the image?

3 ビュー (過去 30 日間)
Selina Loh
Selina Loh 2017 年 10 月 11 日
コメント済み: Selina Loh 2017 年 10 月 11 日
Can i know how can i remove the white pixels (noises) from the image?
I've tried using the medfilter but the result I obtained is just a pure plain picture.
Thank you.

採用された回答

Akira Agata
Akira Agata 2017 年 10 月 11 日
One typical and simple way to do this is to use imopen function. Here is an example.
% Reading your image
I = imread('123.JPG');
I = rgb2gray(I);
BW = imbinarize(I);
% Apply imopen function
se = strel('disk',3);
BW2 = imopen(BW, se);
% Show the result
imshowpair(BW,BW2,'montage')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Segmentation and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by