extension joomla, template joomla,banner extension joomla,jomla slider,slider joomla
Gaussian Filter generation using C/C++

Gaussian filtering is extensively used in Image Processing to reduce the noise of an image. In this article I will generate the 2D Gaussian Kernel that follows the Gaussian Distribution which is given

Where ? is the standard deviation of distribution, x is the distance from the origin in the horizontal axis, y is the distance from the origin in the vertical axis. The mean is assumed to be at origin O(0,0). The pictorial view of Gaussian Distribution for ?= 0 and mean at origin is

Source Code in C/C++

Output 5×5 Gaussian Kernel


  1. http://en.wikipedia.org/wiki/Gaussian_filter
  2. http://homepages.inf.ed.ac.uk/rbf/HIPR2/gsmooth.htm

Related Article

destination source:https://www.programming-techniques.com/?p=56