How can i remove the noises (white pixels) in the image?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Selina Loh
el 11 de Oct. de 2017
Comentada: Selina Loh
el 11 de Oct. de 2017
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.
0 comentarios
Respuesta aceptada
Akira Agata
el 11 de Oct. de 2017
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')
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Processing and Computer Vision en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!