Prior-Guided Histogram Equalization for Tunnel Image Enhancement Under Non-Uniform Illumination
Guang Yang, Haoyue Yang, Yongjun WuNon-uniform illumination in tunnel environments severely degrades image quality, posing substantial challenges to visual monitoring and intelligent transportation systems. While histogram equalization (HE) remains prevalent due to its computational simplicity, its non-linear pixel transformations frequently induce over-enhancement, artifacts, and structural distortions. This paper proposes Prior-Guided Histogram Equalization (PGHE), a lightweight enhancement framework that integrates conventional HE with Retinex-based illumination priors. Within the Retinex decomposition paradigm, PGHE constructs a contrast illumination map from the ratio between the HE-enhanced image and the original input. A Prior Correction Module (PCM) subsequently refines this map via relative total variation regularization, thereby restoring spatial coherence and alleviating local discontinuities introduced by HE. The corrected map is then applied to the original image to obtain the final enhanced result. Extensive evaluation on the LOL low-light benchmarks and a proprietary tunnel dataset comprising 247 real-world frames shows that PGHE offers favorable trade-offs among contrast enhancement, structural fidelity, and brightness preservation: it is particularly strong in brightness preservation and Entropy, while its PSNR/SSIM on LOL and its NIQE on the tunnel dataset are comparable to, but not always the best among, the compared methods. Furthermore, the proposed PCM functions as a plug-in module that improves existing HE variants with measurable gains in Structural Similarity and perceived naturalness at a modest cost in Absolute Mean Brightness Error.