Next Article in Journal
Optimal Placement of Virtual Masses for Structural Damage Identification
Next Article in Special Issue
GaN-Based Ultraviolet Passive Pixel Sensor on Silicon (111) Substrate
Previous Article in Journal
Indoor 3-D Localization Based on Received Signal Strength Difference and Factor Graph for Unknown Radio Transmitter
Previous Article in Special Issue
Segmentation-Based Color Channel Registration for Disparity Estimation of Dual Color-Filtered Aperture Camera
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Noise Estimation for Image Sensor Based on Local Entropy and Median Absolute Deviation

1
School of Microelectronics and Communication Engineering, Chongqing University, Chongqing 400044, China
2
Key Laboratory of Dependable Service Computing in Cyber Physical Society of Ministry of Education, Chongqing University, Chongqing 400044, China
3
Key Laboratory of Beam Control, Institute of Optics and Electronics, Chinese Academy of Sciences, Chengdu 610209, China
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(2), 339; https://doi.org/10.3390/s19020339
Submission received: 29 November 2018 / Revised: 20 December 2018 / Accepted: 28 December 2018 / Published: 16 January 2019
(This article belongs to the Special Issue Image Sensors)

Abstract

:
Noise estimation for image sensor is a key technique in many image pre-processing applications such as blind de-noising. The existing noise estimation methods for additive white Gaussian noise (AWGN) and Poisson-Gaussian noise (PGN) may underestimate or overestimate the noise level in the situation of a heavy textured scene image. To cope with this problem, a novel homogenous block-based noise estimation method is proposed to calculate these noises in this paper. Initially, the noisy image is transformed into the map of local gray statistic entropy (LGSE), and the weakly textured image blocks can be selected with several biggest LGSE values in a descending order. Then, the Haar wavelet-based local median absolute deviation (HLMAD) is presented to compute the local variance of these selected homogenous blocks. After that, the noise parameters can be estimated accurately by applying the maximum likelihood estimation (MLE) to analyze the local mean and variance of selected blocks. Extensive experiments on synthesized noised images are induced and the experimental results show that the proposed method could not only more accurately estimate the noise of various scene images with different noise levels than the compared state-of-the-art methods, but also promote the performance of the blind de-noising algorithm.

1. Introduction

Images captured by charge-coupled device (CCD) image sensors will bring about many types of noise, which are derived from CCD image sensor arrays, camera electronics and analog to digital conversion circuits. Noise is the most concerning problem in imaging systems for it directly degrades the image quality. Therefore, image de-noising is a critical procedure to ensure high quality images. Most of existing de-noising algorithms process the noisy images via assuming that the noise level parameters are given. However, this is not the correct operation in real noisy images, because the noise level parameters generally are unknown in the real world. Blind de-noising without requesting any prior knowledge is a high-profile study. How to accurately estimate the noise parameters is a challenging issue in blind de-noising field, hence, noise level estimation has attracted many studies and a number of noise estimation algorithms have been developed [1,2,3].
Actually, estimating the CCD noise level function (NLF) is to extract ground true noise from noisy image by finding the proximal noise probability density function (PDF). Comprehensive noise PDF estimation may not be easy, yet in statistical science, if we know the model of distribution of the noise PDF, the numerical characteristics such as mathematical expectation, variance and covariance can explain the noise PDF credibly. The most prevalent noise model for CCD image sensors is the zero-mean additive white Gaussian noise (AWGN) model, and the goal of estimating AWGN noise PDF is to estimate one parameter, the standard deviation. In this field, many representative algorithms have been proposed and can be divided into four categories: CCD response-based methods, filter-based methods, statistics-based methods and block-based methods. In the CCD response-based methods, the image noise is assessed by noise sources, which are introduced by CCD cameras. In [4], according to a pair of studies on the CCD Photon Transfer Curve (PTC) and camera noise characters, a complete equation of different noise sources of image sensor was established. Irie et al. [5,6] introduced a CCD camera noise model that includes more comprehensive noise sources for CCD image sensors, and developed a robust technique to measure and distinguish those noise sources in CCD camera images. These methods are trying to separate the image noise one by one via analyzing the types of CCD sensor noise sources on the premise of acquiring abundant knowledge about the types of CCD image sensor noises and the procedures of measurement, but it is difficult to meet these needs. To address this problem, the non-linear camera response function (CRF) that transforms real scene light into an image pixel value is proposed in [7]. Furthermore, the algorithm depicted in [8] utilizes the pre-measured real world CRF to transform the CCD camera noise from light space into image domain, and then estimates the NLF by exploiting the piecewise smooth image noise model. These CCD response-based noise estimation methods can be further enhanced to study the sources of image sensor noise and identify the types of image noise. Nevertheless, the CCD response-based methods need more time to compute and require familiarity with the camera responses.
In the filter-based methods, the structures of image are suppressed with a high-pass filter, and then the noise variance of the filtered noisy image can be computed. In the early filter-based methods, Immerkær [9] adopted a fast Laplacian-based filter to strengthen the noise and reduce the structures, and estimated the noise standard deviation via averaging the whole filtered image. In order to further improve the accuracy of Immerkær’s estimation, Yang et al. [10] appended adaptive Sobel edge detector to eliminate edges before Laplacian filtering operation. A step signal filter model is presented in [11]. This model is a nonlinear combination of polarized and directional derivatives, and is used to address edges detection and noise estimation. These filter-based methods have outstanding performance in reducing the time and computational complexity. However, these methods are more likely to overestimate the noise level for rich textured images or low noise levels.
The statistics-based methods are based on observation and measurement of statistical values between noisy images and natural noise-free images and obtain the decisive relationship between noise standard deviation and those statistical values. Zoran and Weiss [12] reported that natural images have scale-invariant statistics and kurtosis values are higher for the low frequency component, and linked the discrete cosine transformation (DCT) kurtosis values to the noise standard deviation. Following DCT kurtosis noise estimation work, Lyu et al. [13] further extended their research to estimate local noise variance, and Dong et al. [14] developed a new kurtosis model using a K-means based method to estimate noise level. Actually, the DCT-based statistics methods work well for low-level noise, yet may underestimate the noise variance at a high noise level. In [15,16], the robust median absolute deviation (MAD) noise estimator suggested by Donoho et al., is one of the most commonly used noise estimation algorithms for its efficiency and accuracy.
Being different from the conventional work to process the whole image, the block-based methods try to select homogenous blocks without a high frequency component. Pyatykh et al. [17] analyzed the basis of principal component analysis (PCA) of image blocks and found that smallest eigenvalue of image blocks can be used to estimate noise variance. Liu et al. [18] suggested that low-rank can be suitable for weak-textured blocks selection, and then the noise level can be estimated from these selected blocks using iterative PCA. Recently, References [19,20] developed sparse representation models of selected homogenous blocks to recover NLF. References [21,22] designed superpixel-based noise estimation approaches by collecting irregular shaped smooth blocks. For their simplicity and efficiency, the block-based noise estimation methods are drawing more and more attention recently. Whereas, there is a challenge for stripping homogenous blocks that can easily influence the performance of estimation.
Some previous studies have mentioned that entropy can be used for image segmentation and texture analysis [23,24,25]. Meanwhile, other studies also reported that entropy has a robust stability to noise [26,27]. However, there is little research on applying the entropy to estimate image sensor noise. Considering the good performances of entropy, the local gray statistical entropy (LGSE) is proposed in this paper to extract blocks with weak textures. By making the utmost out of the block-based method and robust MAD-based method, a novel noise estimator including the LGSE for blocks selection and Haar wavelet-based local median absolute deviation (HLMAD) for local variance calculation is designed.
In our work, we also engage in Poisson-Gaussian noise (PGN), which is the less studied but better modeled for the actual camera noise. The existing PGN sensor noise estimators can be classified as: Scatterplot fitting-based methods, least square fitting-based methods and maximum likelihood estimation-based methods. The scatterplot fitting-based methods are proposed to group a set of local means and variances of the selected blocks, and to fit those scatter points using linear regression [28,29,30]. The least square fitting-based methods [31,32,33] use a least square approach to estimate PGN parameters by sampling weak textured blocks and fitting a group of sampled data. In [34,35], the maximum likelihood estimation-based methods still extract smooth blocks first, and then exploit the maximum likelihood function to estimate PGN parameters. The three categories of PGN estimators are equally popular for estimating PGN parameters. Specifically in this paper, we choose maximum likelihood estimation (MLE) to process extracted local mean-variance data for PGN estimation.
There are four contributions in this paper: (1) We analyze the noise sources of an imaging camera, and choose the simple but effective noise models in the image domain to describe most of noise forms of imaging sensor. (2) In the view of conventional noise estimation methods, textures and edges of noisy images are eliminated first in those algorithms. Inspired by this principle, an effective method using LGSE to select homogenous blocks without high frequency details is proposed in this paper. As far as we know, this is a novel approach to utilize local gray entropy in noise estimation. (3) By comparing traditional noise estimation methods, we find local median absolute deviation has a robust performance to compute local standard deviation and MLE can overcome the weakness of scatterplot-based estimation. By combining above two methods and their advantages, a reliable noise estimation method is established. (4) Due to these measures, a robust image sensor noise level estimation scheme is presented, and it is superior to some of the state-of-the-art noise estimation algorithms.
The structure of this paper is organized as follows: The noise model of image sensor in image domain is discussed, and the AWGN model and PGN model are presented in Section 2. The LGSE and HLMAD based noise estimation algorithm is described, and the whole details of the novel and robust method are presented in Section 3. Experimental results and discussions on synthesized noisy datasets are shown in Section 4. Finally, Section 5 gives the conclusion of this paper.

