Abstract
Neural Radiance Fields (NeRF) have revolutionized 3D scene reconstruction from 2D images. However, reconstructing landmarks from "in-the-wild" internet photo collections remains challenging due to transient occluders like tourists and vehicles, which cause "ghosting" artifacts and detail loss. We present IE-NeRF (Inpainting Enhanced Neural Radiance Fields), a framework that integrates a deep inpainting module and a frequency-based training strategy to effectively separate static scene geometry from transient noise. By leveraging 2D inpainting as a supervisory signal within the 3D learning loop, IE-NeRF produces cleaner, high-fidelity 3D models from inconsistent image sets.
Introduction: The Challenge of Transient Occluders
Standard NeRF formulations assume a perfectly static scene. When applied to unstructured photo collections (e.g., from Flickr), varying lighting and moving objects lead to significant reconstruction errors. Previous approaches, such as NeRF-W, attempted to model these inconsistencies using separate volumetric fields, but often failed to achieve clean disentanglement, resulting in blurry, semi-transparent artifacts. IE-NeRF shifts this paradigm by treating transient removal as an integrated inpainting problem.
Methodology: The IE-NeRF Framework
The IE-NeRF architecture treats the removal of transient objects as an inpainting problem integrated directly into the 3D learning loop. The framework consists of three core components:
- Dual-Output MLP: Unlike standard NeRFs, IE-NeRF predicts static properties (color, density) alongside a 2D transient mask. This mask identifies temporary elements, such as pedestrians or vehicles.
- Inpainting Module (LaMa): The framework uses the predicted mask to "cut out" moving objects from the original photo. A pre-trained inpainting model, LaMa, then fills these regions with a plausible background estimation. This repaired image serves as a cleaner ground truth for the NeRF to learn from.
- Frequency Regularization (RegFre-IPE): To prevent the model from overfitting to high-frequency transient noise early in training, a frequency-based scheduling strategy is employed. By starting with low-frequency information and gradually "fading in" high frequencies, the model locks onto the stable static structure before being distracted by transient details.
Experimental Evaluation
IE-NeRF was evaluated on the Phototourism dataset, featuring iconic landmarks like the Brandenburg Gate and the Taj Mahal. These datasets are notoriously difficult due to extreme variations in lighting and crowd density.
- Quantitative Results: On the Brandenburg Gate scene, IE-NeRF achieved a PSNR of 25.33, significantly outperforming NeRF-W (24.17) and HA-NeRF (24.04). It also showed superior performance in structural similarity (SSIM) and perceptual quality (LPIPS).
- Qualitative Results: Visual comparisons demonstrate that IE-NeRF produces much sharper textures on buildings and successfully removes the "ghosting" artifacts that plague other models. For instance, in the Taj Mahal scene, it correctly reconstructed water reflections while ignoring tourists on the walkways.
Conclusion and Future Work
IE-NeRF provides a robust solution for 3D reconstruction in dynamic, uncontrolled environments. By combining 2D inpainting priors with frequency-aware 3D learning, it achieves a cleaner separation of static and transient elements than previous state-of-the-art methods. Future research will explore refining camera poses during training and adapting the model for "few-shot" scenarios with limited available imagery.
Reference: Wang, S., Xu, H., Li, Y., Chen, J., & Tan, G. (2024). IE-NeRF: Inpainting Enhanced Neural Radiance Fields in the Wild. arXiv:2407.10695v2.
Summary updated