Expeditious Contrast Enhancement for Grayscale Images Using a New Swift Algorithm

  • Zohair Al-Ameen Department of Computer Science, College of Computer Science and Mathematics, University of Mosul, Nineveh, Iraq
Keywords: Contrast enhancement, Grayscale image, Image processing, Swift algorithm,


Contrast enhancement plays a significant role in many existing image-related applications. In various situations, conventional contrast enhancement techniques failed to produce acceptable results for a wide variety of low-contrast images. As a result, various innovative techniques have been proposed for the purpose of contrast enhancement. Despite that, this field is still open for research due to its indispensability in many scientific disciplines and to various unavoidable real-world limitations. Hence, this article introduces a novel swift algorithm for contrast enhancement in images of low-contrast. The processing concept of this algorithm is straightforward. Initially, a non-complex logarithmic function is applied as a preprocessing step to attenuate the immoderate pixel values. Then, a new non-linear enhancement function which is designed experimentally based on mathematical, statistical and spatial information is applied to modify the brightness and contrast. Finally, a regularization function is applied as a post-processing step to rearrange the image pixels into their natural dynamic range. Experimental results revealed the favorability of the proposed algorithm, as it provided better results than those produced by several contemporary techniques in terms of recorded accuracy and perceived quality.


C. Yanyan, W. Huijuan, and M. Xinjiang, Digital image enhancement method based on image complexity, International Journal of Hybrid Information Technology, vol. 9, no. 6, pp. 395–402, 2016.

M. Zhou, K. Jin, S.Wang, J. Ye, and D. Qian, Color retinal image enhancement based on luminosity and contrast adjustment, IEEE Transactions on Biomedical Engineering, vol. 65, no. 3, pp. 521–527, 2018.

A. Łoza, D. Bull, P. Hill, and A. Achim, Automatic contrast enhancement of low-light images based on local statistics of wavelet coefficients, Digital Signal Processing, vol. 23, no. 6, pp. 1856–1866, 2013.

Y. Chang, C. Jung, P. Ke, H. Song, and J. Hwang, Automatic contrast-limited adaptive histogram equalization with dual gamma correction, IEEE Access, vol. 6, pp. 11782–11792, 2018.

Z. Ling, G. Fan, Y. Liang, and J. Zuo, Joint optimization and perceptual boosting of global and local contrast for efficient contrast enhancement, Multimedia Tools and Applications, vol. 77, no. 2, pp. 2467–2484, 2018.

S. Lal, and M. Chandra, Efficient algorithm for contrast enhancement of natural images, International Arab Journal of Information Technology, vol. 11, no. 1, pp. 95–102, 2014.

H. Cheng, and H. Xu, A novel fuzzy logic approach to contrast enhancement, Pattern Recognition, vol. 33, no. 5, pp. 809–819, 2000.

J. Tang, X. Liu, and Q. Sun, A direct image contrast enhancement algorithm in the wavelet domain for screening mammograms, IEEE Journal of Selected Topics in Signal Processing, vol. 3, no. 1, pp. 74–80, 2009.

C. Ting, B. Wu, M. Chung, C. Chiu, and Y. Wu, Visual contrast enhancement algorithm based on histogram equalization, Sensors, vol. 15, no. 7, pp. 16981–16999, 2015.

C. Chiu, and C. Ting, Contrast enhancement algorithm based on gap adjustment for histogram equalization, Sensors, vol. 16, no.6, pp. 1–18, 2016.

S. Huang, F. Cheng, and Y. Chiu, Efficient contrast enhancement using adaptive gamma correction with weighting distribution, IEEE Transactions on Image Processing, vol. 22, no. 3, pp. 1032–1041, 2013.

Z. Chen, B. Abidi, D. Page, and M. Abidi, Gray-level grouping (GLG): an automatic method for optimized image contrast Enhancement-part I: the basic method, IEEE Transactions on Image Processing, vol. 15, no. 8, pp. 2290–2302, 2006.

M. Al-Wadud, M. Kabir, M. Dewan, and O. Chae, A dynamic histogram equalization for image contrast enhancement, IEEE Transactions on Consumer Electronics, vol. 53, no. 2, pp. 593–600, 2007.

M. Kim, and M. Chung, Recursively separated and weighted histogram equalization for brightness preservation and contrast enhancement, IEEE Transactions on Consumer Electronics, vol. 54, no. 3, pp. 1389–1397, 2008.

T. Arici, S. Dikbas, and Y. Altunbasak, A histogram modification framework and its application for image contrast enhancement, IEEE Transactions on Image Processing, vol. 18, no. 9, pp. 1921–1935, 2009.

S. Hashemi, S. Kiani, N. Noroozi, and M. Moghaddam, An image contrast enhancement method based on genetic algorithm, Pattern Recognition Letters, vol. 31, no. 13, pp. 1816–1824, 2010.

