Borrar filtros
Borrar filtros

Filters to obtain blurred image

12 visualizaciones (últimos 30 días)
S.A
S.A el 21 de Mzo. de 2018
Comentada: Guillaume el 21 de Mzo. de 2018
Hello, Please can u suggest some filtering techniques to obtain the blurred image in image processing other than Gaussian smoothening filter.

Respuestas (1)

Guillaume
Guillaume el 21 de Mzo. de 2018
Any convolution of your image with any arbitrary kernel will result in blurring, e.g.
blurredimage = convn(yourimage, ones(5)/25, 'same'); %convolution with kernel of 1s.
  2 comentarios
S.A
S.A el 21 de Mzo. de 2018
Sir, I'm getting a blank white background when i pass my input image to the above given function.
Guillaume
Guillaume el 21 de Mzo. de 2018
Most likely your image was uint8, convn always return an array of class double. You can convert it back to uint8, or change the display range when you use imshow.
Anyway, the point of my answer is that you can use any convolution kernel of your chosing to blur the image instead of using a gaussian kernel.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by