Filters to obtain blurred image

12 次查看(过去 30 天)
S.A
S.A 2018-3-21
评论: Guillaume 2018-3-21
Hello, Please can u suggest some filtering techniques to obtain the blurred image in image processing other than Gaussian smoothening filter.

回答(1 个)

Guillaume
Guillaume 2018-3-21
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 个评论
S.A
S.A 2018-3-21
Sir, I'm getting a blank white background when i pass my input image to the above given function.
Guillaume
Guillaume 2018-3-21
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.

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by