Depth Image Rectification Based on an Effective RGB–Depth Boundary Inconsistency Model

Hao Cao, Xin Zhao, Ang Li, Meng YangElectronics 2024

TL;DR

This paper introduces a novel method for rectifying distorted object boundaries in depth images by leveraging corresponding RGB images. Their approach uses an "RGB-Depth boundary inconsistency model" to identify erroneous depth pixels near boundaries and then corrects them using a weighted mean filter, significantly improving depth image quality.

What Problem Does This Paper Address?

Depth images are crucial for many 3D applications like reconstruction and SLAM. However, both depth sensors and estimation methods often produce distorted or incomplete depth information, particularly around object boundaries. This leads to inaccuracies that can negatively impact downstream tasks. While RGB-guided depth recovery methods exist, they often struggle to precisely correct these boundary distortions. This paper aims to specifically address the problem of erroneous object boundaries in depth images by developing a model that leverages the complementary information from RGB images.

Methods

The core of the proposed method lies in two main components:

  1. RGB-Depth Boundary Inconsistency Model: This model quantifies whether a pixel in a depth image and its corresponding pixel in an RGB image belong to the same object. It works by:
  2. Extracting image structures using Gaussian functions for both RGB and depth images.
  3. Statistically determining inconsistency within large local windows. Pixels are considered inconsistent if their corresponding regions in RGB and depth images don't align well, indicating a potential boundary error in the depth image.
  4. The inconsistency is measured by accumulating the product of weights from both RGB and depth structure maps within a large window. A normalized inconsistency score is then calculated.
  5. A threshold is applied to this score to classify pixels as consistent or inconsistent, identifying erroneous pixels in the depth image.
  6. Depth Image Rectification Method: The identified erroneous pixels are then corrected using a Weighted Mean Filter (WMF). The key innovation here is how the WMF weights are designed:
  7. For pixels identified as erroneous by the inconsistency model, their weights in the WMF are significantly reduced (effectively inactivated), preventing them from influencing the output.
  8. For pixels identified as consistent, their weights are determined by the standard WMF approach, leveraging both RGB and depth information.
  9. The final weight for each pixel in the WMF is a combination of these two cases, weighted by the inconsistency score. This ensures that erroneous pixels are ignored, while correct pixels contribute to the rectification process.

Datasets

The experiments were conducted on two public datasets:

  • MPEG dataset: A standard dataset for depth image processing.
  • Middlebury dataset: A widely used benchmark for stereo matching and depth estimation.

The paper does not introduce new datasets.

Key Insights and Ideas

  • Leveraging RGB for Boundary Correction: The fundamental insight is that RGB images, which typically have accurate object boundaries, can serve as a strong guide to correct the often-distorted boundaries in depth images.
  • Large Window for Inconsistency Detection: Using large local windows for inconsistency measurement is crucial. This allows the model to capture broader structural alignments (or misalignments) between RGB and depth, which is more effective for identifying boundary errors than small, localized checks.
  • Inactivating Erroneous Pixels: Instead of trying to "fix" erroneous depth pixels directly, the proposed method effectively "ignores" them during the filtering process by setting their weights to near zero. This is a simpler and more robust approach.
  • WMF as a Flexible Framework: The Weighted Mean Filter is shown to be a suitable and effective framework for integrating the RGB-Depth boundary inconsistency model, demonstrating the modularity of their approach.

Key Results

  • Quantitative Improvement: The proposed method significantly improves depth image quality. On the Middlebury dataset, it achieved an average RMSE reduction of 2.91 compared to seven baseline methods. The SSIM was also improved by an average of 0.029.
  • Qualitative Improvement: Visual results show that the proposed method effectively removes erroneous pixels and blurs near object boundaries, resulting in sharper and more accurate depth maps. This is particularly evident in challenging areas with fine object details.
  • Outperforms Baselines: The method outperforms recent optimization-based and learning-based methods, especially in rectifying erroneous object boundaries. It reduced the number of erroneous pixels by 75-86.6% compared to baseline methods.

Limitations and Future Work

  • Robustness: The authors acknowledge that the robustness of the method needs to be improved.
  • Learning-Based Integration: They suggest that combining their developed model with learning-based methods could further enhance accuracy. This implies that while their current method is effective, integrating it into deep learning architectures might yield even better results.
  • Parameter Sensitivity: While parameter analysis was performed, the optimal parameters might still be dataset-dependent. The paper provides specific parameter values that worked well on their tested datasets.

Summary updated

BibTeX
@inproceedings{cao2024depth,
  author = {Hao Cao and Xin Zhao and Ang Li and Meng Yang},
  title = {{Depth Image Rectification Based on an Effective RGB–Depth Boundary Inconsistency Model}},
  booktitle = {Electronics},
  year = {2024},
  doi = {10.3390/electronics13163330},
}

Loading related content...

Figure