Noise variance estimation is a fundamental task of image processing. Among various approaches of noise variance estimate, fast noise variance estimation method proposed by J. Immerkær in [1] stands out because of its good balance between complexity and accuracy.
Based on J. Immerkær's method, to estimate the standard deviation of image noise σ, we can use equations below:
F=[1−21−24−21−21]
σ=√π/26(W−2)(H−2)∑I|I(x,y)∗F|
F is the high-pass filter. To estimate noise variance, filter F will be applied on the whole image I(x,y) with convolution. The sum of absolute value of convolution results is normalized by width of height of the image, which is (W−2)(H−2). "-2" counts for the boundary effect. The summation is also scaled by √π/26, which is explained next.
Assume a 3x3 block of I(x,y) with each element of xi to be a Gaussian random variable with mean μ and standard deviation σ
I=[x1x2x3x4x5x6x7x8x9]
Then |I∗F|=|x1−2∗x2+x3−2∗x4+4∗x5−2∗x6+x7−2∗x8+x9|
Since E(|I∗F|2)=36σ2, |I∗F|=6|s| where s is Gaussian random variable with mean 0 and standard deviation σ. We can derive the distribution of y=|s| and it is 2√2πσe−y22σ2 for y>=0 and 0 for y<0.
<0 .="" br="">
Since E(|s|)=√2πσ, it explains why the summation is also scaled by √π/26.
[1] J. Immerkær, “Fast Noise Variance Estimation”, Computer Vision and Image Understanding, Vol. 64, No. 2, pp. 300-302, Sep. 1996
No comments:
Post a Comment