利用基礎模型之兩階段大規模2D圖像至3D點雲視覺定位
Two-Staged Large-Scale 2D Image to 3D Point Cloud Visual Localization with Foundation Models
摘要
Visual localization seeks to recover a camera pose of a query image with respect to a 3D map, enabling applications such as indoor navigation and AR without GPS. Classical image-based pipelines build SfM or MVS maps and localize via 2D-3D correspondences and PnP/RANSAC, but they are costly to construct descriptors and degrade under appearance or structural changes. Recent image-to–point cloud approaches try to learn 2D-to-3D matching, but remain sensitive to cross-modality mismatch during retrieval and can be hard to train end-to-end at scale. In this work, we propose FMI2P-Loc, a two-stage framework that narrows the 2D-3D gap by using foundation models. Stage 1 generates a reconstructed point cloud from the query image via 3D reconstruction foundation model, aligns it to the database, and performs 3D-to-3D retrieval with learned global descriptors, avoiding cross-modality errors in the coarse stage. Stage 2 uses depth estimation foundation model to build depth map and use a fusion transformer to combine RGB and depth, followed by the pose regressor and the confidence estimator, dispensing with explicit correspondence building. On the 2D-3D-S indoor benchmark, FMI2P-Loc achieves state-of-the-art localization accuracy and outperforming not only traditional image-based, image-to-RGB-D methods but also recent image-to-point cloud approaches. Critically, our method greatly improves accuracy at the strictest threshold by 3.8 % over the latest image-to–point cloud method in the most challenging situation (85.24 % → 89.05 %), which evidences that FMI2P-Loc has better stability and cross-area generalization.
視覺定位(Visual Localization)旨在對一張查詢影像,於既有 3D 地圖下恢復其 6-DoF 相機位姿,讓室內導航與 AR 等應用在無 GPS 的情況下仍可運作。傳統影像式流程會建立 SfM/MVS 地圖並透過 2D-3D 對應與 PnP/RANSAC 進行定位,但在大量描述子建置與維護上成本高,且在外觀或結構變化下易退化。近年的 image-to– point cloud 方法嘗試學習 2D-3D 對應,但在粗檢索階段仍受跨模態不匹配影響,且難以在大規模情境中端到端穩定訓練。本文提出 FMI2P-Loc,一個運用基礎模型縮小 2D-3D 落差的兩階段框架。階段一利用 3D 重建基礎模型由查詢影像生成重建點雲,與資料庫對齊並以全域描述子進行 3D-3D 檢索,避免粗階段的跨模態錯誤。階段二使用深度估計基礎模型產生深度圖,以 transformer 結合 RGB 與深度,後接位姿回歸與信心估計,無須建立 2D– 3D 對應。在 2D-3D-S 室內資料集上,FMI2P-Loc 達到最先進的定位準確度,不僅優於傳統 image-based 與 image-to RGB-D 方法,也勝過近期的 image-to-point cloud 方法。更關鍵 的是,在最具挑戰的情境下,於最嚴格閾值的準確率相較最新 image-to– point cloud 方法提升 3.8 個百分點(85.24% →89.05%),顯示 FMI2P-Loc 具備更佳的穩定性與跨區域泛化能力。