2. Image Sensor Noise Model

Irie et al. [5,6] indicted that the CCD camera noise model includes comprehensive noise sources: Reset noise, thermal noise, amplifier noise, flicker noise, circuit readout noise and photon shot noise. Here, the reset noise, thermal noise, amplifier noise, flicker noise and circuit readout noise vary only in additive spatial domain and can be generally included in the readout noise. Hence, the total noise of a CCD camera can be defined as the combination of the readout noise (additive Gaussian process) and photon shot noise (multiplicative Poisson process) [5].
In the CCD noise analysis experiment, we used a 532 nm He-Ne laser to generate light beams, chose CCD97 (produced by e2v, England) in the standard mode (without using multiplicative gain register) to realize the photo-electric conversion, and selected the 16-bit data acquisition card (0-65535 DN) to collect the images. In this experiment, the diaphragm was used to adjust the intensity of the illumination, and the polaroid and optical lens were used to preserve the illumination uniformity on CCD97 light receiving surface. In order to ensure the stability of the scene and the uniformity of the CCD97 received light, a photomultiplier tube was selected as the wide-range micro-illuminometer to monitor the stable brightness at the CCD light receiving surface before the experiment. In addition, the average operation of 25 images in each group can overcome the output fluctuation of He-Ne laser and promote the accuracy of system testing.
To identify and calculate the total noise, readout noise and shot noise of image sensor according to the measurements of [5,6], 100 image groups in different illumination intensities were captured in optical darkroom, and each group had 25 consecutive images without illumination and 25 consecutive images with illumination. Due to the captured images under uniform illumination intensity, the total noise variance in each group is equal to the average value of variances of 25 consecutive images with a given illumination. The variance of the readout noise in each group can be computed by averaging the variances of 25 images captured in dark conditions. The shot noise variance in each group is the difference value between total noise variance and readout noise variance. By measuring the noise variances of these images, the photon transfer curve (PTC) and its logarithm were computed. The experimental platform and the computed PTC curve are shown in Figure 1. Figure 1a shows the experimental platform of CCD noise analysis. Figure 1b depicts that the total noise of image sensor contains signal independent readout noise (red dots) and signal dependent shot noise (green dots). It can be seen from Figure 1b that the noise curve is almost flat under low illumination levels implying that the noise (mostly readout noise) in dark regions of an image is signal independent, while as the illumination increases, the shot noise becomes more and more signal dependent.
According to the noise analysis of the CCD image sensor, two parametric models were used to model the image sensor noise: The generalized zero-mean additive white Gaussian noise (AWGN) model and the Poisson-Gaussian noise (PGN) model.

2.1. Additive White Gaussian Noise Model

In the various sources of CCD camera noise, the reset noise, thermal noise, amplifier noise and circuit readout noise can be seen as additive spatial and temporal noise. For all of these noise sources that obey the zero-mean whited additive Gaussian distribution, their joint noise distribution model can be simplified as:
f ( x , y ) = f S ( x , y ) + f N ( x , y ) ,
where ( x , y ) is the pixel location, and f ( x , y ) , f S ( x , y ) , f N ( x , y ) denote original noisy image, noise-free image and random noise image at ( x , y ) , respectively. Generally, the random noise image f N ( x , y ) is assumed to be a whited additive Gaussian distribution noise with zero mean and unknown variance σ n 2 :
f N ( x , y ) ~ N ( 0 , σ n 2 ) .
In the AWGN model, due to the images always having rich textures, the unknown variance σ n 2 estimation still is a head-scratching issue for blind de-noising. To solve this problem, a novel noise variance estimation method is proposed in this paper.

2.2. Poisson-Gaussian Noise Model

For the practical image sensor noise model, the signal-dependent shot noise cannot be ignored. As depicted in Figure 1b, with the increase of irradiation, the measured shot noise also increased significantly. As the shot noise follows the Poisson distribution, the actual CCD camera noise model can be treated as a mixed model of multiplicative Poisson noise and additive Gaussian white noise:
f ( x , y ) = f S ( x , y ) + η ( x , y ) ,
where η ( x , y ) is the mixed total noise image at ( x , y ) . In the Poisson-Gaussian mixed noise model, the mixed total noise image η ( x , y ) contains signal-dependent (Poisson distribution) noise and signal-independent (Gaussian distribution) noise, and is modeled as:
η ( x , y ) = ρ p S ( x , y ) + f N ( x , y ) ,
where p S ( x , y ) follows Poisson distribution, that is p S ( x , y ) ~ P ( f S ( x , y ) ) , and as mentioned above, the f N ( x , y ) ~ N ( 0 , σ n 2 ) at ( x , y ) . Hence, the noise level function becomes:
σ η 2 ( x , y ) = ρ f S ( x , y ) ¯ + σ n 2 ,
where σ η 2 ( x , y ) is the local total noise variance of mixed noise model, f S ( x , y ) ¯ is the expected intensity of noise-free image which is approximately equal to the local mean value f ( x , y ) ¯ of original noise image, ρ and σ n 2 represent the Poisson noise parameter and Gaussian noise variance, respectively. In the PGN model, our mission was mainly to estimate the two parameters ρ and σ n 2 . We can calculate the local mean f ( x , y ) ¯ of the selected image blocks, and estimate the local total variance σ η 2 ( x , y ) . Then, a set of local mean-variance was extracted to accurately estimate ρ and σ n 2 by MLE.

3. Proposed Noise Estimation Algorithm

3.1. Proposed Homogenous Blocks Selection Method

Primarily, a group of image blocks with size ( M + 1 ) × ( N + 1 ) from input noisy image of size R × C is generated by sliding the rectangular window pixel-by-pixel, and the group of blocks is expressed:
B = [ b 1 ,   b 2 ,   ,   b B N ]   R × C ,
where b i B N is the matrix of the i-th block, B N = ( R M ) × ( C N ) is the total number of blocks, and the local mean of nearly noise-free signal is computed via averaging all the noisy pixels in the block:
f ( x , y ) ¯ = 1 ( M + 1 ) ( N + 1 ) m = x M / 2 ; x + M / 2 n = y N / 2 y + N / 2 f ( m , n ) ,
where the local window is around ( x , y ) , and the window size is ( M + 1 ) × ( N + 1 ) . Then, the proposed homogenous blocks selection method is introduced as following.

3.1.1. Local Gray Statistic Entropy

