Abstract
High-performance tone mapping for mobile devices remains a challenge due to the computational intensity of local adaptation. This paper presents a novel algorithm leveraging Integral Images and Integral Histograms to achieve professional-grade Wide Dynamic Range (WDR) imaging on mobile GPUs. By mimicking the human visual system's multi-scale adaptation, the proposed method processes 1080p images in approximately one second while maintaining superior structural similarity and naturalness compared to existing state-of-the-art techniques.
Introduction
Modern mobile sensors can capture high dynamic range data, but standard 8-bit displays cannot represent this full range without significant loss of detail. Tone Mapping Operators (TMOs) bridge this gap. While global TMOs are computationally efficient, they often result in "flat" images that lack local contrast. Conversely, local TMOs provide high quality by adapting to local pixel surroundings but are typically too computationally expensive for mobile hardware, leading to battery drain and lag. This research addresses the classic "quality vs. speed" trade-off by introducing an efficient multi-scale local TMO optimized for mobile GPUs.
Methodology
The proposed approach utilizes a multi-scale framework inspired by the Human Visual System (HVS). It employs multiple "receptive fields" of varying sizes to analyze local luminance. For each field, a local histogram adjustment is performed to optimize contrast locally.
To ensure efficiency, the authors utilize Integral Images and Integral Histograms. These data structures allow for constant-time ($O(1)$) calculation of sums and histograms over any rectangular region, regardless of window size. The final image is a weighted fusion of these scales, where weights are determined by local variance (derived from guided image filters) to ensure that flat areas stay smooth while textured areas maintain sharp details. The entire pipeline is implemented using Apple’s Metal API for massive parallelization on the mobile GPU.
Key Results and Discussion
The algorithm was evaluated on standard WDR benchmarks, achieving a Naturalness score of 0.8221 and a Structural Similarity score of 0.9213 on the Tone Mapped image Quality Index (TMQI). These results consistently outperform established algorithms by Durand et al. and Paris et al. On an iPhone 6 Plus, the system demonstrated impressive performance, processing 1080p content in roughly 637ms to 1016ms depending on the number of scales used.
Parameter Sensitivity
The algorithm's output is influenced by three primary parameters: the number of scales ($s$), the number of histogram bins ($n$), and the regularization term ($\epsilon$).
As shown in the parameter study, higher values of $n$ generally improve detail but increase computation. The $\epsilon$ term acts as a threshold for artifact suppression; it tells the algorithm when to trust local details and when to stick to the global look, effectively preventing "halo" artifacts in low-variance regions like clear skies.
Conclusion
By combining efficient data structures with HVS-inspired local adaptation, this method brings high-quality WDR processing to mobile platforms. While future work may focus on real-time video at 30+ FPS and further power optimization, the current implementation provides a significant leap forward for mobile computational photography.
Summary updated