age containing semi transparent blotches. On the con-
trary, the restoration exploits the transparency of the
defect by reducing its intensity under the level of hu-
man visual perception. The attenuation is balanced by
local and global measures of the perception for each
degraded pixels. The philosophy adopted in this pa-
per is pretty similar to the de-scratching of archived
films in (Bruni and Vitulano, 2004; Bruni et al., 2004)
since also semi-transparent blotches cover without
completely removing original image information.
The outline of the paper is the following. Sec-
tion 2 presents a novel model for both detection and
restoration of semi-transparent blotches and briefly
explains the human perception laws that guide both
phases. Some experimental results and discussions
are respectively contained in Sections 3 and 4.
2 THE PROPOSED MODEL
As mentioned in the Introduction, the detection of
semi-transparent blotches is not a trivial problem
since the degradation cannot be formally modelled. In
other words, we don’t know exactly what we are look-
ing for. In fact, the shape of the degradation changes
from one image to another and in the same paper we
can find completely different blotches. This fact de-
pends on the porosity of the paper, the degree of hu-
midity and also the time of the contact between the
water and the paper. Therefore, it is difficult to auto-
matically separate the blotch from the remaining part
of the document, even using multistage thresholding
strategy (Shi and Govindaraju, 2004). Nonetheless,
the Human Visual System (HVS) is able to detect
blotches at the first glance and to distinguish it from
the remaining components of the scene (background
and text in this case). In the following subsection,
we will show how it is possible to select degraded
regions by modelling HVS using a guided low pass
filtering operation. A binary mask is the output of
the detection phase. The mask is a lookup table for
the regions of the paper which are affected by the
degradation. These regions do not contain only blotch
but also non uniform background and text. Moreover,
since the blotch is semitransparent, these components
are not completely damaged (see Fig. 1). Therefore,
the restoration consists of separating the blotch from
the text and attenuating blotch intensity, accounting
for some visibility constraints, i.e. contrast sensitivity
and contrast masking (Hontsch and Karam, 2000; Fo-
ley, 1994). Contrast sensitivity measures the visibility
of each component of the degraded area with respect
to a uniform background. Contrast masking is the vis-
ibility of an object (target) with respect to another one
(masker) (page 28 of (Winkler, 2005)). In our case
the target is the pixel to be restored while the masker
is composed of the neighbouring pixels. The aim of
the restoration phase is to reduce the intensity of the
blotch till it is no longer visible and without creat-
ing artifacts in the image, as deeply shown in Section
2.2. In fact, blotches hide without completely destroy-
ing the underlying original information, as shown in
Fig. 1.
The RGB components of the image to be restored
are converted in the YCbCr space (Gonzalez and
Woods, 2002). In fact, it is proven that human eye
is more sensitive to changes in the luminance compo-
nent (Y) rather than in the chrominance ones (C
b
,C
r
)
(Mojsilovic et al., 1999). Hence, the algorithm of de-
tection will act directly on Y (luminance) component,
while restoration is performed on all three compo-
nents. Both phases will be analysed in depth in the
following subsections.
2.1 Detection
HVS detects blotches at a low level of attention, i.e.
during the coarsest step of the analysis of the scene
under study. This situation can be simulated by per-
forming a low pass filtering of the image. In fact,
blurring gives an image with homogeneous regions
in colour, where the blotch becomes darker with re-
spect to the background while the text disappears
since mainly characterized by high frequencies (see
Fig. 2a). More precisely, the luminance component
Y
0
of the degraded image is embedded in a family of
images Y
r
which are defined as follows:
Y
r
= Y
0
∗ H
r
,
where r indicates the resolution and H
r
is a low pass
filter whose support depends on r. Then, the prob-
lem consists of finding the right level of resolution
r, in which it is possible to automatically extract the
blotch with a simple binarization (see Fig. 2b). The
level of resolution is set to be the point which realizes
a good separation between the main image compo-
nents in the rate-distortion curve. This latter is used
in signal compression and it correlates the number of
bits used for coding a given signal versus the error
for the corresponding approximation (Gonzalez and
Woods, 2002). Here, rate is taken as the resolution
of our image, since it indicates the quantity of infor-
mation. The distortion is measured via the number of
lost bins — i.e. zero bins of the image histogram.
Figs. 2c and 2d show that the blurring effect cor-
responds to a regularization of the histogram of the
luminance component. It consists of a reduction of its
admissible values in a continuous manner. However,
this reduction is not proportional to the level of the
blurring but it is faster for smaller levels, slowing as
the blurring increases. The Occam filter strategy as in
(Natarajan, 1995) can be applied to achieve the best
VISAPP 2006 - IMAGE FORMATION AND PROCESSING
66