Elsevier

Neurocomputing

Volume 177, 12 February 2016, Pages 373-384
Neurocomputing

Biologically inspired image enhancement based on Retinex

https://doi.org/10.1016/j.neucom.2015.10.124Get rights and content

Abstract

This paper presents a biologically inspired adaptive image enhancement method, consisting of four stages: illumination estimation, reflection extraction, color restoration and postprocessing. The illumination of the input image is estimated using guided filter. We propose to utilize the smoothed Y channel in the YCbCr color space as the guidance image, since it can better capture the illuminance of the real scene. The reflection of the input image is extracted using the Retinex algorithm and refined through color restoration. In order to further improve the quality of the extracted reflection, we explore a learning strategy to select the optimal parameters of the nonlinear stretching by optimizing a novel image quality measurement, named as the Modified Contrast–Naturalness–Colorfulness (MCNC) function. Compared with the original CNC function, the proposed MCNC function employs a more effective objective criterion and can better agree with human visual perception. Both qualitative and quantitative experiments demonstrate that the proposed method is adaptive and robust to outdoor images and achieves favorable performance against state-of-the-art methods especially for images captured under extremely hazed or low-light conditions.

Introduction

In numerous applications of computer vision technology, such as visual tracking, anomaly detection and recognition, clear images are the critical prerequisite for good understanding of the real scenes. In practice, however, the quality of the images captured outdoors can be severely degraded due to various weather conditions, such as low illumination, fog and haze, which result in dimness or distortion. Therefore, enhancing and restoring degenerated images is particularly important.

Existing methods for image enhancement can be mainly classified into two categories [1]: (1) image restoration based on physical models, and (2) image enhancement based on image processing techniques.

For the first category, the optimal estimate of a haze-free image is obtained by establishing and inverting the process of image degradation. Various attempts have been explored, and tremendous progress has been made in haze removal for single image [2], [3], [4]. The dark channel prior (DCP) theory proposed by He et al. [4] directly estimates the thickness of haze using the statistics prior of haze-free outdoor images. Recent algorithms [5], [6], [7] improve the DCP method in some particular aspects. Though significant performance gain has been achieved by these methods, results restored from images captured under the overcast environment are still unsatisfactory. Take the DCP method for instance, its dehazing results are clear and natural for images with a certain brightness (Fig. 1(a) and (b)). However, it performs poorly when the lightness of the image is in the low level (Fig. 1(c) and (d)).

The second category of image enhancement techniques directly improves contrast and highlights details by global or local pixel-processing, regardless of the cause of image degradation. Some traditional methods, such as gamma correction, contrast stretching and histogram equalization (HE), are simple but easily fail to provide exact enhanced images and sometimes may even destroy the image contents [8]. In contrast, more advanced methods, like contrast-limited adaptive histogram equalization (CLAHE) [9], wavelet transformations [10] and homomorphic filtering [8], have shown strong robustness to images of various quality.

The Retinex theory is firstly introduced to image enhancement by Land et al. [11] based on the observation that sensations of color have a strong correlation with reflectance, even though the amount of visible light reaching the eye depends on the product of reflectance and illumination. Subsequently, a line of methods [12], [13], [14], [15], [16] has been proposed. Among them, the multi-scale Retinex with color restoration (MSRCR) method [14] proposes to estimate the illumination of the input image using three Gaussian surround filters with different scales and conduct enhancement by applying color restoration followed by linear stretching to the logarithm of reflectance. Though the MSRCR method has demonstrated a strong ability in providing dynamic range compression and preserving most of the details (see Fig. 2(a) and (b)), a large number of parameters are involved and set empirically, such as the scales and weights of Gaussian filters, and stretching factors, which limits the generalization ability and often results in pseudo halos and unnatural color (see Fig. 2(c) and (d)).