In information theory, Shannon entropy [36] can effectively reflect the information contained in an event. The local gray statistic method is similar to Shannon entropy, but the new modified method focuses on how messy the gray texture values are. Firstly, given the original noisy image, the local map of normalized pixel grayscale value can be calculated as:
g ( i , j ) = f ( i , j ) + ξ m = x M / 2 ; x + M / 2 n = y N / 2 y + N / 2 [ f ( m , n ) + ξ ] ,
where i ( x M / 2 , x + M / 2 ) and j ( y N / 2 , y + N / 2 ) created the location ( i , j ) in local window around ( x , y ) . Meanwhile f ( i , j ) is the gray level of original noisy image, g ( i , j ) is the normalized pixel grayscale value, and ξ = 10 9 is a small constant used to avoid the denominator becoming zero. Then, the proposed LGSE is defined as follows:
H l e ( x , y ) = { i = x 1 ; x + 1 j = y 1 y + 1 g ( i , j ) log [ g ( i , j ) ] + i = x M / 2 ; x + M / 2 j = y N / 2 y + N / 2 g ( i , j ) log [ g ( i , j ) ] } ,
where H l e ( x , y ) is the local gray entropy of 3 × 3 center pixels and all of the ( M + 1 ) × ( N + 1 ) neighbor pixels around the location ( x , y ) . According to the theory of Shannon entropy, the LGSE reflects the degree of dispersion of local image grayscale texture. When the local image of gray distribution is uniform, the LGSE is relatively bigger, and when the local image of gray texture level distribution has a large dispersion, the LGSE is smaller. Due to the LGSE is the outcome of combined action of all pixels in the local window, the local entropy itself has a robust ability to resist noise. Six different noise-free textured blocks and their corresponding values of LGSE are given in Figure 2. As shown in Figure 2, the weakly textured blocks have relatively higher LGSE values. Note that here the weak texture is a generic term that includes not only smooth blocks, but also some slightly textured blocks. In Figure 3, the noisy image blocks are the blocks where the noise-free image blocks in Figure 2 are corrupted by AWGN at noise level σ n = 20 , and their corresponding LGSE values are given. By comparing the results of Figure 2 and Figure 3, it is found that weakly textured blocks still have higher LGSE values even in the case of strong noise, while for the blocks with strong textures, their LGSE values drop faster. It can be seen from Figure 2 and Figure 3 that weakly textured blocks have bigger LGSE values and the proposed LGSE has a robust anti-noise ability for weakly textured blocks selection.

3.1.2. Homogenous Blocks Selection Based on LGSE with Histogram Constraint Rule

