Histogram Enhancement Using Adaptive Segmentation Algorithm

Chung-Cheng Chiu, Sheng-Yi Chiu, Han-Ni Yang, Ching-Tung LoMVA 2011

Abstract

Traditional global histogram equalization often fails to preserve natural contrast in images with complex lighting, leading to artifacts like washed-out highlights or crushed shadows. This paper presents the Adaptive Segmentation Histogram Enhancement (ASHE) algorithm, which utilizes recursive discriminant analysis to segment images into statistically meaningful object planes. By reallocating dynamic range based on human visual perception—specifically favoring regions with higher brightness and lower initial contrast—ASHE provides a more balanced and detail-rich enhancement compared to standard global and sub-histogram methods.

Introduction

Contrast enhancement is a fundamental task in image processing, with Histogram Equalization (HE) serving as the most common technique. However, HE's global approach often results in unnatural appearances by spreading pixel intensities across the entire available range without regard for local content. While previous sub-histogram methods attempted to address this by partitioning the image into fixed sections, they frequently rely on rigid, non-adaptive splitting criteria. The proposed ASHE algorithm addresses these limitations through a content-aware, recursive segmentation process that aligns with the biological strengths of the human eye.

Methodology

The ASHE algorithm operates in three distinct phases to ensure surgical precision in enhancement:

1. Recursive Adaptive Segmentation

Instead of a fixed split, the algorithm partitions the image histogram into "object planes" using recursive discriminant analysis. By maximizing between-class variance, it identifies optimal thresholds to divide the histogram. The process continues recursively on the cluster with the highest standard deviation until a Discriminant Factor (DF) threshold of 0.9 is reached. This ensures the image is partitioned into statistically meaningful entities, effectively treating foreground and background as separate clusters.

2. Dynamic Range Reallocation

This core innovation reassigns dynamic range based on human-centric weighting. An adjustment coefficient ($Wf_n$) is calculated for each cluster based on two factors:

  • Mean Brightness: Brighter regions are allocated more dynamic range, reflecting the human eye's superior detail discrimination in well-lit areas.
  • Contrast (Standard Deviation): Clusters with lower initial contrast (lower standard deviation) are given a wider range to "stretch" their details.

3. Local Histogram Equalization

Finally, standard Histogram Equalization is applied to each segmented cluster within its newly assigned, optimized dynamic range. This prevents over-exposure in bright areas while revealing hidden details in shadows.

Experimental Results

The algorithm was evaluated against several established methods, including HE, BPDHE, DHE, and DRSHE, across various low-contrast scenarios such as dusk scenes and dark aerial photography.

Comparison of enhancement methods on a high-dynamic-range Dusk scene. (a) Original, (b) HE, (c) BPDHE, (d) DHE, (e) DRSHE, (f) ASHE.

As shown in the comparison of the "Dusk" image above, global HE and other sub-histogram methods often struggle with the extreme contrast between the bright sky and dark foreground buildings. In contrast, the ASHE result (f) successfully reveals the textures of the trees and buildings while maintaining a natural appearance in the sky, avoiding the "white void" effect seen in other methods.

Enhancement of an aircraft image in very dark conditions (AF image).

In the "AF" test case representing very dark conditions, ASHE demonstrates its ability to pull distinct information out of shadows without introducing the excessive noise or artifacts common in blunt global stretching methods.

Conclusion

The ASHE algorithm provides a robust framework for image enhancement by aligning statistical segmentation with human visual characteristics. While computationally more intensive than global methods due to its recursive nature, it offers superior preservation of details in both shadows and highlights. Future work should focus on establishing quantitative performance metrics and optimizing the algorithm for real-time video processing.

Summary updated

BibTeX
@inproceedings{chiu2011histogram,
  author = {Chung-Cheng Chiu and Sheng-Yi Chiu and Han-Ni Yang and Ching-Tung Lo},
  title = {{Histogram Enhancement Using Adaptive Segmentation Algorithm}},
  booktitle = {MVA},
  year = {2011},
}
Figure