NeRF-MIR: Towards High-Quality Restoration of Masked Images with Neural Radiance Fields
Xianliang Huang, Zhizhou Zhong, Shuhang Chen, Yi Xu, Juhong Guan, Shuigeng Zhou
TL;DR
This work addresses masked image restoration in multi-view scenes by introducing NeRF-MIR, a NeRF-based framework that restores occluded regions through a patch-aware ray-emitting strategy (PERE), a self-training progressive restoration process (PIRE), and a dynamically weighted loss that gradually emphasizes masked regions. By rebalancing ray allocation toward textured patches and iteratively refining masked content using multi-view consistency, NeRF-MIR achieves substantial improvements over both 2D inpainting baselines and prior NeRF-based restoration methods. The authors construct three masked datasets (LLFF-M, Spaces-M, Blender-M) and demonstrate that NeRF-MIR yields higher PSNR/SSIM and lower LPIPS, while also producing plausible novel-view synthesis in masked scenarios. Overall, the approach advances 3D-aware restoration with NeRFs and shows practical potential for cleaning distractors in real-world scenes.
Abstract
Neural Radiance Fields (NeRF) have demonstrated remarkable performance in novel view synthesis. However, there is much improvement room on restoring 3D scenes based on NeRF from corrupted images, which are common in natural scene captures and can significantly impact the effectiveness of NeRF. This paper introduces NeRF-MIR, a novel neural rendering approach specifically proposed for the restoration of masked images, demonstrating the potential of NeRF in this domain. Recognizing that randomly emitting rays to pixels in NeRF may not effectively learn intricate image textures, we propose a \textbf{P}atch-based \textbf{E}ntropy for \textbf{R}ay \textbf{E}mitting (\textbf{PERE}) strategy to distribute emitted rays properly. This enables NeRF-MIR to fuse comprehensive information from images of different views. Additionally, we introduce a \textbf{P}rogressively \textbf{I}terative \textbf{RE}storation (\textbf{PIRE}) mechanism to restore the masked regions in a self-training process. Furthermore, we design a dynamically-weighted loss function that automatically recalibrates the loss weights for masked regions. As existing datasets do not support NeRF-based masked image restoration, we construct three masked datasets to simulate corrupted scenarios. Extensive experiments on real data and constructed datasets demonstrate the superiority of NeRF-MIR over its counterparts in masked image restoration.
