TL;DR
Researchers from Peking University have introduced the Joint Implicit Image Function (JIIF), a novel representation that treats guided depth super-resolution as a neural interpolation problem. By using a graph attention mechanism to learn both interpolation weights and values from local latent codes, JIIF significantly outperforms existing state-of-the-art methods in producing sharp, noise-free, high-resolution depth maps.
What Problem Does This Paper Address?
Depth maps are essential for 3D reconstruction and scene understanding, but high-quality depth sensors are expensive and often produce low-resolution (LR), noisy outputs. In contrast, standard RGB cameras are cheap and high-resolution (HR). Guided Depth Super-Resolution (GDSR) aims to use a high-res RGB "guide" image to help upsample a low-res depth map.
Existing approaches generally fall into two camps:
- Filtering-based methods: These use explicit mathematical filters (like bilateral filters) to transfer structures from the RGB image to the depth map. They are interpretable but often "leak" incorrect textures if the RGB and depth structures don't perfectly align.
- Regression-based methods: These use deep CNNs to directly predict HR pixels. While powerful, they often lack interpretability and struggle to generalize to different datasets or noise levels.
The authors identify a gap: how can we combine the flexibility of neural networks with the geometric intuition of image interpolation?
Methods
The core innovation is the Joint Implicit Image Function (JIIF). Instead of predicting a grid of pixels, JIIF represents an image as a continuous function.
Key components include:
- Neural Implicit Interpolation: Unlike standard bilinear interpolation which uses fixed distance-based weights, JIIF treats the four nearest neighbors of a query point as nodes in a graph.
- Joint Latent Codes: The model uses two encoders (based on the EDSR architecture) to extract feature maps (latent codes) from both the HR RGB guide and the LR depth input.
- Graph Attention Mechanism: A multi-layer perceptron (MLP) acts as the "decoder." It takes the latent codes and relative coordinates as input to calculate both the interpolation value and the interpolation weight for each neighbor.
- Unified Learning: By predicting weights and values together in one function, the model exploits the correlation between the two, leading to more robust edge preservation.
Datasets
The authors evaluated JIIF on several standard benchmarks to test both accuracy and generalization:
- NYU v2: A large-scale dataset of indoor scenes used for training and primary evaluation.
- Middlebury & Lu Datasets: Used strictly for testing to see how well the model generalizes to data from different sensors without fine-tuning.
- Noisy Middlebury: A variant where synthetic Gaussian noise is added to the LR input to test the model's robustness.
Key Insights and Ideas
- Weights should be learned, not fixed: Traditional upsampling assumes that a pixel's value is a simple average of its neighbors. JIIF realizes that if a query point sits on an edge, it should "pay more attention" to neighbors on the same side of that edge. The graph attention mechanism allows the model to dynamically adjust these weights based on the RGB guide.
- Value-Weight Correlation: The paper demonstrates that learning interpolation weights and values in a single unified MLP is more effective than using separate branches. This "joint" approach reduces parameter count and improves performance.
- Implicit is Continuous: Because JIIF defines the image as a function of coordinates, it can theoretically upsample to any resolution (though the paper focuses on $\times4$, $\times8$, and $\times16$ factors).
Key Results
JIIF achieved state-of-the-art results across all tested benchmarks:
- Accuracy: On the NYU v2 dataset at $\times16$ upsampling, JIIF achieved an average RMSE of 5.27, significantly beating the previous best (DKN at 6.51).
- Generalization: Even when trained only on NYU v2, JIIF outperformed other methods on the Middlebury and Lu datasets, proving it isn't just "memorizing" one specific camera's characteristics.
- Noise Robustness: In the noisy depth task, JIIF was much better at suppressing artifacts and restoring sharp boundaries compared to traditional regression models, which often blurred the edges.
- Qualitative Sharpness: Visual comparisons show that JIIF avoids the "texture copying" problem (where RGB patterns are erroneously imprinted onto the depth map) while maintaining much sharper object boundaries than bicubic interpolation.
Limitations and Future Work
While JIIF is highly effective, the authors and the nature of the work suggest a few areas for growth:
- Computational Overhead: Like most implicit neural representations, JIIF requires running an MLP for every single pixel in the target HR image. This can be slower than a single-pass convolutional feed-forward network during inference.
- Alignment: The method currently uses bicubic interpolation to align HR and LR latent codes before feeding them to the decoder. More sophisticated alignment or multi-scale latent codes could potentially improve results further.
- Unsupervised Learning: The current model requires HR ground truth depth for training. Exploring how to train JIIF in an unsupervised or self-supervised manner (perhaps using stereo consistency) would be a valuable next step.
Summary updated