Filters to obtain blurred image

20 views (last 30 days)
S.A
S.A on 21 Mar 2018
Commented: Guillaume on 21 Mar 2018
Hello, Please can u suggest some filtering techniques to obtain the blurred image in image processing other than Gaussian smoothening filter.

Answers (1)

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

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!