Abstract
Under-Display Cameras (UDC) offer a seamless full-screen experience but suffer from significant image degradation due to the display panel's diffraction effects. This paper introduces SFIM (Spatial and Frequency Interactive learning in a Multi-level architecture), a novel restoration framework designed to address complex, image-wide flares. By strategically combining Convolutional Neural Networks (CNNs) for local spatial processing and Fast Fourier Transforms (FFT) for global frequency-domain analysis, SFIM effectively removes artifacts while preserving fine details. Evaluated on real-world datasets like UDC-SIT, SFIM achieves state-of-the-art performance, outperforming previous methods by significant margins in both quantitative metrics and visual quality.
Introduction: The Challenge of Under-Display Cameras
Smartphone design is trending toward truly full-screen displays, necessitating the placement of cameras behind the screen. However, the subpixel structure of the display panel acts as a diffraction grating, leading to low light transmittance and severe scattering. This results in noise, blur, and complex, spatially variant flares that often span the entire image.
Traditional restoration techniques using standard CNNs often fail because their local receptive fields cannot capture the global patterns of UDC flares. While Transformers offer long-range dependencies, they are computationally intensive. SFIM addresses these challenges by leveraging frequency-domain information to handle global degradations efficiently.
The SFIM Architecture
The proposed SFIM architecture employs a multi-level approach to balance local and global restoration tasks.
Multi-Level Domain Processing
- Spatial Domain Blocks (SDB): At the highest resolution (Level 1), SDBs utilize Residual Dense Blocks (RDBs) to focus on local degradations such as Gaussian noise and fine-grained blur.
- Frequency Domain Blocks (FDB): At lower resolutions (Levels 2-4), FDBs apply FFT-based operations. Since a single point in the frequency domain encapsulates information from the entire spatial image, these blocks are uniquely suited to identifying and neutralizing global flare patterns.
- Attention-based Multi-level Integration Block (AMIB): This component adaptively fuses features across all four levels using cross-domain attention (Channel and Spatial Attention), ensuring the network prioritizes regions most affected by degradation.
Hybrid Loss Function
To ensure high-fidelity reconstruction, the model is trained with a combination of Charbonnier loss for pixel accuracy, SSIM for structural similarity, and a specialized FFT loss. The FFT loss is crucial as it penalizes discrepancies in both the amplitude and phase of the image's frequency spectrum, which is vital for restoring sharp edges and correct brightness.
Key Insights: Why Frequency Matters
A central insight of this work is that while flares appear chaotic in the spatial domain, they manifest as distinct "peaks" in Fourier space. By targeting these peaks in the FDBs, the network can "see" and remove the flare more effectively than spatial-only models. Furthermore, ablation studies confirmed that incorporating Phase information in the FFT loss is essential for reconstructing structural details and sharp boundaries.
Experimental Results
SFIM was benchmarked against several datasets, including the challenging real-world UDC-SIT (captured using a Samsung Galaxy Z-Fold 3 panel) and synthetic datasets.
- Quantitative Performance: On the UDC-SIT dataset, SFIM achieved a PSNR of 29.61 dB, a significant 1.35 dB improvement over the previous state-of-the-art, ECFNet.
- Qualitative Quality: Visual results demonstrate SFIM's superior ability to eliminate "red flares" and unwanted artifacts around light sources, areas where Transformer-based models like SwinIR often struggle.
- Efficiency: SFIM maintains competitive inference times, making it a more viable candidate for mobile deployment compared to many heavy Transformer architectures.
Conclusion and Future Work
SFIM represents a significant step forward in UDC image restoration by successfully integrating spatial and frequency domain learning. While highly effective, future research may focus on reducing the memory overhead of the multi-level FFT architecture for real-time 4K video and improving generalization across different display subpixel layouts. Additionally, restoring images in extreme low-light UDC scenarios remains a challenging frontier.
Summary updated