A new evaluation function for face image enhancement in unconstrained environments using metaheuristic algorithms

Muhtahir O. Oloyede, Gerhard P. Hancke, Hermanus C. Myburgh, Adeiza James OnumanyiEURASIP 2019

Abstract

Image enhancement is an integral component of face recognition systems and other image processing tasks such as in medical and satellite imaging. Among a number of existing image enhancement methods, metaheuristic-based approaches have gained popularity owing to their highly effective performance rates. However, the need for improved evaluation functions is a major research concern in the study of metaheuristic-based image enhancement methods. Thus, in this paper, we present a new evaluation function for improving the performance of metaheuristic-based image enhancement methods. Essentially, we applied our new evaluation function in conjunction with metaheuristic-based optimization algorithms in order to select automatically the best enhanced face image based on a linear combination of different key quantitative measures. Furthermore, different from other existing evaluation functions, our evaluation function is finitely bounded to determine easily whether an image is either too dark or too bright. This makes it better suited to find optimal solutions (best enhanced images) during the search process. Our method was compared with existing metaheuristic-based methods and other state-of-the-art image enhancement techniques. Based on the qualitative and quantitative measures obtained, our approach is shown to enhance facial images in unconstrained environments significantly.

Introduction

Face recognition systems are notoriously sensitive to "unconstrained environments"—real-world conditions involving poor lighting, deep shadows, occlusions, and varied expressions. To mitigate these issues, researchers employ Image Enhancement Techniques (IETs). However, traditional IETs, such as Histogram Equalization, often suffer from "over-enhancement," which can create unnatural artifacts or cause a loss of critical detail in shadowed regions.

Modern solutions utilize metaheuristic algorithms—optimization strategies inspired by natural processes—to find the optimal settings for enhancement functions. These algorithms require a robust "judge," known as an Evaluation Function (EF), to determine which version of an enhanced image is superior. Most existing EFs are open-ended or poorly defined, making it difficult for an algorithm to determine if it has over-corrected for brightness or contrast. This research introduces a stable, finitely bounded EF designed to reliably identify the optimal enhanced image without human intervention.

Methodology

The proposed pipeline for automated face enhancement consists of three primary components:

  1. Transformation Function: A local enhancement function adjusts pixels based on their neighborhood's mean and standard deviation. This function utilizes four tunable parameters ($a, b, c, k$) to control brightness, smoothing, and contrast.
  2. The Novel Evaluation Function (EF): This core contribution is a linear combination of four normalized metrics: the number of edge pixels (using a Sobel filter), the number of foreground pixels (via Otsu’s thresholding), an entropic measure of information content, and the Peak Signal-to-Noise Ratio (PSNR). Crucially, this function is mathematically bounded between 0 and 4, providing a clear scale for the optimization process.
  3. Optimization via Cuckoo Search (CSO): Inspired by the brood parasitism of cuckoo birds, the CSO algorithm was selected to navigate the search space of the transformation parameters.
Comparison of fitness value convergence for CSO, PSO, and GA algorithms.

As illustrated in Figure 4, CSO was chosen after a comparative analysis against Particle Swarm Optimization (PSO) and Genetic Algorithms (GA), demonstrating superior convergence and higher fitness values.

Experimental Results and Discussion

The method was validated using three benchmark datasets: the AR Face Database (lighting/occlusions), the Yale Face Dataset (extreme angles/expressions), and the ORL database (varying poses).

Algorithm Performance and Tuning

The effectiveness of the CSO algorithm is partly dependent on its discovery rate parameter ($P_a$). Sensitivity analysis was performed to determine the optimal value for this parameter to ensure the algorithm does not get stuck in local optima.

Sensitivity analysis of the CSO discovery rate parameter (Pa) on fitness convergence.

Quantitative and Qualitative Superiority

Quantitatively, the proposed method consistently outperformed state-of-the-art techniques like CLAHE and LLIE. For instance, on specific samples from the AR dataset, the proposed method identified over double the foreground pixels compared to CLAHE (3,294 vs. 1,560). Qualitatively, the system successfully revealed details hidden in deep shadows—such as eyes behind glasses—that were entirely lost in the original captures.

Conclusion and Future Work

While the proposed method offers significant improvements in image quality and automation, it introduces a trade-off in computational complexity. Processing a $256 \times 256$ image takes approximately 90 seconds, compared to the near-instantaneous results of traditional non-iterative methods. Future research will focus on optimizing processing speed for real-time applications and testing the evaluation function on medical and satellite imagery where detail recovery is equally vital.

Summary updated

Abstract

Image enhancement is an integral component of face recognition systems and other image processing tasks such as in medical and satellite imaging. Among a number of existing image enhancement methods, metaheuristic-based approaches have gained popularity owing to their highly effective performance rates. However, the need for improved evaluation functions is a major research concern in the study of metaheuristic-based image enhancement methods. Thus, in this paper, we present a new evaluation function for improving the performance of metaheuristic-based image enhancement methods. Essentially, we applied our new evaluation function in conjunction with metaheuristic-based optimization algorithms in order to select automatically the best enhanced face image based on a linear combination of different key quantitative measures. Furthermore, different from other existing evaluation functions, our evaluation function is finitely bounded to determine easily whether an image is either too dark or too bright. This makes it better suited to find optimal solutions (best enhanced images) during the search process. Our method was compared with existing metaheuristic-based methods and other state-of-the-art image enhancement techniques. Based on the qualitative and quantitative measures obtained, our approach is shown to enhance facial images in unconstrained environments significantly.
BibTeX
@inproceedings{oloyede2019new,
  author = {Muhtahir O. Oloyede and Gerhard P. Hancke and Hermanus C. Myburgh and Adeiza James Onumanyi},
  title = {{A new evaluation function for face image enhancement in unconstrained environments using metaheuristic algorithms}},
  booktitle = {EURASIP},
  year = {2019},
  doi = {10.1186/s13640-019-0418-7},
}
Figure