Abstract
Light Field (LF) cameras capture rich 4D information, representing both the intensity and direction of light rays. Super-resolving these images requires effectively exploiting both angular (inter-view) and spatial (intra-view) redundancies. We propose the Light Field Transformer (LFT), a novel architecture that leverages self-attention to model these dependencies. By alternating between specialized Angular and Spatial Transformers, LFT captures global context and geometric relationships more effectively than traditional CNNs. Our model achieves state-of-the-art performance across five public datasets with significantly fewer parameters and lower computational overhead.
Introduction
Light field imaging provides a grid of Sub-Aperture Images (SAIs), each offering a unique viewpoint of a scene. This 4D data structure is invaluable for applications like post-capture refocusing and depth estimation. However, the inherent trade-off between spatial and angular resolution in LF cameras often necessitates super-resolution (SR).
Existing CNN-based methods face two primary challenges: they often fail to integrate information from all views simultaneously, and their local receptive fields limit their ability to capture long-range spatial textures. This is particularly problematic in scenes with complex occlusions or non-Lambertian surfaces.
The Light Field Transformer (LFT)
The LFT architecture treats LF super-resolution as a sequence-to-sequence modeling task, consisting of three stages: initial feature extraction, transformer-based feature incorporation, and up-sampling.
Angular and Spatial Transformers
The core innovation lies in the alternating transformer blocks:
- Angular Transformer: Treats viewpoints as tokens. It uses Multi-Head Self-Attention (MHSA) and angular positional encoding to learn correlations between different views, regardless of their spatial distance in the camera grid.
- Spatial Transformer: Captures intra-view context. It employs "feature unfolding" (a $3 \times 3$ neighborhood embedding) followed by MHSA across spatial tokens, allowing the model to utilize distant textures for reconstruction.
Positional encoding is crucial in both blocks, providing the geometric context necessary for the Transformer to understand the 4D structure of the light field.
Experimental Results
The LFT was evaluated on five widely recognized datasets: EPFL, HCInew, HCIold, INRIA, and STFgantry. The model consistently outperformed existing methods in both $2\times$ and $4\times$ SR tasks.
Performance and Efficiency
As shown in the quantitative results, LFT achieves the highest PSNR and SSIM scores across all benchmarks. Notably, on the complex STFgantry dataset, LFT outperformed the next best method by 0.65 dB, demonstrating its superior ability to handle large disparity variations and complex structures.
Despite its performance, LFT is highly efficient. It utilizes only 1.11M parameters, which is approximately 1/4th the size of previous top-performing models like LF-IINet (4.84M). Furthermore, it reduces FLOPs by nearly 50% compared to LF-IINet for $2\times$ SR tasks.
Qualitative Analysis
Visual comparisons reveal that LFT preserves sharper edges and finer details. In the "Sculpture" and "Buddha" examples, LFT avoids the blurring and distortion artifacts common in CNN-based reconstructions, particularly in regions with intricate textures or depth discontinuities. The model's ability to "look" across the entire 4D volume allows it to fill in occluded regions more accurately by referencing other viewpoints.
Conclusion
The Light Field Transformer represents a significant step forward in LF image super-resolution. By replacing local convolutions with global self-attention tailored to the 4D LF structure, LFT achieves superior accuracy and efficiency. Future work may explore scaling this architecture to higher resolutions or extending it to video light field super-resolution through additional temporal transformer blocks.
Summary updated