Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Effect of variance (sigma) at gaussian smoothing

I know about Gaussian, varaince, image blurring and i think that i understood the concept of variance at Gaussian blur but still i am not 100% sure.

I just want to know the role of sigma or variance at Gaussian smoothing. I mean, what happens by increasing the value of sigma for the same window size..and why it happens?

It would be really helpful if somebody provide some nice literature about it. (I already tried few but couldn't find what i am looking for)

Major confusion:

Higher frequency-> details (e.g. noise),

Lower Frequency-> kind of overview of the image.

By increasing sigma, we are allowing some higher frequencies....so we should get more detailed with increasing frequency but the case is opposite, when we increase sigma, the image becomes more blurry.

like image 200
skm Avatar asked Apr 11 '14 08:04

skm


1 Answers

I think it should be done in the following steps, first from the signal processing point of view:

  1. Gaussian Filter is a low pass filter. Low pass filters as their names imply pass low frequencies - keeping low frequencies. So when we look at the image in the frequency domain the highest frequencies happen in the edges(places that there is a high change in intensity and each intensity value corresponds to a specific visible frequency).
  2. The role of sigma in the Gaussian filter is to control the variation around its mean value. So as the Sigma becomes larger the more variance allowed around mean and as the Sigma becomes smaller the less variance allowed around mean.
  3. Filtering in the spatial domain is done through convolution. it simply means that we apply a kernel on every pixel in the image. The law exists for kernels. Their sum has to be zero.

Now putting all together! When we apply a Gaussian filter to an image, we are doing a low pass filtering. But as you know this happen in the discrete domain(image pixels). So we have to quantize our Gaussian filter in order to make a Gaussian kernel. In the quantization step, as the Gaussian filter(GF) has a small sigma it has the steepest pick. So the more weights will be focused in the center and the less around it.

In the sense of natural image statistics! The scientists in this field of studies showed that our vision system is a kind of Gaussian filter in the responses to the images. see for example take a look at a broad scene! don't pay attention to a specific point! so you see a broad scene with lots things in it. but the details are not clear! Now see a specific point in that seen. you see more details that previously you didn't. This is the Sigma appear here. when you increase the sigma you are looking to the broad scene without paying attention to the details exits. and when you decrease the value you will get more details.

I think Wikipedia can help more than me, Low Pass Filters, Guassian Blur

like image 158
Hadi Avatar answered Sep 22 '22 00:09

Hadi