Figure 1, which depicts the weights W
d
(n), for n
varying from –N to +N, for masks 7x1 (blue circles)
and 5x1 (red bars).
3.2 Range Filter
The parameter σ
r
must be adjusted based on the level
of noise present in the image in order to reach the
best-cost benefit between reducing the noise level
and preserving the image edges.
Thus, in Gabiger-Rose et al., (2011) it was
proposed the determination of the parameter
as
the product of the noise standard deviation and a
factor R (Equation 5) which must be determined in
order to maximize either of the quantitative
performance metrics. The suggested metrics are the
PSNR (Peak Signal to Noise Ratio) and the MSSIM
(Mean Measure Structural Similarity) (Wang et al.,
2004), as a means of gaining perceptual proximity
with the Human Visual System (HVS). While PSNR
is measured in dB, MSSIM varies between 0 and 1
and evaluates quantitatively how close the output
image is of a reference image, in terms of intensity,
structure and contrast. Best results reflect on values
of MSSIM near 1.
*
r noise
R
(5)
To check the dependence of R in relation to the
statistical characteristics of noise, Gabiger-Rose et
al., (2011) used a test database composed by 50
images of 8-bit whose pixels were not normalized,
where it was included an additive Gaussian noise of
zero mean and variable standard deviation
noise
(variation in the range of 1 to 64, in steps of 4).
Images were filtered using a bilateral filter with
fixed
(calculated using Equation 4) and with
σ
r
calculated according to Equation (5), trying values
of R in the range of 0.5 to 16, in steps of 0.5. The
metrics PSNR and MSSIM are calculated separately
for each image, and finally, the average of these
metrics, considering all the images for each pair
(
noise
, R) is determined. These mean values then
become the characteristic values of the metrics for
each specific pair (
noise
, R). The idea is to choose
the parameter R that maximizes both characteristic
metrics, for each value of the parameter
noise
.
In order to highlight the differences among the
characteristic metrics obtained by using different
values of R, the characteristic metrics which refer to
a specific
noise
are normalized in relation to the
maximum value of that same set, in accordance with
Equation 6. Thus, the highest value of the
characteristic metrics for a specific
noise
is mapped
to the value 0 and its null value is mapped to the
value 1. If we generate a grayscale image aiming at
easier viewing and interpretation of these values, the
dark line at this image corresponds to the best
performance for different
noise
. Figure 2 shows the
visualization of data relating to the normalized
characteristic PSNR.
0.2
metrics
metrics 1
metrics
average
norm
max
(6)
Figure 2: Normalized characteristic PSNR as a function of
R and
noise
(Gabiger-Rose et al., 2011).
4 SENSITIVITY ANALYSIS OF
THE BILATERAL FILTER AND
THE IN-FIELD CALIBRATION
Unlike Gabiger-Rose et al., (2011), that found the
most presumably suitable parameter
d
according to
Equation 4 and kept this value invariant while
seeking the optimal R for different
noise
, our method
consists in applying a sensitivity analysis of the filter
regarding the parameters
d
and R, in order to
improve the adjustment of these parameters aiming
at optimizing either of the metrics, at a specific level
of
noise
.
Furthermore, the calibration method presented in
Gabiger-Rose et al. (2011) was applied only to 8 bits
grayscale images. However, medical images are
generally encoded with 14 bits. Thereby, in order to
make the calibration procedure independent of
spectral resolution, we first normalize the image
pixels between 0 and 1.
In the calibration procedure, an industrial
phantom acquired in real conditions of medical
procedures must be used due to the need for having
sequential multiple still images in order to find a
reference image, presumably noise-free, for the
calculation of the metrics. This procedure is not
possible with real medical images since it would
submit the patient to long exposures to X-rays. The
calibration phantom must have density
Anin-FieldCalibratingMethodfortheBilateralFilterAppliedtoX-rayFlatPanelGrayscaleImageswithHighSpectral
Resolution
165