Image Contrast Enhancement Using GA and PSO: A Survey: Ravindra Pal Singh, Manish Dixit Sanjay Silakari
Image Contrast Enhancement Using GA and PSO: A Survey: Ravindra Pal Singh, Manish Dixit Sanjay Silakari
Abstract: Image enhancement as an optimization process is which are seen difficult, or changing the histogram of images
being used rapidly in Image processing system. To enhance the so that they can be interpreted more easily by human
contrast of the images various common methods are proposed observer. The most common techniques used for contrast
in literature including HE and linear Stretching but they give enhancement are linear stretching and histogram equalization
unnatural contrast and brightness in the images.GA as well as and the resultant images from these methods have bright and
PSO both as an optimization method improves contrast and unnatural contrast. It is the fastest growing technology due to
gives better result. This paper reviews an introduction of its various applications in several fields like consumer
several approaches for contrast enhancement in spatial domain electronic products, robotics and medical etc. Enhanced
as well as in frequency domain using Genetic algorithms and
images without human intervention, is very difficult task in
Particle swarm optimization algorithm. The survey of this
topic leads to the conclusion that field of the PSO applications
image processing. This is because automatic enhancement
is growing fast and improving the contrast using PSO will help requires specifying an objective criterion for enhancement
to solve many complex problems in image processing in the while evaluating the quality of an image is done finally by
future. the human interpreter. Most of the enhancement techniques
existent to date are empirical methods, dependent on the
Index Terms: Digital image processing, Image enhancement, particular type of image. More important, these techniques
Histogram equalization, Genetic algorithm, PSO. require interactive procedures to obtain satisfactory results,
I. INTRODUCTION and therefore are not suitable for routine application.
Evolutionary algorithms have been applied to image
Image processing is a very active area of research in enhancement by several authors. The authors apply a global
computing environment. It has many applications in contrast enhancement technique by using Genetic
everyday life tasks, from medicine to transportation and Programming to adapt the color map in the image as to fit the
industry. Producing digital images with hidden details and demands of the human interpreter. The GP was meant to
better contrast is the strong requirement in several areas like partly reproduce the user behavior in interpreting the quality
remote sensing, biomedical image analysis, and fault of the image, but results reported indicated an unsuccessful
detection. For this purpose the methods that process a given behavior. In [10] [8] [9] a global method for image
image so that the result is visually more suitable than the enhancement is used, but it fails to adopt the local
original are called image enhancement techniques. Image information present in the image. A global enhancement
enhancement is an important technique of image processing, method, in which the pixels in the image are modified
refers to highlight some key information in an image and to through a transformation function based on the gray-level
remove some secondary information which aims to improve distribution over an entire image, often doesn’t produce
the quality of identification in the process at same time [1]. satisfying results. Requirement for user interaction, as each
The objective of image enhancement is to make the image, treated as an individual in the population, should be
processed images more suitable for the particular application rated subjectively by a human interpreter.[8] tells that the
than the original image. Thus the results are more in line requirement for additional external parameters in the
with the characteristics of human visual recognition system. objective fitness criterion that make the automatic image
Generally, we can say that enhancement is used to improve enhancement technique parameter dependant. Therefore,
the appearance of an image to make it easier for visual methods based on local enhancement model came in
perception, understanding and analysis of image. There exist literature such as Differential evolutionary algorithm, genetic
two basic categories of approaches to image enhancement: algorithm and particle swarm optimization. This paper
filtering techniques and contrast enhancement methods. In studies about the various existing methods in the literature
the filtering process every pixel values is substituted by a based on the local and global image contrast enhancement in
new value which is calculated through the original value and both spatial and frequency domain. And the overall analysis
its neighborhood pixels value. Contrast enhancement plays is done on the genetic evolutionary algorithm and particle
an important role in image processing system and in this swarm optimization algorithm.
gray level levels of the input image are mapped to a new set
of values in such a way that the histogram of the image II. LOCAL ENHANCEMENT
becomes flatter to get more homogenous distribution of these Local contrast enhancement increases the gray level of
gray levels[2][3]. It is used for expanding the range of
original image on the bases of light and dark edges. The
intensities in a gray scale image, revealing parts of image
local mean and local standard deviation of entire image,
187
V. PARTICLE SWARM OPTIMIZATION details in the image. When compared to standard PSO, this
PSO is one of the modern heuristic algorithms that can be method achieves better computation time, efficiency and
maximizes the number of pixel in the image. As the velocity
applied to non linear and non continuous optimization
and particle updation is done only by the Gbest value. In [16]
problems. It is a population-based stochastic optimization [19] multi-objective particle swarm optimization and
technique for continuous nonlinear functions [6]. PSO was modified MPSO is presented for improving the contrast in
developed in 1995 by Dr. James Kennedy and Dr. Russell images as well as to preserve the mean intensity of the
Eberhart.PSO is a nature inspired algorithm that is based on images Gamma-correction method is used [18].
the swarming behavior of the bird flocking and fish
schooling. In PSO the individual are known as particle and Start
the group of the particles is known as swarm. In PSO
particles, are flown through hyper dimensional search space.
Changes to the position of particles within the search space
are based on the social-psychological tendency of Initialize population with random position
Individuals to emulate the success of other individuals [4]. and velocity.
The changes to a particle within the swarm are therefore
influenced by the experience, or knowledge, of its
neighbors. The search behavior of a particle is thus affected For each position of particle, calculate
by that of other particles within the swarm.PSO uses a fitness value
number of particles that constitute a swarm moving around
in the search space looking for the best solution. Each If fitness value is better than Pbest, set
particle in search space adjusts its “flying” according to its current value as new Pbest.
own flying experience as well as the flying experience of
other particles. Each particle adjusts its travelling speed
dynamically corresponding to the flying experiences of Set the best value of Pbest as Gbest.
itself and its neighbors. Each particle modifies its position
according to: its current position, its current velocity, the
distance between its current position and Pbest, the distance Calculate particle velocity and update
between its current position and gbest. The particle’s fitness particle position using equation (3) and (4).
value is evaluated on each iteration. If it is the best value the
particle, the particle stores the location of that value as Pbest
(particle best). The location of the best fitness value
achieved by any particle during any iteration is stored as No
Reach maximum
Gbest (global best).The neighborhood concept in PSO is not
iteration/minimum
the same as in other meta-heuristics search, since in PSO
error
each particle’s neighborhood never changes that means it is
fixed [11]. Yes
Vi=wVi-1 + C1rand (Pbest-pl)+C2rand(Gbest-pl) (3)
Stop
and
pl = pvl + Vi (4)
Fig: Flow-chart for Standard PSO Algorithm
Vi is the current velocity, Vi-1 is the previous velocity, w
Hybrid approach to image enhancement with simulated
is the inertia weight, C1 and C2 are the learning factor, pl is
annealing and PSO, in which the transformation function
the present location of the particle, and pvl is the previous
uses both local and global information of the image. In [20]
position of the particle. It is said that for C1 +C2 ≥4, gives the
LCM-CLAHE based PSO method is proposed which is used
better result, rand is the random number between (0, 1). In
to enhance the contrast for the mammogram images. This
Eqn. (3), the first part represents the inertia velocity of the
method is claimed to give the contrast enhancement by
particle, the second part indicates the particle’s decision
preserving local information in mammogram. In [21]
made by its own experience, and the third part signifies the
Automatic color image enhancement technique based on
swarm’s experience-sociality [4]. In [14] RGB image is
PSO is presented, in this RGB image is converted into HSI
separated into Red, Blue and Green channels, after this PSO
color space and then Using the ‘I’ of HSI intensity images is
is applied to each channel separately then normal HE is
obtained. And now PSO is applied to this intensity image,
applied and at last RGB image is merged back. This
the transformation function uses both local and global
proposed method helps to flattens and stretches the
information. Color RGB image is converted into HSV format
histogram of the images and balances different color
then it is fuzzified using GINT operator and then PSO is
components and it also preserves the brightness of the image.
applied after this defuzzification is performed and the
In [15] a customized PSO is used to improve the contrast and
188
resultant image is converted into RGB image [22]. Wavelet 10. Apurba Gorai and Ashish Ghosh, “Gray-level Image Enhancement By
transform based PSO method is proposed in literature to Particle Swarm Optimization”, IEEE 2009.
determine the high frequency component in the image to 11. C. Munteanu, A. Rosa, “Gray-scale enhancement as an automatic
process driven by evolution,” IEEE Transaction on Systems,Man
work well on low resolution images [23]. andCybernatics-Part B:Cybernetics, vol. 34, no. 2, pp. 1292-1298,
2004.
VI. CONCLUSION
12. Malik Braik, Alaa. Sheta, and Aladdin Ayesh, “Image enhancement
In comparison to linear transformation and histogram using particle swarm optimization”, in Proc. of the World Congress on
equalization, GA treats the image globally and produces Engineering, 2007.
image with natural contrast. The optimization success 13. S. M. W. Masra, P. K. Pang, M. S. Muhammad, and K.
Kipli,“Application of Particle Swarm Optimization in Histogram
depends on the chosen chromosome structure, crossover and Equalization for Image Enhancement”;2012 IEEE Colloquium on
mutation operators as well as the objective function. PSO Humanities, Science & Engineering Research (CHUSER 2012),
and GA are both population based and stochastic December 3-4, 2012, Kota Kinabalu,Sabah, Malaysia 294.
optimization, both algorithms start with a group of a 14. K.Venkatalakshmi and S.Mercy Shalinie, “ A Customized Particle
Swarm Optimization Algorithm for Image Enhancement”,IEEE 2010.
randomly generated population, both have fitness values to
15. Ngai M. Kwok, Q. P. Ha, Dikai Liu and Gu Fang “ Contrast
evaluate the population, both update the population and Enhancement and Intensity Preservation for Gray-Level Images Using
search for the optimium with random techniques and both Multiobjective Particle Swarm Optimization”;IEEE Transactions On
do not guarantee success. PSO does not have genetic Automation Science And Engineering, Vol. 6, No. 1, January 2009
operators like crossover and mutation. Particles update 16. Gora. Apurba, and Ghosh. Ashish, “Gray-level Image Enhancement
themselves with the internal velocity,they also have their By Particle Swarm Optimization”, World Congress On Nature
&Biologically Inspired Computing (Nabic), pp. 72-77, 2009
own memory. The information sharing mechanism in PSO
17. Gao. Qinqing. Zeng. Guangping, Chen, Dexin. He, and Ketai, “Image
is significantly different. There is no selection in PSO: all Enhancement Technique Based On Improved PSO Algorithm”, 6 th
particles survive for the length of the run, PSO is the only IEEE Conference on Industrial Electronics and Applications (ICIEA),
EA that does not remove candidate population members. pp. 234 – 238, 2011.
Since GA uses selection, crossover and mutation operators, 18. N. Kwok, Q. Ha, D. Liu, and G. Fang, “Intensity-Preserving Contrast
Enhancement for Gray-Level Images using Multi-objective Particle
it has a large computation time and is much costly. In GA a Swarm Optimization”, CASE06. IEEE International Conference on
large number of parameters are adjusted during its run, but Automation Science and Engineering CASE-2006, pp. 21-26, 2006
in PSO only a few parameters are adjusted compared to GA. 19. Shelda Mohan and T.R. Mahesh, “Particle Swarm Optimization Based
Therefore, as compared to GA, PSO is simple in concept, Contrast Limited Enhancement for Mammogram Images”IEEE 2013.
easy to implement, cheaper and having small computational 20. Apurba Gorai and Ashish Ghosh, “Hue-Preserving Color Image
time. Enhancement Using Particle Swarm Optimization” IEEE 2011.
21. M. Hanmadlu,Shaveta Arora,Gaurav Gupta and Latika Singh, “A
REFERENCES Novel Optimal Fuzzy Color Image Enhancement Using Particle
Swarm Optimization” IEEE 2013.
1. Rafael C. Gonzalez, and Richard E. Woods “Digital Image
Processing” Second Edition Prentice Hall.2002. 22. Md Iqbal Quraishi, Krishna Gopal Dhal, J Paul Choudhury, Kamal
Pattanayak and Mallika De, “A Novel Hybrid Approach to Enhance
2. S. Jayaraman, S Esakkirajan, and T Veerakumar “Digital Image Low Resolution Images Using Particle Swarm Optimization” 2012 2nd
Processing”. IEEE International Conference on Parallel, Distributed and Grid
3. Antonella Carbonaro , Primo Zingaretti “A Comprehensive Approach Computing.
to Image-Contrast Enhancement”. 23. C. Munteanu and A. Rosa, “Towards Automatic Image Enhancement
4. Andries P. Engelbrecht, “Computational Intelligence: An Using Genetic Algorithms”IEEE 2000.
introduction”,2nd edition. john wailley & sons ltd,2007 24. Akhilesh Verma and Archana, “A Survey on Image Contrast
5. J. Kennedy, R. C. Eberhart, and Y.Shi, Swarm Intelligence.Morgan Enhancement Using Genetic Algorithm”; International Journal of
Kaufmann Publishers, San Francisco,2001. Scientific and Research Publications, Volume 2, Issue 7, July 2012 1
6. Mantas Paulinas, Andrius Ušinskas, “A Survey of Genetic Algorithms ISSN 2250-3153.
Applications for Image Enhancement and Segmentation”, ISSN 1392 – 25. Archana, Akhilesh Verma, Dr. Savita Goel and Neeraj Kumar, “Gray
124x Information Technology And Control, 2007, Vol.36, No.3. Level Enhancement to Emphasize Less Dynamic Region within Image
7. F. Saitoh, “Image contrast enhancement using genetic algorithm,” Using Genetic Algorithm”IEEE 2012.
Proceeding of IEEE SMC, Tokyo, Japan, pp. 899-904, 1999. 26. R. Lukac, K.N. Plataniotis, B.Smolka and A.N.
8. Munteanu C. and Lazarescu V. (1999) “Evolutionary Contrast Venetsanopoulos,“Color Image Filtering and Enhancement Based On
Stretching and Detail Enhancement of Satellite Images”,Proceedings Genetic Algorithms” IEEE 2004
of Mendel’99, Bmo, Czech Rep., pp 94-99 27. Ming-Suen Shyu and Jin-Jang Leou, “A Genetic Algorithm Approach
9. Poli R. and Cagnoni S. (1997) “Evolution of Pseudocolouring to Color Image Enhancement” Elsevier Science Ltd,Pattern
Algorithms for Image Enhancement”. Technical Report: CSRP-975, Recognition, Vol. 31, No. 7, pp. 871-880, 1998.
univ. of Birmingham.
189