IDDR-NGP: Incorporating Detectors for Distractor Removal with Instant Neural Radiance Field

Xianliang Huang, Jiajie Gou, Shuhang Chen, Zhizhou Zhong, Jihong Guan, Shuigeng Zhou · DOI · OpenReview

TL;DR

This paper introduces IDDR-NGP, a novel method for removing various visual distractors from 3D scenes by integrating 2D object detectors with Instant Neural Radiance Fields (Instant-NGP). By leveraging both explicit object detection and implicit scene representation, IDDR-NGP can efficiently restore corrupted 3D scenes, outperforming existing methods in robustness and generalization.

What Problem Does This Paper Address?

Capturing realistic 3D scenes often results in unwanted visual elements, or "distractors," such as snowflakes, confetti, or fallen leaves. These distractors can significantly degrade the quality and usability of 3D scene reconstructions for various computer vision tasks. While methods exist for removing specific types of distractors (e.g., snow), a unified approach capable of handling a diverse range of unwanted elements in 3D scenes, especially from multi-view images, has been lacking. Existing methods often require specialized designs for each distractor type or struggle with the complexity of 3D scene reconstruction.

Methods

IDDR-NGP builds upon the Instant-NGP framework, which efficiently represents 3D scenes using multi-resolution hash encodings. The core innovation lies in integrating 2D object detectors (specifically YOLOv5) to identify distractor regions within input images. These detected bounding boxes are then used to guide the rendering process.

Key methodological contributions include:

  • Detector Integration: 2D object detectors are employed to generate bounding boxes for distractors. These boxes are then used to mask out or modify the corresponding regions during the 3D scene reconstruction.
  • Modified Rendering Strategy: The Instant-NGP rendering pipeline is adapted to avoid rendering pixels within the detected distractor bounding boxes. This is achieved by modifying the feature vectors used for radiance and density regression.
  • Novel Loss Functions:
    • Learned Perceptual Image Patch Similarity (LPIPS) Loss: This loss helps ensure that the restored regions are perceptually similar to the ground truth, improving visual quality and detail.
  • Multi-View Compensation Loss (MVCL): This loss encourages consistency across different views by compensating for regions that are not occluded by distractors, thereby improving the overall 3D consistency of the reconstructed scene.
  • Unified Framework: The method is designed to be end-to-end trainable, allowing for efficient optimization and synthesis of high-quality 3D scenes.

Datasets

The authors created a new benchmark dataset for distractor removal. This dataset includes:

  • Synthetic Scenes: Distractors (snowflakes, petals, defoliation) were added to existing synthetic datasets like DTU and LLFF.
  • Realistic Scenes: Distractors (confetti) were added to real-world captured images.

The dataset consists of multi-view images with corresponding annotated labels for the distractors, enabling quantitative and qualitative evaluation of distractor removal methods.

Key Insights and Ideas

  • The Power of Integration: Combining explicit 2D object detection with implicit 3D scene representations (like NeRF variants) is a powerful strategy for tackling complex scene restoration tasks. Detectors provide precise localization, while NeRFs offer robust 3D scene understanding.
  • Beyond Single-Distractor Solutions: The success of IDDR-NGP in handling diverse distractors (snow, confetti, petals) highlights the need for more generalized approaches in 3D scene restoration.
  • Perceptual and Multi-View Consistency are Crucial: The introduction of LPIPS and MVCL losses demonstrates that simply removing distractors isn't enough; the restored areas need to be perceptually plausible and geometrically consistent with the rest of the scene.
  • Speeding Up NeRFs for Practical Applications: Leveraging Instant-NGP's efficient hash encoding significantly accelerates the training process, making NeRF-based distractor removal more practical.

Key Results

  • Robust Distractor Removal: IDDR-NGP successfully removes various types of distractors (snowflakes, confetti, petals, defoliation) from both synthetic and realistic scenes.
  • State-of-the-Art Performance: The method achieves results comparable to or better than existing SOTA desnowing methods on synthetic datasets.
  • Quantitative Improvements: On realistic scenes with confetti, IDDR-NGP significantly outperforms baseline inpainting methods (e.g., 36% and 54% superior in PSNR compared to IDDR-Inpainting²).
  • Faster Training: By utilizing Instant-NGP's multi-resolution hash encoding, IDDR-NGP achieves significantly faster training times compared to traditional NeRF methods (e.g., 10 hours for IDDR-NeRF vs. ~15 minutes for IDDR-NGP on a single RTX3090).

Limitations and Future Work

  • Reliance on Detector Accuracy: The performance of IDDR-NGP is inherently tied to the accuracy of the underlying 2D object detectors. Inaccurate detections or missing masks can lead to imperfect results.
  • Handling Static Distractors: The method is not designed to remove large-scale static distractors that are present consistently across all views.
  • Monocular Video Challenges: Obtaining accurate mask labels from monocular videos remains a challenge.
  • Future Directions:
    • Exploring advanced detection models to improve robustness.
  • Investigating methods like the Segment Anything Model (SAM) to reduce reliance on manual annotation or improve mask generation.
  • Developing approaches that detach from explicit detection algorithms for fully automatic distractor removal.

Summary updated

BibTeX
@inproceedings{huang2023iddr,
  author = {Xianliang Huang and Jiajie Gou and Shuhang Chen and Zhizhou Zhong and Jihong Guan and Shuigeng Zhou},
  title = {{IDDR-NGP: Incorporating Detectors for Distractor Removal with Instant Neural Radiance Field}},
  booktitle = {ACM Multimedia},
  year = {2023},
  url = {https://openreview.net/forum?id=l4YOs3AJIX},
}
Figure