tures, and original contrasts are visually well recov-
ered with no undesirable artifacts (PSNR= 32.68db
for ”Lena”). To better appreciate the accuracy of the
restoration process, the square of the difference be-
tween the original image and the recovered image is
shown in Figure 2(d), where the dark values corre-
spond to a high-confidence estimate. As expected,
pixels with a low level of confidence are located in
the neighborhood of image discontinuities. For com-
parison, we show the image denoised by Non-Local
Means Filter in Figures 2(e),(f). The overall visual
impression and the numerical results are improvedus-
ing our algorithm.
The Optimal Weights Filter seems to provide a
feasible and rational method to detect automatically
the details of images and take the proper weights for
every possible geometric configuration of the image.
The distribution of the weights inside the search win-
dow U
x
0
,h
depends on the estimated brightness vari-
ation function
b
ρ
K,x
0
(x), x ∈ U
x
0
,h
. If the estimated
brightness variation
b
ρ
K,x
0
(x) is less than ba (see Theo-
rem 1), the similarity between patches is measured by
a linear decreasing function of
b
ρ
K,x
0
(x); otherwise it
is zero. Thus ba acts as an automatic threshold.
4 CONCLUSIONS
We have proposed a new filter to remove Gaus-
sian noise, based on optimization of weights in the
weighted means approach. Our analysis shows that
a triangular kernel is preferred rather then the Gaus-
sian kernel. The proposed filter improves the usual
Non-Local Means Filter both numerically and visu-
ally in denoising performance; it also has the advan-
tage to be adaptive in the sense that it calculates au-
tomatically the good bandwidth of the triangular ker-
nel (while in the Non-Local Means Filter the choice
of the bandwidth parameter in the Gaussian kernel is
delicate). We hope that the optimal weights that we
deduced can also bring similar improvements for re-
cently developed algorithms where the basic idea of
the Non-Local means filter is used.
ACKNOWLEDGEMENTS
The authors are grateful to the reviewers for helpful
comments and remarks. The work has been partially
supported by the National Natural Science Founda-
tion of China, Grant No. 11101039 and Grant No.
11171044.
REFERENCES
Aharon, M., Elad, M., and Bruckstein, A. (2006). rmk-
svd: An algorithm for designing overcomplete dictio-
naries for sparse representation. IEEE Trans. Signal
Process., 54(11):4311–4322.
Buades, A., Coll, B., Morel, J., et al. (2005). A re-
view of image denoising algorithms, with a new one.
SIAM Journal on Multiscale Modeling and Simula-
tion, 4(2):490–530.
Buades, T., Lou, Y., Morel, J., and Tang, Z. (2009). A note
on multi-image denoising. In Int. workshop on Local
and Non-Local Approximation in Image Processing,
pages 1–15.
Dabov, K., Foi, A., Katkovnik, V., and Egiazarian, K.
(2007). Image denoising by sparse 3-D transform-
domain collaborative filtering. IEEE Trans. Image
Process., 16(8):2080–2095.
Donoho, D. and Johnstone, J. (1994). Ideal spatial adapta-
tion by wavelet shrinkage. Biometrika, 81(3):425.
Foi, A., Katkovnik, V., Egiazarian, K., and Astola, J.
(2004). A novel anisotropic local polynomial estima-
tor based on directional multiscale optimizations . In
Proc. 6th IMA int. conf. math. in signal processing,
pages 79–82.
Hammond, D. and Simoncelli, E. (2008). Image modeling
and denoising with orientation-adapted gaussian scale
mixtures. IEEE Trans. Image Process., 17(11):2089–
2101.
Hirakawa, K. and Parks, T. (2006). Image denoising us-
ing total least squares. IEEE Trans. Image Process.,
15(9):2730–2742.
Katkovnik, V., Foi, A., Egiazarian, K., and Astola, J.
(2010). From local kernel to nonlocal multiple-model
image denoising. Int. J. Comput. Vis., 86(1):1–32.
Kervrann, C. and Boulanger, J. (2008). Local adaptivity
to variable smoothness for exemplar-based image reg-
ularization and representation. Int. J. Comput. Vis.,
79(1):45–69.
Lou, Y., Zhang, X., Osher, S., and Bertozzi, A. (2010). Im-
age recovery via nonlocal operators. J. Sci. Comput.,
42(2):185–197.
Nazin, A., Roll, J., Ljung, L., and Grama, I. (2008). Direct
weight optimization in statistical estimation and sys-
tem identification. System Identification and Control
Problems (SICPRO08), Moscow.
Polzehl, J. and Spokoiny, V. (2006). Propagation-separation
approach for local likelihood estimation. Probab. The-
ory Rel. Fields, 135(3):335–362.
Roth, S. and Black, M. (2009). Fields of experts. Int. J.
Comput. Vision, 82(2):205–229.
Sacks, J. and Ylvisaker, D. (1978). Linear estimation for
approximately linear models. Ann. Stat., 6(5):1122–
1137.
Tomasi, C. and Manduchi, R. (1998). Bilateral filtering for
gray and color images. In Proc. Int. Conf. Computer
Vision, pages 839–846.
Yaroslavsky, L. P. (1985). Digital picture processing. An
introduction. In Springer-Verlag, Berlin.
A NEW APPROACH FOR DENOISING IMAGES BASED ON WEIGHTS OPTIMIZATION
117