Yes, we CANN: Constrained Approximate Nearest Neighbors for local feature-based visual localization

06/15/2023
by   Dror Aiger, et al.
0

Large-scale visual localization systems continue to rely on 3D point clouds built from image collections using structure-from-motion. While the 3D points in these models are represented using local image features, directly matching a query image's local features against the point cloud is challenging due to the scale of the nearest-neighbor search problem. Many recent approaches to visual localization have thus proposed a hybrid method, where first a global (per image) embedding is used to retrieve a small subset of database images, and local features of the query are matched only against those. It seems to have become common belief that global embeddings are critical for said image-retrieval in visual localization, despite the significant downside of having to compute two feature types for each query image. In this paper, we take a step back from this assumption and propose Constrained Approximate Nearest Neighbors (CANN), a joint solution of k-nearest-neighbors across both the geometry and appearance space using only local features. We first derive the theoretical foundation for k-nearest-neighbor retrieval across multiple metrics and then showcase how CANN improves visual localization. Our experiments on public localization benchmarks demonstrate that our method significantly outperforms both state-of-the-art global feature-based retrieval and approaches using local feature aggregation schemes. Moreover, it is an order of magnitude faster in both index and query time than feature aggregation schemes for these datasets. Code will be released.

READ FULL TEXT

page 1

page 8

page 10

page 11

page 12

page 13

page 14

research
12/05/2021

Learning Query Expansion over the Nearest Neighbor Graph

Query Expansion (QE) is a well established method for improving retrieva...
research
09/23/2020

Leveraging Local and Global Descriptors in Parallel to Search Correspondences for Visual Localization

Visual localization to compute 6DoF camera pose from a given image has w...
research
06/30/2019

Large-scale, real-time visual-inertial localization revisited

The overarching goals in image-based localization are scale, robustness ...
research
03/03/2016

Self-localization from Images with Small Overlap

With the recent success of visual features from deep convolutional neura...
research
02/04/2017

Large-scale Image Geo-Localization Using Dominant Sets

This paper presents a new approach for the challenging problem of geo-lo...
research
10/05/2022

Medical Image Retrieval via Nearest Neighbor Search on Pre-trained Image Features

Nearest neighbor search (NNS) aims to locate the points in high-dimensio...
research
08/09/2021

DistillPose: Lightweight Camera Localization Using Auxiliary Learning

We propose a lightweight retrieval-based pipeline to predict 6DOF camera...

Please sign up or login with your details

Forgot password? Click here to reset