Documente Academic
Documente Profesional
Documente Cultură
I. INTRODUCTION
I .
I
(1)
(2)
where I > 0 and k is a constant.
Since this paper is focusing to find the background image,
which is hidden due to poor light, one more constant b that
represents the background parameter is added to (2). So, (2)
can be expressed as
Region 1
Region 2
1 (l1 h1 ) / 2
2 (l 2 h2 ) / 2
l1 lowest intensity
h1 - highest intensity
l2 - lowest intensity
h2 - highest intensity
Region 4
Region 3
4 (l 4 h4 ) / 2
3 (l3 h3 ) / 2
l4 - lowest intensity
h4 - highest intensity
l3 - lowest intensity
h3 - highest intensity
C k log I b .
(3)
By considering I as the grey level intensity value of the
function f (image), (3) can be changed as
C k log f b
k i log( f 1) hi , f i
k i log( f 1) li , otherwise.
i ( f )
f > 0.
(4)
(6)
li hi
2
ki
255
log(256)
i=1,2,,n.
(5)
where li , hi represents the lowest and highest intensity values
in each subregions of the image. Division of the image into
subregions and calculation of the background criteria i in
each subregion is further illustrated in Fig. 1.
The idea of using average value between the smallest and
largest intensity values to compute the background criteria
was already proposed [11]. The same idea was later
successfully modified with the inclusion of block analysis
[12]. This work also uses the average value between the
smallest and largest intensity values in each subregion to
compute the background criteria ( i ). In order to obtain the
expression for the contrast enhancement, the background
parameter is assigned with the value of the highest intensity
of that region when f i ,
Fig. 1 Background criteria detection from the subimages.
where
i=1,2,,n.
li , f i
hi , f i .
B ( f ) = ( f B) B
B ( f ) B ( f )
2
k B log( f 1) B ( f ),
f B
k B log( f 1) B ( f ), otherwise
B ( f )
and
(8)
In this paper, one of the proposed contrast enhancement
methods (Method I) finds the background of an image with
the help of the combination of opening and closing
morphological filters. In a subregion of any image, li and hi
values relating to that subregion, corresponds to the
morphological erosion and dilation defined by the orderstatistical filters. In the graph of f, erosion morphological
operation reduces the peaks and enlarges the minima of the
function and the dilation morphological operation increases
the valleys and enlarges the maxima of the function.
Similarly opening morphological operation smoothes the
graph of f
by cutting down its peaks and closing
k B
255 B
.
log(256)
(10)
B. Top-hat by Opening morphological filter
The morphological top-hat transformation of an image,
denoted by hB , is defined as the difference between the
original image f and its opening image B ( f )
hB f B ( f ) .
(11)
WTH B f B ( f ) .
(7)
B ( f ) = ( f B) B .
(9)
(12)
Since a top-hat by opening filter uses the subtraction of its
morphological opening from the original image, there is no
need to find the background criteria B and the background
parameter in the contrast enhancement expression
corresponds to the WTHB of the image. Thus, the following
expression derived from (3) is proposed to enhance the
contrast in images with poor lighting
hB ( f ) k hB log( f 1) WTH B
(13)
and
k hB
255 WTH B
.
log(256)
dark
(a)
and
bright
5000
4500
4000
3500
3000
2500
2000
1500
1000
500
0
0
50
100
150
200
250
(a)
(b1)
(b2)
(a1)
5000
4500
4000
250
Input Image
Out put Image
3500
3000
2500
200
2000
1500
1000
150
500
0
0
100
50
100
(b)
50
150
200
250
(b1)
5000
50
100
150
200
4500
250
4000
3500
(c1)
3000
2500
top-hat by opening
250
2000
1500
Input Image
Out put Image
1000
500
200
(c)
150
100
50
50
100
150
200
250
(c2)
Fig. 3 Image background detection through contrast enhancement.
(a) original image, (b1) enhanced image using the combination of
opening and closing morphological filter (Method I), (b2) enhanced
image using top-hat by opening morphological filter (Method II),
(c1) intensity level variation after applying Method I, (c2) intensity
level variation after applying Method II.
50
100
150
200
250
(c1)
(a)
(b)
(d)
(c)
(e)
Fig. 5 Image background detection for the image with high level of details. (a) original image, (b) enhanced image using histogram
equalization method (HE), (c) enhanced image using the combination of erosion and dilation morphological operations, (d) enhanced image
using the combination of opening and closing morphological operations (Method I), (e) enhanced image using top-hat by opening
morphological filter (Method II).
(b1)
(a)
(b2)
(b3)
(c1)
(c2)
(c3)
(d1)
(d2)
(d3)
Fig. 6 Result images for the comparison. (a) original image, (b1) erosion and dilation with B=3, (b2) erosion and dilation with B=5, (b3)
erosion and dilation with B=7, (c1) opening and closing with B=3, (c2) opening and closing with B=5, (c3) opening and closing with B=7,
(d1) top-hat by opening with B=3, (d2) top-hat by opening with B=5, (d3) top-hat by opening with B=7.
TABLE I
OBJECTIVE ASSESSMENT RESULTS
Original
Image
Erosion
&
Dilation
Proposed
Method I
(opening and
closing)
Proposed
Method II
(top-hat by
opening)
Original
Image
Erosion
&
Dilation
Proposed
Method I
(opening and
closing)
Proposed
Method II
(top-hat by
opening)
(Fig. 5(a))
5.23
5.65
5.74
5.84
19.29
58.07
59.51
59.88
6.93
7.04
7.10
7.30
51.95
41.17
53.72
54.41
6.18
5.83
6.18
6.18
1.86
28.36
45.38
59.35
6.62
6.07
6.66
6.69
28.77
8.71
32.39
33.37
Image
Fish
TABLE II
[1]
HE
Erosion
&
Dilation
Proposed
Method I
(opening
and
closing)
Proposed
Method II
(top-hat
by
opening)
Fish
78.05
100.80
69.32
60.21
Wheel
33.70
88.08
32.51
29.43
Building
37.07
83.75
23.71
15.51
Tower
33.11
94.80
31.48
22.55
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[15]
AMBE= | p - o |
[16]
[17]
VI. CONCLUSION
This paper presents a novel idea to enhance the contrast of
the images which are suffering from poor lighting. Two
methods which use morphological filters, have been proposed
for the contrast enhancement through image background
detection and their efficacies were also proved by subjective
and objective assessments. First method uses the combination
of opening and closing morphological filters, whereas the
second method uses top-hat by opening morphological filter.
Both the methods have been tested with variety of images
with poor lighting. As a future enhancement, this work may
be extended for exploring the possibility of using them for
video with the help of temporal details.
REFERENCES
[18]
[19]
[20]
[21]
engineering college, Nagercoil, India. He was a Gold medalist in M.E. and has
also worked as an Assistant Professor in the department of computer science and
engineering, in the Anna University of Technology, Coimbatore. He has
presented research papers in one international conference and 7 national
conferences. He has got more than 10 years of teaching experience. His areas of
interest in research are Image processing and Network Security.
Dr.V.Sadasivam has obtained his B.E in Electrical
Engineering and M.Sc (Engg) in Power System in 1973
and 1975 respectively. He has completed his Ph.D in
Computer Science and Engineering in 1993.
From 1995 onwards, he has been working as
Professor and Head of the Department of Computer
Science and Engineering at Manonmaniam Sundaranar
University, Tirunelveli. He has published 20 papers in
International and National Journals and more than 60
papers in National and International Conferences. His areas of Interest are
Artificial Intelligence, Image Processing and Fuzzy logic.