Deformable kernel networks for guided depth map upsampling

Beomjun Kim, Jean Ponce, Bumsub HamarXiv 2019

Abstract

High-quality depth map upsampling is essential for accurate 3D scene understanding. We introduce Deformable Kernel Networks (DKN), a novel approach that learns to adaptively sample neighboring pixels for depth aggregation. Unlike fixed-grid convolutions, DKN predicts spatially-variant weights and sampling offsets, allowing it to avoid object boundaries and prevent texture copying. Our results demonstrate a 30-50% reduction in RMSE over state-of-the-art methods. Furthermore, we propose a fast variant (FDKN) that achieves a 17x speedup, enabling real-time processing at 100 FPS.

Introduction

Depth sensors like the Microsoft Kinect provide valuable 3D information but often produce low-resolution (LR) outputs with significant noise. To obtain high-resolution (HR) depth maps, researchers typically use a registered HR color image as a "guide." The primary challenge in guided upsampling is transferring sharp structural details from the color image without introducing artifacts like "texture copying" or "halo" effects at object boundaries.

Traditional hand-crafted filters and standard deep learning regression models often struggle with these issues. Direct regression, in particular, can fail to maintain sharp boundaries. We address these limitations by proposing a network that learns the sampling geometry itself.

Methodology

The core innovation of the Deformable Kernel Network (DKN) is its move away from rigid grid-based kernels. Instead of regressing depth values directly, the network learns to predict a set of neighbors and their corresponding weights for each pixel.

Deformable Sampling

For every pixel in the target depth map, the DKN outputs:

  1. Spatially-variant weights: Determining the contribution of each sampled neighbor.
  2. Sampling offsets: Determining the precise coordinates of those neighbors.

By learning offsets, the network can "deform" its kernel to pick pixels that belong to the same semantic surface, effectively avoiding samples across depth discontinuities. This sparse sampling strategy (using only 9 points) proves more effective than using large fixed neighborhoods.

The DKN architecture consists of feature extraction from guidance and target images, followed by weight and offset regression to perform weighted averaging of sampled pixels.

Fast DKN (FDKN)

To address the computational overhead of the original DKN, we introduce FDKN. By resampling input images into a lower-resolution space with increased channel depth, FDKN computes all kernel weights and offsets in a single efficient forward pass, significantly reducing runtime without sacrificing substantial accuracy.

Experimental Results

We evaluated DKN and FDKN on standard benchmarks including NYU v2, Middlebury, and Sintel.

Accuracy and Efficiency

DKN consistently outperforms previous state-of-the-art methods (e.g., DJFR, DMSG), reducing the Root Mean Squared Error (RMSE) by 30% to 50%. As shown in the performance analysis, DKN variants occupy the "sweet spot" of low error and high speed.

Performance comparison of various depth upsampling methods. DKN and its fast variant FDKN achieve significantly lower RMSE while maintaining competitive runtimes, especially on GPU.

FDKN achieves a remarkable 17x speedup over the base DKN, processing a standard $640 \times 480$ image in approximately 0.01 seconds on a modern GPU. This makes it suitable for real-time applications requiring high-fidelity depth enhancement.

Generalization

The model demonstrates strong generalization capabilities. When trained on indoor scenes (NYU v2), it maintains high performance on synthetic data (Sintel) and different hardware (Lu dataset), indicating that it learns robust geometric priors rather than dataset-specific artifacts.

Conclusion

Deformable Kernel Networks represent a significant step forward in guided image filtering. By learning where to sample, rather than just how to weight a fixed grid, DKN achieves superior edge preservation and artifact reduction. The introduction of FDKN further bridges the gap between high-accuracy research models and practical, real-time deployment. Future work will explore the application of deformable kernels to other cross-modality tasks such as optical flow and semantic segmentation refinement.

Summary updated

BibTeX
@misc{kim2019deformable,
  author = {Beomjun Kim and Jean Ponce and Bumsub Ham},
  title = {{Deformable kernel networks for guided depth map upsampling}},
  year = {2019},
  eprint = {1903.11286},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.11286},
}
Figure