Gaussian filtering in spatial domain

6 views (last 30 days)
Suresh Alluri
Suresh Alluri on 18 Oct 2020
Commented: Raavi Soni on 20 Oct 2020
how to create a spatial domain gaussian filter of size 7x7 and the standard deviation of the gaussian profile is equal to 1. Normalizing the sum of all coefficients to 1

Answers (1)

Image Analyst
Image Analyst on 18 Oct 2020
Did you know about imgaussfilt()?
  2 Comments
Suresh Alluri
Suresh Alluri on 18 Oct 2020
Edited: Suresh Alluri on 18 Oct 2020
yes but here the tricky part is not to use the inbuilt functions like imgaussfilt() or fspecial(), just to add on how to specify the grid size and domain : spatial for a filter??
Image Analyst
Image Analyst on 19 Oct 2020
Huh? Why? Why on earth would you not want to use a built-in function that makes your life easier??? Why put that restriction on yourself?
If you want to do it the hard way, go ahead -- I'm sure it's not hard or beyond your capabilities.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!