T. Celik, and T. Tjahjadi, Contextual and variational contrast enhancement, IEEE Transactions on Image Processing, vol. 20, no. 12, pp. 3431–3441, 2011.

T. Celik, and T. Tjahjadi, Automatic image equalization and contrast enhancement using Gaussian mixture modeling, IEEE Transactions on Image Processing, vol. 21, no. 1, pp. 145–156, 2012.

P. Hoseini, and M. Shayesteh, Efficient contrast enhancement of images using hybrid ant colony optimisation, genetic algorithm, and simulated annealing, Digital Signal Processing, vol. 23, no. 3, pp. 879–893, 2013.

A. Draa, and A. Bouaziz, An artificial bee colony algorithm for image contrast enhancement, Swarm and Evolutionary Computation,vol. 16, pp. 69–84, 2014.

G. Jiang, C. Wong, S. Lin, M. Rahman, T. Ren, N. Kwok, H. Shi, Y. Yu, and T. Wu, Image contrast enhancement with brightness preservation using an optimal gamma correction and weighted sum approach, Journal of Modern Optics, vol. 62, no. 7, pp. 536–547,2015.

T. Celik, and H. Li, Residual spatial entropy-based image contrast enhancement and gradient-based relative contrast measurement, Journal of Modern Optics, vol. 63, no. 16, pp. 1600–1617, 2016.

D. Das, S. Mukhopadhyay, and S. Praveen, Multi-scale contrast enhancement of oriented features in 2D images using directional morphology, Optics and Laser Technology, vol. 87, pp. 51–63, 2017.

J. Chen, W. Yu, J. Tian, L. Chen, and Z. Zhou, Image contrast enhancement using an artificial bee colony algorithm, Swarm and Evolutionary Computation, vol. 38, pp. 287–294, 2018.

S. Li, F. Zhang, L. Ma, and K. Ngan, Image quality assessment by separately evaluating detail losses and additive impairments, IEEE Transactions on Multimedia, vol. 13, no. 5, pp. 935–949, 2011.

T. Wang, L. Zhang, H. Jia, B. Li, and H. Shu, Multiscale contrast similarity deviation: An effective and efficient index for perceptual image quality assessment, Signal Processing: Image Communication, vol. 45, pp. 1–9, 2016.

F. De Vries, Automatic, adaptive, brightness independent contrast enhancement, Signal Processing, vol. 21, no. 2, pp. 169–182,1990.

S. Li, and B. Yang, Multifocus image fusion using region segmentation and spatial frequency, Image and Vision Computing, vol. 26, no. 7, pp. 971–979, 2008.

M. Oszust, Full-reference image quality assessment with linear combination of genetically selected quality measures, Plos One, vol. 11, no. 6, pp. 1–17, 2016.

E. Provenzi, D. Marini, L. De Carli, and A. Rizzi, Mathematical definition and analysis of the Retinex algorithm, Journal of the Optical Society of America A, vol. 22, no. 12, p. 2613–2621, 2005.

Y. Zou, X. Dai, W. Li, and Y. Sun, Robust design optimisation for inductive power transfer systems from topology collection based on an evolutionary multi-objective algorithm, IET Power Electronics, vol. 8, no. 9, pp. 1767–1776, 2015.

D. Sheet, H. Garud, A. Suveer, M. Mahadevappa, and J. Chatterjee, Brightness preserving dynamic fuzzy histogram equalization, IEEE Transactions on Consumer Electronics, vol. 56, no. 4, pp. 2475–2480, 2010.

S. Poddar, D. Sharma, A. Ghosh, S. Tewary, V. Karar, and S. Pal, Non parametric modified histogram equalisation for contrast enhancement, IET Image Processing, vol. 7, no. 7, pp. 641–652, 2013.

K. Singh, and R. Kapoor, Image enhancement via median-mean based sub-image-clipped histogram equalization, Optik -International Journal for Light and Electron Optics, vol. 125, no. 17, pp. 4646–4651, 2014.

K. Singh, R. Kapoor, and S. Sinha, Enhancement of low exposure images via recursive histogram equalization algorithms, Optik -International Journal for Light and Electron Optics, vol. 126, no. 20, pp. 2619–2625, 2015.

K. Singh, D. Vishwakarma, G.Walia, and R. Kapoor, Contrast enhancement via texture region based histogram equalization, Journal of Modern Optics, vol. 63, no. 15, pp. 1444–1450, 2016.

How to Cite
Al-Ameen, Z. (2018). Expeditious Contrast Enhancement for Grayscale Images Using a New Swift Algorithm. Statistics, Optimization & Information Computing, 6(4), 577-587. https://doi.org/10.19139/soic.v6i4.436
Research Articles