Recently, some improvements on MSRCR have been proposed. Rather than utilizing the Gaussian filters to perform the illumination estimation, the method in [17] employs a denoising technique called non-local means filter, assuming that the denoised image is equivalent to the illumination image. In [18], the illumination of the input image is estimated using a guided filter, which not only plays the smoothing role, but also transfers the structure of its guidance image to the filtering output. Jang et al. [19] propose the visual contrast measure (VCM) method to select the scales and weights of Gaussian filters for illumination estimation, while the parameters of MSRCR in [20] are optimized using the particle swarm optimization (PSO) method. Apart from the obtained reflectance, the mid-tone of the image is also considered in [21] by applying an inverse sigmoid function to the estimated illumination.

This paper focuses on improving the visual quality of outdoor images, especially for those captured under the overcast or low-light conditions. To this end, we propose a biologically inspired adaptive image enhancement method. The pipeline of the proposed method is shown in Fig. 3.

Firstly, we also exploit guided filter to estimate the illumination. However, different from [18] which directly uses the input image as the guidance image of the guided filter, we utilize the smoothed Y channel in the YCbCr color space, which can better reflect the luminance of the real scene. The smoothing operation of the Y channel is conducted by utilizing a weighted combination of three Gaussian filters with different scales, the weights of which depend on the local contrast [19] of the Y channel. According to the estimated illumination, the reflection of the input image is then predicted using the Retinex algorithm. Finally, the predicted reflection is further refined via color restoration followed by a novel automatic postprocessing method to obtain the final enhanced image. Specifically, in the postprocessing stage, we explore a learning strategy to select the optimal parameters of the nonlinear stretching by optimizing a novel image quality measurement, named as the Modified Contrast–Naturalness–Colorfulness (MCNC) function. Compared with the original CNC function [22], the proposed MCNC function employs a more effective objective criterion and thus better agrees with human visual perception. The optimization of parameters is conducted by using the QDPSO method [23], which has a stronger ability of global searching than the PSO method utilized in [20].

The contributions of this paper can be summarized as follows:

  • (1)

    We propose a novel design for the guided filter by utilizing the smoothed Y channel in the YCbCr color space as the guided image, which can reflect the luminance of the real scene and facilitates a better estimation of the illumination.

  • (2)

    We propose the MCNC function for the evaluation of image quality, which is more effective and better accord with the human visual perception than the CNC function considering both color and contrast of images.

  • (3)

    We explore a novel and effective postprocessing method, where the parameters of the stretching are adaptively determined by maximizing the value of MCNC function.

The remainder of this paper is organized as follows: the multi-scale Retinex with color restoration (MSRCR) method is explained in Section 2. In Section 3, a novel biologically inspired image enhancement method based on Retinex is proposed. Both quantitative and qualitative experimental results are reported in Section 4. Section 5 summarizes our work.

Section snippets

Multi-scale Retinex with color restoration (MSRCR)

According to the Retinex theory [11], the visual rendering of an image relies on two factors: the distribution of the source illumination and that of the scene reflectance, where the latter has a strong correlation with the sensations of color for the human visual system. Since human eyes exhibit a logarithmic response to the lightness, image enhancement based on the Retinex theory is performed byR(x,y)=logI(x,y)logL(x,y),where I is the image; (x,y) denotes pixel coordinate; L is the

Enhancement algorithm

In this section, we present a biologically inspired adaptive image enhancement method, which consists of the following three steps: (1) illumination estimation using a newly designed guided filter, (2) reflection extraction followed by color restoration, and (3) postprocessing.

Experiments and results

In this section, experiments and evaluations are conducted from three aspects. We first evaluate the robustness of the proposed method on a large dataset, and then compare our method with state-of-art algorithms qualitatively and quantitatively on some specific instances.

Conclusion

This paper presents a biologically inspired adaptive image enhancement method, consisting of illumination estimation, reflection extraction, color restoration, and postprocessing. Different from previous works, we utilize the smoothed Y channel as the guidance image for the guided filter, which can better reflect the luminance of the real scene. In order to further improve the robustness of our method, we devise a learning scheme to adaptively determine the optimal value of the parameters for

Acknowledgment

This research was supported by the Key Laboratory for Aviation Optical Imaging and Measurement, Chinese Academy of Sciences (No. 2012MS04). The authors would like to thank one experienced anonymous referee for his helpful and valuable comments.

