2.2 to the remained image (which can be considered
to contain only Gaussian noise) obtained after filter-
ing the impulse noisy points by the mixed norm (9).
4 SIMULATIONS AND CHOICES
OF PARAMETERS
In this section, we present some experimental results
to compare the new filter NLMixF with NL-means,
TriF, and two recently algorithms proposed in (Yang
and Wu, 2009) and (Xiao et al., 2011). As usual we
use PSNR (Peak Signal-to-Noise Ratio) defined by
PSNR ( ¯v) = 10log
10
255
2
|I|
∑
i∈I
( ¯v(i) −u(i))
2
to measure the quality of a restored image, where u
is the original image, ¯v the restored one. In our ex-
periments we use the 512×512 images Lena, Bridge,
Boats and the 256×256 image Peppers. They are all
available on line.
1
In our implementations, image boundaries are
handled by assuming symmetric boundary conditions.
In the original image Peppers, there are black bound-
aries of width of one pixel, we therefore compute the
PSNR value for the image of size 254×254 obtained
after removing the four boundaries.
There are several parameters to be tuned in
NLMixF. Recall that NLMixF reduces to NL-means
when σ
I
= σ
J
= σ
S
= ∞. So for removing Gaus-
sian noise, a reasonable choice is to take σ
I
,σ
J
and
σ
S
large enough (though this choice is not necessar-
ily optimal). To apply our filter easily in practice, we
look for a simple and uniform formula in terms of p
and σ. We first look for a linear relation; when this
does not seem possible we test some slightly more
complicated functions. To obtain the formulas, we
consider Gaussian noise with σ = 10, 20,30, impulse
noise with p = 0.2,0.3,0.4,0.5 and their mixture. We
have done our best to choose the formulas, but we can
not guarantee that our formulas are always optimal
due to the complexity of the subject. Our choices of
parameters for NLMixF are shown in the following,
where Gaussian noise, impulse noise and mixed noise
are abbreviated respectively as Gau, Imp and Mix:
σ
I
= 60 + 2σ −50p, σ
J
= 45 + 0.5σ −50p,
σ
M
= 4+ 0.4σ + 30p−
p
2σp,
1
for Lena, Peppers and Boats, cf.
http://decsai.ugr.es/∼javier/denoise/test images/index.htm;
for Bridge, cf. www.math.cuhk.edu.hk/∼rchan/paper/dcx/.
σ
S
=
0.6+ p σ = 0 (Imp)
15 σ > 0 (Gau or Mix)
σ
S,M
=
15 σ = 0 p > 0 (Imp)
1.5 σ > 0 p = 0 (Gau)
2 σ > 0 p > 0 (Mix)
d =
9 σ = 0 p > 0 (Imp or Mix)
5 σ = 10 p = 0
7 σ = 20 p = 0
30
(Gau)
D =
7 σ = 0 p > 0 (Imp)
9 σ = 10 p = 0
13 σ = 20 p = 0
15 σ = 30 p = 0
(Gau)
7 σ = 10 p > 0
11 σ = 20 p > 0
15 σ = 30 p > 0
(Mix)
In the calculation of ROAD, we choose 3 ×3 neigh-
borhoods and m = 4. For impulse noise or mixed
noise with p = 0.4, 0.5, to further improve the restora-
tion results, we use 5 ×5 neighborhoods and m = 12
to calculate ROAD (5). Consistently, the choice of
σ
I
,σ
J
depend on m, thus they should be multiplied
by a factor empirically chosen as 4.2. Evidently, our
choice of parameters is not restricted to σ = 10, 20,30
and p = 0.2,0.3, 0.4,0.5. This choice can also be ap-
plied to any value of σ in the interval [10,30] and p in
the interval [0.2, 0.5], or even larger intervals. Note
that when σ
S
= 15 or σ
S,M
= 15, we get w
S
(i, j) ≈ 1
or w
S,M
(i, j) ≈ 1. This means that for impulse noise
we can omit the factor w
S,M
(i, j), and for Gaussian
noise and mixed noise we can omit the factor w
S
(i, j).
A full discussion of the roles of the different choices
of parameters goes beyond of the scope of this paper.
The problem of choice of parameters for NL-means
has been considered in the literature, see for example
(Xu et al., 2008) and (Duval et al., 2011).
For TriF, we choose parametersand apply the filter
according to the suggestion of (Garnett et al., 2005).
We use σ
I
= 40,σ
J
= 50,σ
S
= 0.5,σ
R
= 2σ
QGN
,
where σ
QGN
is an estimator for the standard deviation
of “quasi-Gaussian” noise defined in (Garnett et al.,
2005). For impulse noise, when p > 0.25, it was
proposed in (Garnett et al., 2005) to apply the filter
with two to five iterations. We apply two iterations
for p = 0.3,0.4, and four iterations for p = 0.5. For
mixed noise, we apply TriF twice with different val-
ues of σ
S
as suggested in (Garnett et al., 2005): with
all impulse noise levels p, for σ = 10, we use first
σ
a
= 0.3, then σ
S
= 1; for σ = 20, first σ
S
= 0.3, then
σ
Sb
= 15; for σ = 30, first σ
S
= 15, then σ
S
= 15.
Note that when σ
S
= 15, we can omit the spatial fac-
tor.
VISAPP 2012 - International Conference on Computer Vision Theory and Applications
148