NaCR: Visual Localization via NeRF-aided Camera Ray Regression
Abstract
Visual localization (VL) is a fundamental technology for vision applications such as virtual reality. Recently, a novel VL paradigm, Camera Ray Regression (CRR), has emerged, which maps 2D image patches to 3D camera rays, but its accuracy is limited. To improve CRR accuracy, we notice a compelling duality: the inverse of this mapping is inherently performed by the novel view synthesis model, , Neural Radiance Fields (NeRF). While NeRF renders image patches from camera rays via differentiable ray marching, CRR predicts the rays from image patches. Motivated by this complementary relationship, we propose NeRF-aided Camera Ray Regression (NaCR), a unified framework that seamlessly bridges NeRF and CRR at the ray level. First, NaCR incorporates three simple yet effective enhancements into the CRR baseline. Second, leveraging a pre-trained NeRF, NaCR augments the training data by synthesizing novel views tailored for efficient, patch-level consumption. Finally, exploiting the differentiability of NeRF, NaCR forms a closed-loop supervision pipeline where photometric rendering errors are back-propagated to optimize the predicted camera rays. To ensure stable convergence within the highly non-convex image space, we introduce a two-stage training curriculum. Extensive experiments across indoor and outdoor benchmarks demonstrate that NaCR achieves competitive accuracy. Comprehensive ablation studies validate the efficacy of each proposed component.
Create a lesson
Metadata
- Comments
- v0
Related papers
AnyCam: Anything Can Represent Camera for Video Generation
Shared title terminologycs.CVWeijie Lyu, Zhixin Shu, Yuntian Ke et al.
Tracking Any Point with Agentic Visual Reasoning
Shared title terminologycs.CVXuweiyi Chen, Jin Yao, Linzhan Mou et al.
Probing Visual Idiosyncrasies in Text-to-Image Models
Shared title terminologycs.CVYongqian Peng, Hongjie Li, Yichao Zhou et al.
Solve Vision with Code: Coding Agents Are Stronger Visual Reasoners Than Video Models
Shared title terminologycs.CVDezhi Luo, Fengyuan Yu, Haotian Zhang et al.
HOG-WAM: Improving Visual Robustness through Future Gradient Prediction
Shared title terminologycs.CVBoxuan Dong, Yupeng Qian, Ying Wu et al.
Reading, Not Adapting: Unlocking Frozen Visual Knowledge for AI-Generated Image Detection
Shared title terminologycs.CVYuncheng Guo, Ying Dong, Xiaodong Gu