Dong et al. [33] indicated that the image gray level histogram and block texture degree have a strong relationship. Inspired by this vision, to reduce or even overcome the disturbance of too many outliers, the gray level histogram-based constraint rule is introduced to firstly filter out the image blocks with disorderly rich textures.
In [19,28,30], the estimated noise level functions (NLFs) all have a comb shape in these scatterplots. These comb-shaped NLFs indicate that the pixel intensities approaching the highest or lowest pixel intensity may cause a disaster for noise estimation, because the brightest or darkest pixels may generate a number of outliers, ultimately reducing the precision of noise estimation. Therefore, we first exclude the blocks whose pixel mean value is too dark (0–15, the pixel intensity range is 0 to 255) or too bright (240–255) in the gray level histogram:
e i = { 0 , f i ¯ 240   o r   f i ¯ 15 1 , o t h e r w i s e ,
b i = e i b i ,
where f i ¯ is the mean gray value of the i-th block, e i is the exclusion rule of darkest or brightest blocks, and b i is the updated values of i-th block by darkest or brightest block removal operation. I r [ 16 , 239 ] is the residual gray level of B after dark or bright block removal operation. The probability of occurrence of I r can be computed by:
p ( I r ) = h i s t ( I r ) T P N ,
where h i s t ( I r ) denotes the frequency of I r in gray level histogram and T P N is the total pixel number of non-zero values of B . The blocks where gray values do not occur frequently may also have high LGSE values, which will generate some undesirable isolated values. Therefore, rather than dealing with all of gray levels, we only explore the gray levels with high occurrences. Accordingly, we try to eliminate the blocks with low frequency of occurrence below a certain threshold value. To solve this gap, the joint probability is firstly introduced as:
p [ ϕ ( f i ¯ ) < t h r , I r ] = ϕ ( f i ¯ ) < t h r , f i ¯ = I r T P N ,
where ϕ ( f i ¯ ) = h i s t ( f i ¯ ) / max [ h i s t ( I r ) ] is the frequency of f i ¯ versus maximum frequency of I r and t h r is the threshold to evaluate and remove the blocks with low occurrence frequency of mean gray value. In terms of Bayes rule, the conditional probability can be expressed as:
p [ ϕ ( f i ¯ ) < t h r | I r ] = p [ ϕ ( f i ¯ ) < t h r , I r ] p ( I r ) = ϕ ( f i ¯ ) < t h r , f i ¯ = I r h i s t ( I r )
By using the Equations (12–14), the blocks whose occurrence probability of their mean gray value f i ¯ is smaller than the conditional probability value will be eliminated.
These procedures of gray level histogram-based constraint rule can be simply considered that we arrange the gray levels of pixels in a descending order, select the blocks of mean gray value f i ¯ greater than thr, and renew block set B . To be specific, we set t h r = m e d i a n ( ϕ ( f i ¯ ) ) to remove disorderly blocks. Hence, the blocks where the mean gray values do not occur frequently represent disorderly rich textured blocks, and the LGSE values of those blocks can be set as zero values. In Figure 4, the whole procedure of histogram-based constraint rule for eliminating outliers is shown using the “Birds” image as example. Figure 4a shows the original “Birds” image and its corresponding gray level histogram is shown in Figure 4b,c is the result of the selected gray levels using histogram constraint rule to overcome outliers. In Figure 4d, the green dots have covered the residual pixel blocks after the operation of histogram constraint rule.
The histogram constraint rule is a simple pretreatment to remove undesirable outliers but cannot obtain the reliable weakly textured blocks. To further suppress the disturbance of the textures of residual blocks, the LGSE-based homogenous image blocks selection method is proposed:
p [ τ H l e ( x , y ) max H l e ] = δ ,
where τ is the selected minimum value of LGSE, max H l e is the maximum value of LGSE, and δ is the select ratio to control the weakly textured blocks selection. Based on the statistics and observation of noise estimation processing of 134 scene images, the select ratio is empirically set δ = 10 % of the total pixel number of whole images in our experiments. This setting means that we only selected 10% of the block set as homogenous blocks. An example for the homogenous blocks selection in “Birds” image is shown in Figure 5 and the 15 × 15 red boxes have outlined the finally selected homogenous blocks. The whole operations of homogenous blocks selection of “Barbara” and “House” are shown in Figure 6.

3.2. Haar Wavelet-Based Local Median Absolute Deviation for Local Variance Estimation

In this paper, a robust Haar wavelet-based local median absolute deviation (HLMAD) method is presented to estimate the standard deviation of noisy image block. The Haar wavelet, which is one of the simplest but most commonly used among wavelet transforms, can be exploited to detect noise for its good regularity and orthogonality. In the first scale of 2-D Haar wavelet analysis, the HH coefficients represent the high frequency component that is the noise component in selected homogenous blocks. The sub-band wavelet coefficients (HH) of first scale of 2-D Haar wavelet transform are calculated by:
{ H 1 x ( x , y ) = f ( x , y ) f ( x + 1 , y ) 2 H 2 x y ( x , y ) = H 1 x ( x , y ) H 1 x ( x , y + 1 ) 2 ,
where f ( x , y ) is the original noisy image, H 1 x ( x , y ) is the high frequency component of first step which uses 1-D Haar analysis in each row of the noisy image, and H 2 x y ( x , y ) is the high frequency coefficients of 2-D Haar wavelet analysis. Since the MAD is a more stable statistical deviation measure than sample variance, it works much better for more noise distributions. In addition, the MAD is more robust to outliers in datasets than sample standard deviation. By applying the robust MAD depicted in [15,16] to estimate the noise variance, the local block standard deviation σ ^ η ( x , y ) is derived as:
M A D [ H 2 x y ( i , j ) ] = m e d i a n ( | H 2 x y ( i , j ) | ) ,
σ ^ η ( x , y ) = M A D [ H 2 x y ( i , j ) ] k ,
where M A D [ H 2 x y ( i , j ) ] is the median value of absolute deviation of the high frequency coefficients of 2-D Haar wavelet H 2 x y ( i , j ) , the constant of proportionality factor k = Φ 1 ( 3 / 4 ) = 0.6745 , and σ ^ η ( x , y ) is the estimated standard deviation of the selected homogenous image block.

3.3. Maximum Likelihood Estimation for Multi-Parameter Estimation

According to the central limit theorem, the distribution of the sample approximately follows normal distribution when the number of sampling points is sufficient. Therefore, by fitting the NLF model σ η 2 ( x , y ) = ρ f S ( x , y ) ¯ + σ n 2 , the likelihood function of the dataset of selected homogenous blocks would be written as:
l ( ρ , σ n 2 ) = p ( D | ρ , σ n 2 ) = i = 1 T p ( d i | ρ , σ n 2 ) = i = 1 T 1 2 π σ η 2 ( f i ¯ ; ρ , σ n 2 ) exp [ σ ^ η i 2 2 σ η 2 ( f i ¯ ; ρ , σ n 2 ) ] ,
where T is the total number of selected blocks, dataset D is a set of local pixel mean value and local total variance pair ( f S ¯ , σ ^ η 2 ) , and d i = ( f i ¯ , σ ^ η i 2 ) , in here, f i ¯ and σ ^ η i 2 are the pixel mean value and the estimated noise variance of the i-th block. In addition, the ln-likelihood function is:
L ( ρ , σ n 2 ) = ln [ l ( ρ , σ n 2 ) ] = 1 2 i = 1 T { ln [ σ η 2 ( f i ¯ ; ρ , σ n 2 ) ] + σ ^ η i 2 σ η 2 ( f i ¯ ; ρ , σ n 2 ) + ln ( 2 π ) } .
According to the nature of maximum likelihood estimator, the two parameters ρ ^ and σ ^ n 2 could be estimated through maximizing the probability L ( ρ , σ n 2 ) of the selected samples:
( ρ ^ , σ ^ n 2 ) = arg max ( ρ , σ n 2 ) L ( ρ , σ n 2 ) .
Here, the gradient descent method is applied to solve the maximum likelihood function:
{ L ( ρ , σ n 2 ) ρ = 0 L ( ρ , σ n 2 ) σ n 2 = 0 .
And the two parameters ρ ^ and σ ^ n 2 of NLF can be estimated reliably.

3.4. Proposed Noise Parameter Estimation Algorithm

3.4.1. Proposed Noise Parameter Estimation Algorithm for the AWGN Model

In the most commonly used image sensor noise model that is AWGN model, the noise standard deviation is the only parameter that needs to be estimated. According to these above mentioned methods and theories, the accurate noise standard deviation estimation algorithm is established. Firstly, we divide the noisy image into a group of blocks by sliding window pixel-by-pixel, and compute the mean gray value of each block. The LGSE of each block is calculated, and the LGSE values of darkest and brightest blocks are excluded. Next, the LGSE values of residual blocks make a descending order, and the homogenous blocks can be extracted by selecting several largest LGSE values. Then, the local standard deviation of each selected block is computed by the HLMAD, and build up a cluster of local standard deviation. Finally, the noise standard deviation is precisely estimated by picking the median of the cluster:
σ ^ n = m e d i a n ( σ ^ η ) ,
where σ ^ η is the cluster of local standard deviation σ ^ η ( x , y ) , σ ^ n is the estimated noise standard deviation for AWGN model. The whole of the proposed noise parameter estimation algorithm for the CCD sensor AWGN model is summarized in Algorithm 1.
Algorithm 1. Proposed noise parameter estimation algorithm for the AWGN model
Input: Noisy image f , window size N , blocks selection ratios δ .
Output: Estimated noise standard deviation σ ^ n .
Step 1: Group a set of blocks by sliding window pixel-by-pixel:
B = [ b 1 ,   b 2 ,   ,   b B N ]   R × C .
Step 2: Compute the mean gray value f ( x , y ) ¯ of all pixels at each block.
Step 3: for block index k = 1:BN do
Compute the LGSE of blocks according to (8) and (9).
end for
Step 4: Exclude the LGSE of blackest and whitest blocks according to (10) and (11).
Step 5: Select homogenous blocks based on selection of residual LGSE using (15).
Step 6: for homogenous block index t = 1:T do
Obtain the local standard deviation of homogenous block by HLMAD according to (16–18).
end for
Step 7: Estimate the noise standard deviation σ ^ n via using median estimator derived from (23).

3.4.2. Proposed Noise Parameter Estimation Algorithm for the PGN Model

We also work on the PGN model, which is the most likely model for practical image sensor noise. It is noteworthy that the proposed estimation algorithm for the PGN model generally agrees with the proposed algorithm for AWGN model. Contrasted with Algorithm 1, for the PGN model, we append the gray level histogram-based constraint rule method for firstly removing disorderly blocks, and compute the local mean value of selected blocks. Then, the local mean-variance pair ( f ¯ , σ ^ η 2 ) of selected blocks can be obtained. Finally, by utilizing the MLE estimator to process the local mean-variance pair ( f ¯ , σ ^ η 2 ) , the two parameters ρ ^ and σ ^ n 2 ) of PGN model are estimated credibly. The whole of the proposed noise parameter estimation algorithm for the image sensor PGN model is summarized in Algorithm 2.
Algorithm 2. Proposed noise parameter estimation algorithm for the PGN model
Input: Noisy image f , window size N , blocks selection ratios δ .
Output: Estimated NLF parameters ρ ^ and σ ^ n 2 .
Step 1: Group a set of blocks by sliding window pixel-by-pixel:
B = [ b 1 ,   b 2 ,   ,   b B N ]   R × C .
Step 2: Compute the mean gray value f ( x , y ) ¯ of all pixels in each block.
Step 3: for block index k = 1:BN do
Compute the LGSE of blocks according to (8) and (9).
end for
Step 4: Exclude the LGSE of blackest and whitest blocks according to (10) and (11).
Step 5: Utilize the gray level histogram-based constraint rule to remove disorderly blocks,
and exclude the LGSE of low frequency gray value according to (12–14).
Step 6: Select homogenous blocks based on selection of residual LGSE using (15).
Step 7: for homogenous block index t = 1:T do
Compute the mean gray value of all pixels in selected block using (7).
Obtain the local variance of homogenous block by HLMAD according to (16–18).
end for
Step 8: Estimate the two parameters ρ ^ and σ ^ n 2 of NLF via processing local mean-variance pair ( f ¯ , σ ^ η 2 ) using MLE derived from (19)–(22).

4. Experimental Results

In this section, a series of experiments on synthesized noisy images under various scene images are conducted to evaluate the performance of proposed noise estimation algorithm. Furthermore, some state-of-the-art algorithms and classical algorithms are selected for performance comparison. These experiments are performed in Matlab 2016a (developed by MathWorks, Massachusetts, USA) on the computer with 3.2 Ghz Intel i5-6500 CPU and 16 Gb random access memory.

4.1. Test Dataset

The test dataset is composed of 134 images for synthesized noisy images, which were generated by adding the AWGN or PGN component to three typical test datasets. These three datasets consisted of classic standard test images (CSTI), Kodak PCD0992 images [37] and Berkeley segmentation dataset (BSD) images [38]. The CSTI images have 10 classic standard test images of size 512 × 512 and are shown in Figure 7. The Kodak PCD0992 images have 24 images of size 768 × 512 or 512 × 768 released by the Eastman Kodak Company for unrestricted usage, and many researchers use them as a standard test suite for image de-noising testing. The BSD images totally have 100 test images and 200 train images of size 481 × 321 or 321 × 481, but in our experiments, we randomly selected 25 images from the Berkeley test set and 75 images from Berkeley train set to process. Therefore, the test dataset contains various scene images. Testing on this dataset proves that the algorithm is suitable for many scenarios.

4.2. Results of Noise Estimation

4.2.1. Effects of Parameters

In this part, the experiment is conducted to compare the performance of proposed noise estimation algorithm under various parameter configurations. To qualify the accuracy of the proposed noise estimation algorithm, the mean error of noise level estimation is used to compare the effects of different parameters:
V M E = 1 31 n = 0 30 ( σ e s t 2 ( n ) ¯ σ a d d e d 2 ( n ) ) 2 ,
where σ a d d e d 2 is the added noise variance, σ e s t 2 is the group of estimated noise variances, and σ e s t 2 ¯ is the average value of estimated noise variance. In this parameter selection experiment, we set noise level n [ 0 , 30 ] . Obviously, the more accurate the noise estimation algorithm is, the smaller the mean error is.
The proposed noise estimation algorithm is a block-based method, and the performance of proposed method is related to block size. In this experiment, the test dataset with selected 134 images was processed by the proposed noise estimation algorithm with different block sizes. The mean error-bars of different block sizes are shown in Figure 8, and it indicates that the block size N = 15 can be more suitable for these noisy scene images.

4.2.2. Comparison to AWGN Estimation Baseline Methods

In this part, four classical noise level estimation methods and three state-of-the-art noise level estimation methods are introduced in the comparison experiments to evaluate the performance of the proposed AWGN level estimation method. The Immerkær’s fast noise variance estimation (FNVE) [9], Khalil’s median absolute deviation (MAD) based noise estimation [39], Santiago’s variance mode (VarMode) noise level estimation [40] and Zoran’s discrete cosine transform (DCT) based noise estimation [12] were chosen as the classical noise level estimation methods. The Olivier’s nonlinear noise estimator (NOLSE) [11], Pyatykh’s principal component analysis (PPCA) based noise esti-mation [17] and Lyu’s noise variance estimation (EstV) [13] were selected as the state-of-the-art noise estimation methods.
Figure 9 shows three example images (“Barbara”, “House”, “Birds”) which were selected from three image datasets, and the corresponding noise level estimation results were obtained by the compared noise estimation methods. The original images are shown in the first row. Figure 9d–f shows their results of noise level estimation respectively. As shown in Figure 9, the DCT-based noise estimator performs better at low noise level, but underestimates the noise at higher noise level. FNVE, MAD, VarMode and NOLSE noise estimators easily overestimate the noise level. EstV noise estimator underestimates the noise level in each instance. For most noise levels, both the PPCA-based AWGN estimator and the proposed AWGN estimator work well. In these three scenes, our proposed method outperforms these several existing noise estimation methods.
To further prove the capability of the proposed method, we expanded our experiments on test dataset with 134 images. Table 1, Table 2 and Table 3 show the results of different AWGN estimation algorithms on the CSTI images, the Kodak PCD0992 images and the BSD images, respectively. In Table 1, Table 2 and Table 3, we set the added noise levels σ n = 0, 1, 5, 10, 15, 20 and 25. As shown in the Table 1, Table 2 and Table 3, FNVE, MAD, NOLSE and VarMode estimators overestimate the noise level. This is because these filter-based methods fail to fully consider the effects of image textures on noise estimation. DCT and EstV estimators work well for low noise levels, even better than the proposed estimator when the noise level is less than five, but seriously underestimate the noise level at high noise conditions. The reason is that these two methods use band-pass statistical kurtosis to extract noise components and eliminate the interference of textures to noise estimation. For higher noise levels, these estimators remove too many noise components while removing textures, which leads to underestimation of noise. Compared with those above methods, the PPCA estimator has a better performance. In most cases, the proposed AWGN estimation method is superior to the PPCA estimator. Generally speaking, the experimental results prove that the proposed AWGN estimator not only is suitable for most noise levels, but also has the better estimation capability compared with those state-of-the-art methods.

4.2.3. Comparison to PGN Estimation Baseline Methods

In this part, the comparison with four representative PGN estimation methods is conducted to evaluate the proposed PGN estimation method. The Foi’s clipped Poisson-Gaussian (CPG) noise fitting algorithm [28], Zabrodina’s scatter-plots regression curve fitting (RCF) estimator [29], Jeong’s simplified Poisson-Gaussian noise (SPGN) estimator [41] and Liu’s principal component analysis (LPCA) based noise estimator [35] were selected as baseline methods because they are well studied and widely used for assessing new PGN estimator.
Figure 10 shows three example images, and their corresponding estimated NLF results. The noisy images with ρ = 0.5 and σ n 2 = 10 are shown in the first row. The second row displays their NLF results of the proposed estimation method respectively. The third row shows the estimated NLF results of different PGN estimation methods respectively. It can be seen in Figure 10 that, the CPG, SPGN and RCF noise estimation methods overestimate the NLF in three examples, while both the LPCA-based PGN estimator and proposed PGN estimator work well, and the proposed method works better than LPCA on “Barbara” and “Birds” at noise parameters ρ = 0.5 and σ n 2 = 10.
To verify the performance of the proposed PGN estimation method, we still insisted on performing experiments on the test dataset with 134 images. The performances of the compared PGN estimation methods for different image datasets are shown in Table 4, Table 5 and Table 6. In Table 4, Table 5 and Table 6, we set the added PGN parameters ( ρ , σ n 2 ) = (0.1,1), (0.1,5), (0.1,10), (0.5,1), (0.5,5), (0.5,10). As shown in the Table 4, Table 5 and Table 6, CPG, RCF and SPGN estimators overestimate the parameters of NLF. Table 4 and Table 5 depict that the proposed PGN estimator work better than other PGN estimators on CSTI images and Kodak PCD0992 images in all cases. Table 6 shows that both the proposed PGN estimator and LPCA-based PGN estimator have comparable estimation results and are better than other estimators on BSD images. This indicates that the LPCA-based PGN estimator performs well for BSD images of size 481 × 321 but the proposed PGN estimator can obtain the best performance for all three image datasets, which means that the proposed PGN estimator can work more stably for images with different sizes. Consequently, compared with these representative PGN estimators, the proposed PGN estimator shows more accuracy for various scenarios at different PGN parameters.

4.3. Noise Estimation Tuned for Blind De-Noising

4.3.1. Quantify the Performance of Blind De-Noising

Blind de-noising is a pre-processing application that needs the estimated noise parameters. In this part, we try to prove that the proposed AWGN estimator and proposed PGN estimator can promote the performance of existing blind de-noising algorithms. In this part, we chose the state-of-the-art de-noising algorithm BM3D [42] to remove the estimated AWGN of noisy image, and selected representative PGN de-noising algorithm VST-BM3D [43] to eliminate the estimated PGN of noisy image.
In order to make a reliable comparison of similarity between noise-free image and de-noised image, two image quality assessment methods were used in this paper: (1) The structural similarity index measurement (SSIM) [44] and (2) the peak signal-to-noise ratio (PSNR). The SSIM is defined as:
S S I M ( f , f S ) = ( 2 u f u f S + C 1 ) ( 2 σ f , f S + C 2 ) ( u f 2 + u f S 2 + C 1 ) ( σ f 2 + σ f S 2 + C 2 ) ,
where f is the noisy image, f S is the noise-free image, u f and u f S are the mean values of noisy image and noise-free image, respectively; σ f , σ f S and σ f , f S are standard deviations of noisy image, noise-free image and their covariance, respectively; C 1 and C 2 are small positive constants used to avoid the denominator becoming zero. The PSNR is written as:
P S N R = 10 log ( 255 2 M S E ) ,
where MSE is the mean squared error of noisy image and can be derived from:
M S E = 1 R C r = 0 R 1 c = 0 C 1 ( | | f ( r , c ) f S ( r , c ) | | ) 2 ,
where the size of input noisy image is R × C , and ( r , c ) is the pixel location.

4.3.2. Noise Estimation Tuned for AWGN Blind De-Noising

To quantitatively evaluate the performance of proposed noise estimation algorithm for blind de-noising, all 134 test images of the test dataset were used in AWGN blind de-noising experiment. The added noise levels were set as σ n = 1, 5, 10, 15, 20 and 25 in this experiment. The average SSIM and PSNR comparisons of different AWGN estimators with BM3D for blind de-noising on the test dataset are shown in Figure 11. Figure 11a depicts the SSIM values of different AWGN estimators with BM3D for blind de-noising, and the proposed estimator with BM3D de-noising algorithm has the biggest SSIM values at different noise levels. This demonstrates that the proposed AWGN estimator can promote the structure similarity index of blind de-noising. Figure 11b shows the proposed estimator with BM3D de-noising algorithm has the highest bars of PSNR value at different noise levels. This indicates that the proposed AWGN estimator can decrease the distortion of blind de-noising. In summary, the proposed AWGN estimator can increase the performance of blind de-noising stably.

4.3.3. Noise Estimation Tuned for PGN Blind De-Noising

Figure 12 shows the average SSIM and PSNR values of different PGN estimators with VST-BM3D for blind de-noising at different noise parameters, and the proposed PGN estimator with VST-BM3D de-noising algorithm has the largest SSIM and PSNR values at different noise parameters and is superior to LPCA. This demonstrates that the proposed PGN estimator can improve the performance of PGN blind de-noising. From above experiments, it can be seen that the proposed AWGN and PGN estimators not only can work stably for various scene images with different noise parameters, but also can promote the performance of blind de-noising.

5. Conclusions and Future Work

A novel method based on the properties of LGSE and HLMAD is presented in this paper to estimate the AWGN and PGN parameters of an image sensor at different noise levels. By using the map of LGSE, the proposed method can select homogenous blocks from an image with complex textures and strong noise. The local noise variances of the selected homogenous blocks are efficiently computed by the HLMAD, and the noise parameters can be estimated accurately by the MLE. Extensive experiments verify that the proposed AWGN and PGN estimation algorithms have a better estimation performance than compared state-of-the-art methods, including FNVE, MAD, VarMode, DCT, NOLSE, PPCA, EstV for the AWGN model and CPG, RCF, SPGN, LPCA for the PGN model. The experimental results also demonstrate that the proposed method can work stably for various scene images at different noise levels and can improve the performance of blind de-noising. Therefore, combing the proposed noise estimators with recent de-noising methods to develop a novel blind de-noising algorithm, which can remove image sensor noise and preserve fine details effectively for actual noisy scene images, is one important direction in our future studies.

Author Contributions

Y.L. and Z.L. proposed the noise estimation method. Y.L. conducted the experiments and wrote the manuscript under the supervision of Z.L. and B.Q. K.W., W.X., J.Y. assisted in the database selection and performed the comparison experiments. All the authors have read and revised the final manuscript.

Funding

This work was partially supported by the National Natural Science Foundation of China under Grant No. 61675036, Chongqing Research Program of Basic Research and Frontier Technology under Grant No. CSTC2016JCYJA0193, Chinese Academy of Sciences Key Laboratory of Beam Control Fund under Grant No. 2017LBC006, Fundamental Research Funds for Central Universities under Grant No. 2018CDGFTX0016.

Acknowledgments

We would like to express our thanks to anonymous reviewers for their valuable and insightful suggestions, which helped us to improve the quality of this paper.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. Riutort-Mayol, G.; Marques-Mateu, A.; Segui, A.E.; Lerma, J.L. Grey level and noise evaluation of a Foveon X3 image sensor: A statistical and experimental approach. Sensors 2012, 12, 10339–10368. [Google Scholar] [CrossRef] [PubMed]
  2. Rakhshanfar, M.; Amer, M.A. Estimation of Gaussian, Poissonian-Gaussian, and Processed Visual Noise and its level function. IEEE Trans. Image Process. 2016, 25, 4172–4185. [Google Scholar] [CrossRef] [PubMed]
  3. Bosco, A.; Battiato, S.; Bruna, A.; Rizzo, R. Noise reduction for CFA image sensors exploiting HVS behaviour. Sensors 2009, 9, 1692–1713. [Google Scholar] [CrossRef] [PubMed]
  4. Reibel, Y.; Jung, M.; Bouhifd, M.; Cunin, B.; Draman, C. CCD or CMOS camera noise characterisation. Eur. Phys. J. Appl. Phys. 2002, 21, 75–80. [Google Scholar] [CrossRef]
  5. Irie, K.; McKinnon, A.E.; Unsworth, K.; Woodhead, I.M. A technique for evaluation of CCD video-camera noise. IEEE Trans. Circuits Syst. Video Technol. 2008, 18, 280–284. [Google Scholar] [CrossRef]
  6. Irie, K.; McKinnon, A.E.; Unsworth, K.; Woodhead, I.M. A model for measurement of noise in CCD digital-video cameras. Meas. Sci. Technol. 2008, 19, 045207. [Google Scholar] [CrossRef]
  7. Faraji, H.; MacLean, W.J. CCD noise removal in digital images. IEEE Trans. Image Process. 2006, 15, 2676–2685. [Google Scholar] [CrossRef] [PubMed]
  8. Liu, C.; Szeliski, R.; Kang, S.B.; Zitnick, C.L.; Freeman, W.T. Automatic estimation and removal of noise from a single image. IEEE Trans. Pattern Anal. Mach. Intell. 2008, 30, 299–314. [Google Scholar] [CrossRef] [PubMed]
  9. Immerkær, J. Fast noise variance estimation. Comput. Vis. Image Underst. 1996, 64, 300–302. [Google Scholar] [CrossRef]
  10. Yang, S.-C.; Yang, S.M. A fast method for image noise estimation using Laplacian operator and adaptive edge detection. In Proceedings of the 3rd International Symposium on Communications, Control and Signal Processing, St Julians, Malta, 12–14 March 2008. [Google Scholar]
  11. Laligant, O.; Truchetet, F.; Fauvet, E. Noise estimation from digital step-model signal. IEEE Signal Process. Soc. 2013, 22, 5158–5167. [Google Scholar] [CrossRef]
  12. Zoran, D.; Weiss, Y. Scale invariance and noise in natural images. In Proceedings of the IEEE 12th International Conference on Computer Vision, Kyoto, Japan, 29 September–2 October 2009. [Google Scholar]
  13. Lyu, S.; Pan, X.; Zhang, X. Exposing region splicing forgeries with blind local noise estimation. Int. J. Comput. Vis. 2014, 110, 202–221. [Google Scholar] [CrossRef]
  14. Dong, L.; Zhou, J.; Tang, Y.Y. Noise level estimation for natural images based on scale-invariant kurtosis and piecewise stationarity. IEEE Trans. Image Process. 2017, 26, 1017–1030. [Google Scholar] [CrossRef] [PubMed]
  15. Donoho, D.L.; Johnstone, I.M. Ideal spatial adaptation by wavelet shrinkage. BIOMETRIKA 1994, 81, 425–455. [Google Scholar] [CrossRef] [Green Version]
  16. Donoho, D.L. De-noising by soft-thresholding. IEEE Trans. Inf. Theory 1995, 41, 613–627. [Google Scholar] [CrossRef] [Green Version]
  17. Pyatykh, S.; Hesser, J.; Zheng, L. Image noise level estimation by principal component analysis. IEEE Trans. Image Process. 2013, 22, 687–699. [Google Scholar] [CrossRef] [PubMed]
  18. Liu, X.; Tanaka, M.; Okutomi, M. Single-image noise level estimation for blind denoising. IEEE Trans. Image Process. 2013, 22, 5226–5237. [Google Scholar] [CrossRef]
  19. Yang, J.; Wu, Z.; Hou, C. In estimation of signal-dependent sensor noise via sparse representation of noise level functions. In Proceedings of the 19th IEEE International Conference on Image Processing, 30 September–3 October 2012; pp. 673–676. [Google Scholar]
  20. Yang, J.; Gan, Z.; Wu, Z.; Hou, C. Estimation of signal-dependent noise level function in transform domain via a sparse recovery model. IEEE Trans. Image Process. 2015, 24, 1561–1572. [Google Scholar] [CrossRef] [PubMed]
  21. Wu, C.-H.; Chang, H.-H. Superpixel-based image noise variance estimation with local statistical assessment. EURASIP J. Image Video Process. 2015, 2015, 38. [Google Scholar] [CrossRef]
  22. Fu, P.; Li, C.; Cai, W.; Sun, Q. A spatially cohesive superpixel model for image noise level estimation. Neurocomputing 2017, 266, 420–432. [Google Scholar] [CrossRef]
  23. Zhu, S.C.; Wu, Y.N.; Mumford, D. Minimax entropy principle and its application to texture modeling. Neural Comput. 1997, 9, 1627–1660. [Google Scholar] [CrossRef]
  24. Pham, T.D. The Kolmogorov–Sinai entropy in the setting of fuzzy sets for image texture analysis and classification. Pattern Recognit. 2016, 53, 229–237. [Google Scholar] [CrossRef]
  25. Yin, S.; Qian, Y.; Gong, M. Unsupervised hierarchical image segmentation through fuzzy entropy maximization. Pattern Recognit. 2017, 68, 245–259. [Google Scholar] [CrossRef]
  26. Shakoor, M.H.; Tajeripour, F. Noise robust and rotation invariant entropy features for texture classification. Multimed. Tools Appl. 2016, 76, 8031–8066. [Google Scholar] [CrossRef]
  27. Asadi, H.; Seyfe, B. Signal enumeration in Gaussian and non-Gaussian noise using entropy estimation of eigenvalues. Digit. Signal Process. 2018, 78, 163–174. [Google Scholar] [CrossRef]
  28. Foi, A.; Trimeche, M.; Katkovnik, V.; Egiazarian, K. Practical Poissonian-Gaussian noise modeling and fitting for single-image raw-data. IEEE Trans. Image Process. 2008, 17, 1737–1754. [Google Scholar] [CrossRef] [PubMed]
  29. Zabrodina, V.; Abramov, S.K.; Lukin, V.V.; Astola, J.; Vozel, B.; Chehdi, K. Blind estimation of mixed noise parameters in images using robust regression curve fitting. In Proceedings of the 19th European Signal Processing Conference, Barcelona, Spain, 29 August–2 September 2011; pp. 1135–1139. [Google Scholar]
  30. Lee, S.; Lee, M.S.; Kang, M.G. Poisson-Gaussian noise analysis and estimation for low-dose X-ray images in the NSCT domain. Sensors 2018, 18, 1019. [Google Scholar]
  31. Lee, M.S.; Park, S.W.; Kang, M.G. Denoising algorithm for CFA image sensors considering inter-channel correlation. Sensors 2017, 17, 1236. [Google Scholar] [CrossRef]
  32. Zheng, L.; Jin, G.; Xu, W.; Qu, H.; Wu, Y. Noise Model of a Multispectral TDI CCD imaging system and its parameter estimation of piecewise weighted least square fitting. IEEE Sens. J. 2017, 17, 3656–3668. [Google Scholar] [CrossRef]
  33. Dong, L.; Zhou, J.; Tang, Y.Y. Effective and fast estimation for image sensor noise via constrained weighted least squares. IEEE Trans. Image Process. 2018, 27, 2715–2730. [Google Scholar] [CrossRef]
  34. Azzari, L.; Foi, A. Indirect estimation of signal-dependent noise with nonadaptive heterogeneous samples. IEEE Trans. Image Process. 2014, 23, 3459–3467. [Google Scholar] [CrossRef]
  35. Liu, X.; Tanaka, M.; Okutomi, M. Practical signal-dependent noise parameter estimation from a single noisy image. IEEE Trans. Image Process. 2014, 23, 4361–4371. [Google Scholar] [CrossRef] [PubMed]
  36. Bruhn, J.; Lehmann, L.E.; Röpcke, H.; Bouillon, T.W.; Hoeft, A. Shannon entropy applied to the measurement of the electroencephalographic effects of desflurane. Am. Soc. Anesthesiol. 2001, 95, 30–35. [Google Scholar] [CrossRef]
  37. Standard Kodak PCD0992 Test Images. Available online: http://r0k.us/graphics/kodak/ (accessed on 6 March 2018).
  38. Martin, D.R.; Fowlkes, C.; Tal, D.; Malik, J. A database of human segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics. In Proceedings of the 9th International Conference on Computer Vision, Vancouver, BC, Canada, 7–14 July 2001. [Google Scholar]
  39. Khalil, H.H.; Rahmat, R.O.K.; Mahmoud, W.A. Estimation of noise in gray-scale and colored images using median absolute deviation (MAD). In Proceedings of the 3rd International Conference on Geometric Modeling and Imaging, London, UK, 9–11 July 2008; pp. 92–97. [Google Scholar]
  40. Aja-Fernández, S.; Vegas-Sánchez-Ferrero, G.; Martín-Fernández, M.; Alberola-López, C. Automatic noise estimation in images using local statistics. Additive and multiplicative cases. Image Vis. Comput. 2009, 27, 756–770. [Google Scholar] [CrossRef]
  41. Jeong, B.G.; Kim, B.C.; Moon, Y.H.; Eom, I.K. Simplified noise model parameter estimation for signal-dependent noise. Signal Process. 2014, 96, 266–273. [Google Scholar] [CrossRef]
  42. Dabov, K.; Foi, A.; Katkovnik, V.; Egiazarian, K. Image denoising by sparse 3-D transform-domain collaborative filtering. IEEE Trans. Image Process. 2007, 16, 2080–2095. [Google Scholar] [CrossRef]
  43. Makitalo, M.; Foi, A. Optimal inversion of the generalized Anscombe transformation for Poisson-Gaussian noise. IEEE Trans. Image Process. 2013, 22, 91–103. [Google Scholar] [CrossRef]
  44. Wang, Z.; Bovik, A.C.; Sheikh, H.R.; Simoncelli, E.P. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Real noise analysis for charge-coupled device (CCD) image sensor. (a) Experimental platform for noise analysis of CCD image sensor; (b) computed the Photon Transfer Curve (PTC) according to the measurement of [5,6].
Figure 1. Real noise analysis for charge-coupled device (CCD) image sensor. (a) Experimental platform for noise analysis of CCD image sensor; (b) computed the Photon Transfer Curve (PTC) according to the measurement of [5,6].
Sensors 19 00339 g001
Figure 2. Local gray statistic entropy H l e of various noise-free image blocks, and weakly textured blocks have relatively bigger local gray statistic entropy (LGSE) values; (a) H l e = 7.8135; (b) H l e = 7.7972; (c) H l e = 7.7761; (d) H l e = 7.7618; (e) H l e = 7.7158; (f) H l e = 7.6994.
Figure 2. Local gray statistic entropy H l e of various noise-free image blocks, and weakly textured blocks have relatively bigger local gray statistic entropy (LGSE) values; (a) H l e = 7.8135; (b) H l e = 7.7972; (c) H l e = 7.7761; (d) H l e = 7.7618; (e) H l e = 7.7158; (f) H l e = 7.6994.
Sensors 19 00339 g002
Figure 3. Local gray statistic entropy H l e of noisy image blocks corrupted by additive white Gaussian noise (AWGN) at noise level σ n = 20 , and weakly textured blocks have bigger LGSE values; (a) H l e = 7.8094; (b) H l e = 7.7155; (c) H l e = 7.6537; (d) H l e = 7.4976; (e) H l e = 7.3127; (f) H l e = 7.1362.
Figure 3. Local gray statistic entropy H l e of noisy image blocks corrupted by additive white Gaussian noise (AWGN) at noise level σ n = 20 , and weakly textured blocks have bigger LGSE values; (a) H l e = 7.8094; (b) H l e = 7.7155; (c) H l e = 7.6537; (d) H l e = 7.4976; (e) H l e = 7.3127; (f) H l e = 7.1362.
Sensors 19 00339 g003
Figure 4. An example for histogram-based constraint rule for eliminating outliers. (a) Original “Birds” image; (b) the gray level histogram of (a); (c) the selected gray levels after the operation of histogram constraint rule; (d) The selected blocks according to (c) are labeled with green color.
Figure 4. An example for histogram-based constraint rule for eliminating outliers. (a) Original “Birds” image; (b) the gray level histogram of (a); (c) the selected gray levels after the operation of histogram constraint rule; (d) The selected blocks according to (c) are labeled with green color.
Sensors 19 00339 g004
Figure 5. An example for homogenous blocks selection, and those 15 × 15 red boxes in the “Birds” image have outlined the finally selected homogenous blocks.
Figure 5. An example for homogenous blocks selection, and those 15 × 15 red boxes in the “Birds” image have outlined the finally selected homogenous blocks.
Sensors 19 00339 g005
Figure 6. Two examples for homogenous blocks selection in the “Barbara” and “House.” (a) Original “Barbara” image; (b) the selected blocks after histogram constraint in “Barbara” image are labeled with green color; (c) 15 × 15 red boxes in the “Barbara” image have outlined the finally selected homogenous blocks; (d) original “House” image; (e) the selected blocks after histogram constraint in the “House” image are labeled with green color; (f) 15 × 15 red boxes in the “House” image have outlined the finally selected homogenous blocks.
Figure 6. Two examples for homogenous blocks selection in the “Barbara” and “House.” (a) Original “Barbara” image; (b) the selected blocks after histogram constraint in “Barbara” image are labeled with green color; (c) 15 × 15 red boxes in the “Barbara” image have outlined the finally selected homogenous blocks; (d) original “House” image; (e) the selected blocks after histogram constraint in the “House” image are labeled with green color; (f) 15 × 15 red boxes in the “House” image have outlined the finally selected homogenous blocks.
Sensors 19 00339 g006
Figure 7. Classic standard test images for synthesized noisy images: “Barbara,” “Lena,” “Pirate,” “Cameraman,” “Warcraft,” “Couple,” “Peppers,” “Bridge,” “Hill” and “Einstein.”
Figure 7. Classic standard test images for synthesized noisy images: “Barbara,” “Lena,” “Pirate,” “Cameraman,” “Warcraft,” “Couple,” “Peppers,” “Bridge,” “Hill” and “Einstein.”
Sensors 19 00339 g007
Figure 8. The mean error-bars of different block sizes. Thus, when the block size N = 15 , the proposed algorithm has an overwhelming advantage for its accuracy and stability.
Figure 8. The mean error-bars of different block sizes. Thus, when the block size N = 15 , the proposed algorithm has an overwhelming advantage for its accuracy and stability.
Sensors 19 00339 g008
Figure 9. Different AWGN level estimation methods on three images, and the proposed method outperforms other several existing noise estimation methods. (ac) are original images (“Barbara,” “House,” “Birds”); (df) are their results of noise level estimation respectively.
Figure 9. Different AWGN level estimation methods on three images, and the proposed method outperforms other several existing noise estimation methods. (ac) are original images (“Barbara,” “House,” “Birds”); (df) are their results of noise level estimation respectively.
Sensors 19 00339 g009
Figure 10. Different Poisson-Gaussian noise (PGN) level estimation methods on three images, and the proposed method out-performs several existing PGN estimation methods. (ac) are noisy images (“Barbara,” “House,” “Birds”) with ρ = 0.5 and σ n 2 = 10 ; (df) are the results of our parameter estimation algorithm respectively; (gi) are the results of different PGN estimation methods respectively.
Figure 10. Different Poisson-Gaussian noise (PGN) level estimation methods on three images, and the proposed method out-performs several existing PGN estimation methods. (ac) are noisy images (“Barbara,” “House,” “Birds”) with ρ = 0.5 and σ n 2 = 10 ; (df) are the results of our parameter estimation algorithm respectively; (gi) are the results of different PGN estimation methods respectively.
Sensors 19 00339 g010
Figure 11. Structural similarity index measurement (SSIM) and peak signal-to-noise ratio (PSNR) comparison results of different AWGN estimators with BM3D for blind de-noising on the 134 selected images at different noise levels. (a) Comparison results of SSIM; (b) comparison results of PSNR.
Figure 11. Structural similarity index measurement (SSIM) and peak signal-to-noise ratio (PSNR) comparison results of different AWGN estimators with BM3D for blind de-noising on the 134 selected images at different noise levels. (a) Comparison results of SSIM; (b) comparison results of PSNR.
Sensors 19 00339 g011
Figure 12. SSIM and PSNR comparison results of different PGN estimators with VST-BM3D for blind de-noising on the 134 selected images at different noise parameters. (a) Comparison results of SSIM; (b) comparison results of PSNR.
Figure 12. SSIM and PSNR comparison results of different PGN estimators with VST-BM3D for blind de-noising on the 134 selected images at different noise parameters. (a) Comparison results of SSIM; (b) comparison results of PSNR.
Sensors 19 00339 g012
Table 1. The results of different AWGN estimation algorithms on the classic standard test images (CSTI).
Table 1. The results of different AWGN estimation algorithms on the classic standard test images (CSTI).
Ground
Truth
Immerkær’s
FNVE
Khalil’s
MAD
Santiago’s
VarMode
Zoran’s
DCT
Olivier’s
NOLSE
Pyatykh’s
PPCA
Lyu’s
EstV
Our
Proposed
σ n = 0 3.313.032.521.413.921.291.391.77
σ n = 1 3.573.252.911.704.051.721.651.91
σ n = 5 6.406.346.235.026.4065.485.105.34
σ n = 10 10.9210.9910.949.6410.7010.319.8710.13
σ n = 15 15.7215.8015.8114.3915.4215.2514.7415.11
σ n = 20 20.5920.6720.5619.2120.2720.1319.5719.88
σ n = 25 25.5725.6025.5824.1225.2225.1124.4225.01
Table 2. The results of different AWGN estimation algorithms on the Kodak PCD0992 images.
Table 2. The results of different AWGN estimation algorithms on the Kodak PCD0992 images.
Ground
Truth
Immerkær’s
FNVE
Khalil’s
MAD
Santiago’s
VarMode
Zoran’s
DCT
Olivier’s
NOLSE
Pyatykh’s
PPCA
Lyu’s
EstV
Our
Proposed
σ n = 0 3.433.162.671.323.961.321.481.18
σ n = 1 3.583.132.501.344.531.451.431.75
σ n = 5 6.476.495.754.536.675.214.395.14
σ n = 10 11.0111.1810.699.5110.8810.089.5710.11
σ n = 15 15.7916.0015.6114.3715.5615.1514.5615.10
σ n = 20 20.6720.8520.6419.2320.3819.8719.5120.04
σ n = 25 25.6125.7425.5924.1225.3024.8924.4425.00
Table 3. The results of different AWGN estimation algorithms on the Berkeley segmentation dataset (BSD) images.
Table 3. The results of different AWGN estimation algorithms on the Berkeley segmentation dataset (BSD) images.
Ground
Truth
Immerkær’s
FNVE
Khalil’s
MAD
Santiago’s
VarMode
Zoran’s
DCT
Olivier’s
NOLSE
Pyatykh’s
PPCA
Lyu’s
EstV
Our
Proposed
σ n = 0 3.122.371.560.584.400.781.750.66
σ n = 1 3.492.862.050.944.491.321.771.37
σ n = 5 6.516.495.864.556.625.314.495.19
σ n = 10 11.0611.2110.639.3710.8310.299.4710.17
σ n = 15 15.8516.0315.7514.2615.5015.1814.4215.05
σ n = 20 20.7420.8520.5419.1920.3420.1519.3319.98
σ n = 25 25.7025.7725.6624.1825.2625.0924.2124.96
Table 4. The results of different PGN estimation algorithms on the CSTI images.
Table 4. The results of different PGN estimation algorithms on the CSTI images.
Ground
Truth
Foi’s
CPG
Zabrodina’s
RCF
Jeong’s
SPGN
Liu’s
LPCA
Our
Proposed
ρ = 0.1 0.1360.1240.1260.1080.091
σ n 2 = 1 0.022.140.350.031.18
ρ = 0.1 0.1310.1350.1300.0520.088
σ n 2 = 5 5.367.735.425.985.32
ρ = 0.1 0.1420.1590.1360.0640.073
σ n 2 = 10 10.6114.529.8110.6210.16
ρ = 0.5 0.5180.6120.6070.4560.481
σ n 2 = 1 1.252.671.631.351.24
ρ = 0.5 0.5210.6180.5870.4790.462
σ n 2 = 5 5.447.096.005.185.21
ρ = 0.5 0.5220.6010.5610.5250.517
σ n 2 = 10 10.8613.6510.538.979.61
Table 5. The results of different PGN estimation algorithms on the Kodak PCD0992 images.
Table 5. The results of different PGN estimation algorithms on the Kodak PCD0992 images.
Ground
Truth
Foi’s
CPG
Zabrodina’s
RCF
Jeong’s
SPGN
Liu’s
LPCA
Our
Proposed
ρ = 0.1 0.1570.1430.1460.0610.076
σ n 2 = 1 0.011.721.571.501.35
ρ = 0.1 0.1450.1830.1580.1230.081
σ n 2 = 5 5.636.224.695.655.66
ρ = 0.1 0.1420.1820.1660.1210.079
σ n 2 = 10 10.5010.5410.899.3310.06
ρ = 0.5 0.5380.6610.5960.4700.479
σ n 2 = 1 1.231.631.311.261.27
ρ = 0.5 0.5470.6270.5580.4810.482
σ n 2 = 5 5.255.985.715.345.13
ρ = 0.5 0.5340.6070.5720.5330.526
σ n 2 = 10 10.9110.869.229.169.54
Table 6. The results of different PGN estimation algorithms on the BSD images.
Table 6. The results of different PGN estimation algorithms on the BSD images.
Ground
Truth
Foi’s
CPG
Zabrodina’s
RCF
Jeong’s
SPGN
Liu’s
LPCA
Our
Proposed
ρ = 0.1 0.1270.1380.1360.0920.086
σ n 2 = 1 0.201.500.270.081.39
ρ = 0.1 0.1370.1460.1430.0820.083
σ n 2 = 5 4.636.015.466.035.95
ρ = 0.1 0.1390.1670.1570.0710.065
σ n 2 = 10 9.7510.3210.8810.1610.18
ρ = 0.5 0.5140.6520.5830.4860.481
σ n 2 = 1 1.131.831.421.131.04
ρ = 0.5 0.5160.6390.5650.4720.485
σ n 2 = 5 5.185.725.235.125.11
ρ = 0.5 0.5210.6180.5930.5090.491
σ n 2 = 10 10.2210.498.649.629.73

Share and Cite

MDPI and ACS Style

Li, Y.; Li, Z.; Wei, K.; Xiong, W.; Yu, J.; Qi, B. Noise Estimation for Image Sensor Based on Local Entropy and Median Absolute Deviation. Sensors 2019, 19, 339. https://doi.org/10.3390/s19020339

AMA Style

Li Y, Li Z, Wei K, Xiong W, Yu J, Qi B. Noise Estimation for Image Sensor Based on Local Entropy and Median Absolute Deviation. Sensors. 2019; 19(2):339. https://doi.org/10.3390/s19020339

Chicago/Turabian Style

Li, Yongsong, Zhengzhou Li, Kai Wei, Weiqi Xiong, Jiangpeng Yu, and Bo Qi. 2019. "Noise Estimation for Image Sensor Based on Local Entropy and Median Absolute Deviation" Sensors 19, no. 2: 339. https://doi.org/10.3390/s19020339

APA Style

Li, Y., Li, Z., Wei, K., Xiong, W., Yu, J., & Qi, B. (2019). Noise Estimation for Image Sensor Based on Local Entropy and Median Absolute Deviation. Sensors, 19(2), 339. https://doi.org/10.3390/s19020339

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop