Introduction
In computer vision, shadows often act as "data-destroyers," distorting colors and obscuring textures essential for tasks like object detection and 3D reconstruction. While traditional shadow removal focuses on local patches, Ambient Light Normalization (ALN) aims to standardize illumination across an entire scene, transforming harsh, directional lighting into uniform "softbox" illumination. Previous ALN methods often struggled with color bleeding or texture loss because they ignored the scene's underlying physical structure.
Methodology: Geometry-Aware Normalization
The core innovation of PromptNorm is the use of intrinsic scene geometry to guide the restoration process. Unlike transient lighting, the physical shape of a scene remains constant.
1. Geometry Extraction
The pipeline begins by estimating the scene's physical structure using a pre-trained monocular depth estimator (e.g., Depth Anything V2). From the resulting depth map, the system calculates surface normals—vectors describing the orientation of every point in the scene.
2. Geometry Guided Transposed Attention (GGTA)
The technical heart of PromptNorm is the Geometry-Aware Transformer Block. Standard transformers use self-attention, but PromptNorm introduces GGTA, which uses surface normals as the "Query" (Q) and image features as the "Key" (K) and "Value" (V). By using geometry as the Query, the model essentially asks: "Based on the physical orientation of this surface, what should the lighting look like here?"
Results and Performance
PromptNorm was evaluated on several benchmarks, most notably Ambient6K. It achieved a state-of-the-art PSNR of 22.116 dB, outperforming previous methods like IFBlend by 0.67 dB. The model also ranked 4th overall in the NTIRE 2025 Ambient Lighting Normalization challenge.
Qualitatively, PromptNorm excels at preserving the original colors of glossy and metallic materials, which are often discolored by frequency-based normalization techniques. Furthermore, the framework proves robust even when using lightweight, less accurate depth estimators, demonstrating that even coarse geometric data significantly aids the normalization process.
Conclusion and Future Work
By anchoring image restoration to intrinsic geometric properties, PromptNorm provides a physically intuitive solution to the complex problem of ambient light normalization. While the current model relies on external depth estimators, future work may involve integrating photometric components like albedo to further bridge the gap toward perfect scene normalization.
Summary updated