Residual Aligned: Gradient Optimization for Non-Negative Image Synthesis

Flora Yu Shen, Katie Luo, Guandao Yang, Harald Haraldsson, Serge J. BelongiearXiv 2022

Introduction

Optical See-Through (OST) Augmented Reality (AR) headsets, such as the Microsoft HoloLens, face a fundamental hardware constraint: their projectors can only add light to the user's field of view. They lack the physical capability to project "black" or subtract light from the real-world background. This "additive-only" limitation makes it extremely difficult to display dark objects or maintain high contrast against bright environments. Previous solutions, like the "StayPositive" framework, relied on global normalization to create optical illusions of darkness, but these often failed to preserve lightness constancy, leading to "washed out" images in high-resolution or high-dynamic-range (HDR) scenarios.

Methodology: Residual Aligned Optimization

To address these challenges, we propose Residual Aligned, a gradient-based optimization method that prioritizes local contrast over absolute pixel values.

Gradient Matching

Rather than attempting to match the absolute brightness of a target image—which is physically impossible in bright settings—our model optimizes a "residual" image so that its gradients (edges and transitions) match those of the target. This approach leverages the human visual system's high sensitivity to local changes, allowing the brain to perceive intended contrast and "fill in" dark details.

Loss Functions and Optimization

The optimization process utilizes a dual-component loss function:

  • Feasibility Constraint ($L_{const}$): A soft constraint ensuring the residual image remains within a physically realizable, non-negative range.
  • Perceptual Similarity ($L_{grad}$): This component uses the Sobel Operator to calculate gradients across RGB channels, minimizing the difference between the gradients of the AR output and the desired proposal image.
The Residual Aligned optimization pipeline for Optical See-Through displays, illustrating the gradient-matching process.

Unlike methods using global parameters, Residual Aligned treats every pixel as an optimizable parameter, enabling precise control over high-frequency details and textures.

Evaluation and Key Results

The method was evaluated using the Day2Night dataset for HDR robustness and high-resolution images like "The Last Supper" (4000x1000 pixels) to test detail preservation.

Performance Metrics

In HDR tests (Day2Night), Residual Aligned achieved a PSNR of 18.6 and a significantly improved LPIPS (perceptual loss) of 0.133, outperforming the previous state-of-the-art, StayPositive (PSNR 17.6, LPIPS 0.2704). On high-resolution tasks, the method maintained a low LPIPS of 0.100, demonstrating superior preservation of fine textures.

Qualitative comparison on "The Last Supper" image. Residual Aligned (Ours) preserves fine details and textures that are blurred or lost in previous methods.

Discussion

Key Insights

  • Hacking Perception: By accurately reproducing the rate of change in brightness, we can trick the eye into perceiving contrast even when physical light levels are high.
  • Local vs. Global: Global normalization fails in HDR because a single bright spot can degrade contrast across the entire image. Local optimization maintains lightness constancy relative to a pixel's immediate neighborhood.

Limitations and Future Work

While effective for high-resolution images, the method offers less advantage for very small images where global methods may be more efficient. Future work includes incorporating more complex optical models of projector-world interaction and integrating gradient-matching losses into deep learning architectures for real-time video synthesis.

Summary updated

BibTeX
@misc{shen2022residual,
  author = {Flora Yu Shen and Katie Luo and Guandao Yang and Harald Haraldsson and Serge J. Belongie},
  title = {{Residual Aligned: Gradient Optimization for Non-Negative Image Synthesis}},
  year = {2022},
  eprint = {2202.04036},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.04036},
}
Figure