Yifan Wang received her B.E. degree, in 2013, from Dalian University of Technology (DUT), Dalian, China. She is currently a M.S. degree candidate majored in Signal and Information Processing in DUT. Her research interest is mainly about image enhancement and dehazing.

References (37)

  • A.K. Vishwakarma et al.

    Color image enhancement techniques: a critical review

    Indian J. Comput. Sci. Eng.

    (2012)
  • K. Zuiderveld, Contrast limited adaptive histogram equalization, in: Graphics gems IV, Academic Press Professional,...
  • J.-L. Starck et al.

    Gray and color image contrast enhancement by the curvelet transform

    IEEE Trans. Image Process.

    (2003)
  • E.H. Land et al.

    Lightness and retinex theory

    J. Opt. Soc. Am.

    (1971)
  • A. Hurlbert

    Formal connections between lightness algorithms

    J. Opt. Soc. Am. A

    (1986)
  • D.J. Jobson, Z. ur Rahman, G.A. Woodell, Properties and performance of a center/surround retinex, IEEE Trans. Image...
  • D.J. Jobson et al.

    A multiscale retinex for bridging the gap between color images and the human observation of scenes

    IEEE Trans. Image Process.

    (1997)
  • R. Kimmel et al.

    A variational framework for retinex

    Int. J. Comput. Vis.

    (2003)
  • Cited by (77)

    • Image dehazing via enhancement, restoration, and fusion: A survey

      2022, Information Fusion
      Citation Excerpt :

      Some works fuse the results of Retinex algorithms and other enhancement methods to better retain the detail and get rid of color distortion [38–40]. Wang et al. [41] proposed a novel image quality measurement which is better agrees with HVS to guide the selection of proper parameters in the algorithm. A fast implementation of MSR is designed by substituting the operation of non-linear color conversion [42].

    • Learning digital camera pipeline for extreme low-light imaging

      2021, Neurocomputing
      Citation Excerpt :

      e) Gamma correction encodes images by allocating more bits to low luminance values than high luminance values, since we are more perceptible to changes in dark regions than bright areas. ( f) Post processing stage applies several camera-specific (proprietary) operations to improve image quality, such as contrast enhancement [17–19], style and aesthetic adjustments [20–22], denoising [23,24], and tone mapping [25]. Optionally, data compression may also be applied [26].

    • Self-supervised Low-Light Image Enhancement via Histogram Equalization Prior

      2024, Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
    View all citing articles on Scopus

    Yifan Wang received her B.E. degree, in 2013, from Dalian University of Technology (DUT), Dalian, China. She is currently a M.S. degree candidate majored in Signal and Information Processing in DUT. Her research interest is mainly about image enhancement and dehazing.

    Hongyu Wang received the B.S. degree in Electronic Engineering from Jilin University of Technology, China, in 1990, the M.S. degree in Electronic Engineering from Graduate School of Chinese Academy of Sciences, Changchun, China, in 1993, and the Ph.D. degree in Precision Instrument and Optoelectronics Engineering from Tianjin University, Tianjin, China, in 1997. He was an Assistant Professor and an Associate Professor in the Department of Electronic Engineering, Zhejiang University, Zhejiang, China from 1997 to 2004. He is currently a Professor in the institute of Information Science and Communication Engineering, Dalian University of Technology, Dalian, China. His research interests include mobile multimedia communications, algorithmic optimization and performance issues in wireless ad hoc, mesh and sensor networks, cross-layer design and optimization.

    Chuanli Yin received the B.S. degree from Jilin architectural and civil engineering institute, Changchun, China, in 2003, and the M.S. degree from Chinese Academy of Sciences, Changchun, China, in 2008. He is now an Associate Professor of digital image processing and doing research on embedded system in Changchun Institute of Optics, Fine Mechanics and Physics, Chinese Academy of Sciences, Changchun, China.

    Ming Dai received the B.S. from Changchun University of Science and Technology, Changchun, China, in 1990, and the M.S. degree from Chinese Academy of Sciences, Changchun, China, in 1993. He is a Professor in Changchun Institute of Optics, Fine Mechanics and Physics, Chinese Academy of Sciences, Changchun, China. He is mainly devoted to airborne image processing, and stabilizing foundation bed.

    View full text