A new family of Gaussian filters with adaptive lobe location and smoothing strength for efficient image restoration
© Seddik; licensee Springer. 2014
Received: 2 October 2013
Accepted: 18 February 2014
Published: 1 March 2014
Noise can occur during image capture, transmission, or processing phases. Image de-noising is a very important step in image processing, and many approaches are developed in order to achieve this goal such as the Gaussian filter which is efficient in noise removal. Its smoothing efficiency depends on the value of its standard deviation. The mask representing the filter presents generally static weights with invariant lobe. In this paper, an adaptive de-noising approach is proposed. The proposed approach uses a Gaussian kernel with variable width and direction called adaptive Gaussian kernel (AGK). In each processed window of the image, the smoothing strength changes according to the image content, noise kind, and intensity. In addition, the location of its lobe changes in eight different directions over the processed window. This directional variability avoids averaging details by the highest mask weights in order to preserve the edges and the borders. The recovered data is de-noised efficiently without introducing blur or losing details. A comparative study with the static Gaussian filter and other recent techniques is presented to prove the efficiency of the proposed approach.
The image de-noising remains an important goal in image or video pre-processing as a preliminary task for data transmitting, pattern recognition, etc. In the case of high distortions, efficient noise-removing techniques may introduce artifacts or blur the image. Image de-noising techniques using the Gaussian filter has been widely used in many fields for its ability to efficiently restore degraded data. In , the authors combined the following three techniques: wavelet transform, curvelet transform, and the Gaussian filter to recover the distorted image. The authors in  exploited the relationship between linear diffusion and Gaussian scale space to estimate optimal variances and window size of the Gaussian. An efficient technique based on the Gaussian filter with dynamic structure that targets noise is introduced in [3, 4]. Selecting the optimal value of the standard deviation in a Gaussian filter depending on few properties of the signal knowledge is proposed in . In , an adaptive Gaussian filtering algorithm, in which the filter variance is adapted to both noise characteristics and the local variance of the signal, is studied.
The basic premise of the Gaussian technique is that different parts of an image have varying degrees of noisiness and types of edges. Therefore, each part of the image needs to be smoothed differently. For this reason, we propose to create an adaptive filter having a Gaussian core with a variable structure for each processed window. The location of the Gaussian lobe and its smoothing strength are optimized iteratively according to the noise intensity and image characteristics. These features are optimized to efficiently clean noise and preserve the image content. The paper is arranged as follows: a brief description of the Gaussian kernel in Section 2, the conception of the proposed filter in The proposed adaptive Gaussian filter and Experimental results, comparative study in Comparative study, and a summary and conclusion in Conclusions.
2. Recall of the conventional Gaussian filter properties
The main properties of the Gaussian filter are described as follows:
Gaussian smoothing is very effective for removing Gaussian noise.
The weights give higher signification to pixels near the edge (reduce edge blurring).
It is a static and linear low-pass filter.
Separability into two one-dimensional (1D) filters.
Rotationally symmetric (performs the same in all directions).
The degree of smoothing is controlled by the standard deviation σ (larger σ for more intensive smoothing).Figure 2 shows the result of applying Gaussian filters with different values of σ on the Lena image. It is clear that when we increase the width parameter (σ), the borders and the details are removed.
In order to overcome this problem, we study a smart Gaussian filter with dynamic structure. In this new filter, the variation of the standard deviation is done according to the nature and characteristic of the image areas and zones. This variation is supervised by a neural network, whereas changing the couple of means (μ1 and μ2) will vary the position of the filter lobe in order to preserve edges and borders.
3. The proposed adaptive Gaussian filter
3.1. Estimation of the adaptive smoothing strength
The optimal value of the standard deviation is manually adjusted around the computed value in the range of [-2Δσ, 2Δσ]. In fact, σopt is located between the transitory and stable zone of the PSNR σ function that are separated by the computed tangent. To validate our selection, we compute the normalized cross-correlation between the filtered and original image called C. A segment noted D 1 is drawn as a tangent on this curve with parallel direction to D. The index representing the value of the standard deviation found confirms the computed σopt. The range of σopt is constrained by a minimum threshold imposed to the PSNR called PSNRmin that must be maintained over 32 dB.The selected distorted patterns of the image are introduced to a multilayer perceptron (MLP) neural network which is composed of three layers ‘input, hidden layer, and output layer’. In the test phase, the neural network generates different values of standard deviations for all the introduced distorted windows. The network generates the appropriate outputs according to the noise density and kind (Figure 5).
3.2. The adaptive kernel location
The (μ1, μ2) represent the positions of the Gaussian core (location of the peak). In this work, we apply the Gaussian filter only on noise to avoid blurring details and borders. The steps of the kernel location variability are presented as follows:
First step: Edge detection using the canny high-boost filter operator presented by the following equation:
Second step: Filter the noisy image based on a decision computed from 8 to 25 neighborhoods’ comparison:
If I(x, y) ‘the processed pixel’ belongs to an edge, compute the difference between this pixel and its eight neighbors called P(x, y) (Figure 6 and Equation 6); in this case, the values of the mean (μ1 and μ2) are determined according to the maximum variation (gradient).
Elsewhere, we process the selected window using a filter with support size equal to (6 × σopt + 1) × (6 × σopt + 1) and the appropriate smoothing strength.(5)
For 1 to 8 (number of neighbors for each processed pixel in a window of size ‘3 × 3’, the maximum variation max[P(x,y)] is computed to determine automatically the values of the means (μ1 and μ2) and define the location of the Gaussian lobe.
Sharp changes in an image can be associated to edges, or noise and such changes correspond to higher gradients. To consider that a pixel I(x, y) belongs to an edge and not as noise, we must satisfy two conditions:
High gradient variation between this pixel and its 8 or 25 neighbors for (3 × 3) or (5 × 5) window sizeConnection continuity between different pixels considered as edges as presented in Figure 7
is always orthogonal to the tangent of the image edge.
: The lobe displacement follows the maximum gradient of the image windows where the central pixel of this window belongs to the detected edge.
where the couple (N, M) represents the image size.
4. Experimental results
MSE is the mean square error, d is the maximal coded image intensity, n and m are the image sizes, and f and r are the original and the filtered image.
4.1. Filtering salt and pepper noise
Comparison between the AGK and the static Gaussian filter
AGK PSNR (dB)
Static PSNR (dB)
4.2. Speckle noise
The proposed AGK filter generates better de-noising results than the conventional filter. This efficiency was illustrated by different examples of filtered image. All the content and details were preserved and well perceptible after the filtering process.
5. Comparative study
Comparison results between the proposed technique, the conventional filter, and the AGSS filtering process
Static Gaussian filter
Proposed technique (AGK)
∆ P 1
∆ P 2
In this paper, a new low-pass filter with Gaussian core is presented. An adaptive Gaussian kernel based on dynamic core with variable structure is shaped. This new kernel conserves all the mathematical characteristics of the static Gaussian filter. The smoothing strength and the support size are supervised in each processed window of the image by a neural network to achieve the best filtering results. At the same time, the Gaussian lobe moves continuously in eight directions with the appropriate magnitude to avoid averaging of higher filter weights to preserve borders and edges. A comparative study is conducted to prove the efficiency of the proposed approach. Different image tests are shown with zoomed zones to validate the efficiency of this filter.
- Kota SN, Umamaheswara Reddy G: Fusion based Gaussian noise removal in the images using curvelets and wavelets with Gaussian filter. Int. J. Image Process (IJIP) 2011, 5(4):456-468.Google Scholar
- Amer A, Rifkah E: Automated Gaussian filtering via Gaussian scaled and linear diffusion. In 20th European Signal Processing Conference (EUSIPCO). IEEE, Piscataway; 2012:1539-1542.Google Scholar
- Seddik H: Efficient noise removing based optimized smart dynamic Gaussian filter. Int. J. Comput. Appl. 2012, 51: 5.Google Scholar
- Sondes T, Hassene S, Zouhair M, Ezzedine BB: RGB Image De-Noising using New Low-Pas Filter with Variable Gaussian Core Real Time Optimized by Neural Networks. In 2013 International Conference on Electrical Engineering of Software Applications, ICEESA 2013. Hammamet; 2013.Google Scholar
- Kopparapu SK, Satish M: Identifying optimal Gaussian filter for Gaussian noise removal. Third IEEE Conference on Computer Vision, Pattern Recognition, Image Processing and Graphics 2011, 126-129.Google Scholar
- Deng G, Cahill LW: An adaptive Gaussian filter for noise reduction and edge detection. IEEE Conf. Rec. 1993, 3: 1615-1619.Google Scholar
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly credited.