FAST APPROXIMATE NEAREST NEIGHBORS WITH AUTOMATIC ALGORITHM CONFIGURATION
Open accessThe DOI matches its Crossref record; 17 of the 17 references it cites were found in a registry or an index.
Abstract
nearest-neighbors search, randomized kd-trees, hierarchical k-means tree, clustering. For many computer vision problems, the most time consuming component consists of nearest neighbor matching in high-dimensional spaces. There are no known exact algorithms for solving these high-dimensional problems that are faster than linear search. Approximate algorithms are known to provide large speedups with only minor loss in accuracy, but many such algorithms have been published with only minimal guidance on selecting an algorithm and its parameters for any given problem. In this paper, we describe a system that answers the question, “What is the fastest approximate nearest-neighbor algorithm for my data? ” Our system will take any given dataset and desired degree of precision and use these to automatically determine the best algorithm and parameter values. We also describe a new algorithm that applies priority search on hierarchical k-means trees, which we have found to provide the best known performance on many datasets. After testing a range of alternatives, we have found that multiple randomized k-d trees provide the best performance for other datasets. We are releasing public domain code that implements these approaches. This library provides about one order of magnitude improvement in query time over the best previously available software and provides fully automated parameter selection. 1
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“In practice, the k NN search process is often performed only approximately (ANN, Gionis et al. (1999); Muja and Lowe (2009)) to reduce computational cost.”
From Efficient Nearest Neighbor Language Models (2021) · cites this paper as Muja and Lowe (2009)
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Distinctive Image Features from Scale-Invariant Keypoints
Lowe, D. G. (2004) · International Journal of Computer Vision · doi:10.1023/b:visi.0000029664.99615.94 · Cited by 62,647 · cited 2×
“Examples of such problems include finding the best matches for local image features in large datasets (Lowe, 2004; Philbin et al., 2007), clustering local features into visual words using the k-means or similar algorithms (Sivic and Zisserman, 2003), or performing normalized cross-correlation to…”
BackgroundSelf-citationVideo Google: a text retrieval approach to object matching in videos
Sivic, & Zisserman (2003) · Proceedings Ninth IEEE International Conference on Computer Vision · doi:10.1109/iccv.2003.1238663 · Cited by 6,367 · cited 1×
“…local image features in large datasets (Lowe, 2004; Philbin et al., 2007), clustering local features into visual words using the k-means or similar algorithms (Sivic and Zisserman, 2003), or performing normalized cross-correlation to compare image patches in large datasets (Torralba et al., 2008).”
MethodScalable Recognition with a Vocabulary Tree
Nister, D., & Stewenius, H. (2006) · 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition - Volume 2 (CVPR'06) · doi:10.1109/cvpr.2006.264 · Cited by 3,579 · cited 2×
“Nister and Stewenius (Nister and Stewenius, 2006) present a fast method for nearest-neighbor feature search in very large databases.”
MethodObject retrieval with large vocabularies and fast spatial matching
Philbin, J., Chum, O., Isard, M., Sivic, J., & Zisserman, A. (2007) · 2007 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2007.383172 · Cited by 2,929
An Algorithm for Finding Best Matches in Logarithmic Expected Time
Friedman, J. H., Bentley, J. L., & Finkel, R. A. (1977) · ACM Transactions on Mathematical Software · doi:10.1145/355744.355745 · Cited by 2,813 · cited 2×
“The most widely used algorithm for nearest-neighbor search is the kd-tree (Freidman et al., 1977), which works well for exact nearest neighbor search in lowdimensional data, but quickly loses its effectiveness as dimensionality increases.”
MethodAn optimal algorithm for approximate nearest neighbor searching fixed dimensions
Arya, S., Mount, D. M., Netanyahu, N. S., Silverman, R., & Wu, A. Y. (1998) · Journal of the ACM · doi:10.1145/293347.293348 · Cited by 2,300 · cited 8×
“The results for ANN are consistent with the experiment in figure 2, as ANN uses only a single kd-tree and does not benefit from the speedup due to using multiple randomized trees.”
MethodInfluential80 Million Tiny Images: A Large Data Set for Nonparametric Object and Scene Recognition
Torralba, A., Fergus, R., & Freeman, W. T. (2008) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2008.128 · Cited by 1,921
Near-Optimal Hashing Algorithms for Approximate Nearest Neighbor in High Dimensions
Andoni, A., & Indyk, P. (2006) · 2006 47th Annual IEEE Symposium on Foundations of Computer Science (FOCS'06) · doi:10.1109/focs.2006.49 · Cited by 1,067
Shape indexing using approximate nearest-neighbour search in high-dimensional spaces
Beis, J. S., & Lowe, D. G. (2002) · Proceedings of IEEE Computer Society Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.1997.609451 · Cited by 879 · cited 3×
“Examples of such problems include finding the best matches for local image features in large datasets (Lowe, 2004; Philbin et al., 2007), clustering local features into visual words using the k-means or similar algorithms (Sivic and Zisserman, 2003), or performing normalized cross-correlation to compare image patches…”
MethodInfluentialSelf-citationA Branch and Bound Algorithm for Computing k-Nearest Neighbors
Fukunaga, K., & Narendra, P. M. (1975) · IEEE Transactions on Computers · doi:10.1109/t-c.1975.224297 · Cited by 736 · cited 3×
“The gray values indicate the ratio between the distances to the nearest and the second-nearest cluster center at each tree level, so that the darkest values (ratio≈1) fall near the boundaries between k-means regions. cal k-means tree similar to that proposed by Fukunaga and Narendra (Fukunaga and Narendra, 1975).”
MethodResultInfluential
Cited by
Items 401–500 of 1,001
Continuous trajectory estimation for 3D SLAM from actuated lidar
Alismail, H., Baker, L. D., & Browning, B. (2014) · Proceedings - IEEE International Conference on Robotics and Automation/Proceedings · doi:10.1109/icra.2014.6907757 · Cited by 62
Fast Localization in Large-Scale Environments Using Supervised Indexing of Binary Features
Feng, Y., Fan, L., & Wu, Y. (2015) · IEEE Transactions on Image Processing · doi:10.1109/tip.2015.2500030 · Cited by 60
“In order to speedup the search process, query features are processed in ascending order of their costs on ANN search, which are predicted by the numbers of database features assigned to the visual words, and the search process stops after Nt (set to 100) 2D-3D correspondences are found.”
MethodMining and Classifying Image Posts on Social Media to Analyse Fires
Daly, S., & Thom, J. A. (2016) · RMIT Research Repository (RMIT University Library) · Cited by 60
HBST: A Hamming Distance Embedding Binary Search Tree for Feature-Based Visual Place Recognition
Schlegel, D., & Grisetti, G. (2018) · IEEE Robotics and Automation Letters · doi:10.1109/lra.2018.2856542 · Cited by 60
“FLANN (Fast Approximate Nearest Neighbor Search Library) of Muja and Lowe [16] with k-d tree indexing is a common choice.”
MethodBinarized Collaborative Filtering with Distilling Graph Convolutional Network
Wang, H., Lian, D., & Ge, Y. (2019) · International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2019/667 · Cited by 60
3D reconstruction from image collections with a single known focal length
Bujnak, M., Kúkelová, Z., & Pajdla, T. (2009) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2009.5459402 · Cited by 61
Pan, X., & Yang, T. Y. (2022) · Computer-Aided Civil and Infrastructure Engineering · doi:10.1111/mice.12906 · Cited by 59
“Once the image correspondence is completed, feature matching is conducted to find the closest matched features in the corresponding image pairs using the KD (K dimensional)-tree-based approach (Muja & Lowe, 2009).”
MethodAhmad, M., Abbas, S., Fatima, A., Issa, G. F., Ghazal, T. M., & Khan, M. A. (2023) · Applied Sciences · doi:10.3390/app13021178 · Cited by 59
A comparison of feature descriptors for visual SLAM
Hartmann, J., Klüssendorff, J. H., & Maehle, E. (2013) · European Conference on Mobile Robots · doi:10.1109/ecmr.2013.6698820 · Cited by 59
“Tree-based algorithms can be used to find corresponding features in different images [6].”
BackgroundMethodDistributed Kd-Trees for Retrieval from Very Large Image Collections
Aly, M., Munich, M. E., & Perona, P. (2011) · Cited by 60
Multi-Channel Generalized-ICP: A robust framework for multi-channel scan registration
Servos, J., & Waslander, S. L. (2016) · Robotics and Autonomous Systems · doi:10.1016/j.robot.2016.10.016 · Cited by 59
“The local covariance, C i , is calculated using the k nearest points to the query point qi found using [19].”
MethodLarge-Scale Image Geo-Localization Using Dominant Sets
Zemene, E., Tesfaye, Y. T., Idrees, H., Prati, A., Pelillo, M., & Shah, M. (2018) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2017.2787132 · Cited by 59
Discrete Personalized Ranking for Fast Collaborative Filtering from Implicit Feedback
Zhang, Y., Lian, D., & Yang, G. (2017) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v31i1.10764 · Cited by 59
“One can even use a fast and accurate indexing methods for finding approximate top-K preferred items with sublinear or logarithmic time complexity (Wang, Kumar, and Chang 2012; Muja and Lowe 2009).”
MethodTahirović, A., & Ferizbegovic, M. (2018) · Proceedings - IEEE International Conference on Robotics and Automation/Proceedings · doi:10.1109/icra.2018.8460186 · Cited by 59
“All algorithms have been written in C++, the nearest neighbor search has been coded by the support of FLANN library [21], while the collision detection procedure was based on the FCL library [22].”
MethodThe Geometry of Deep Networks: Power Diagram SubdivisionPreprint
Balestriero, R., Cosentino, R., Aazhang, B., & Baraniuk, R. G. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1905.08443 · Cited by 59
Light-LOAM: A Lightweight LiDAR Odometry and Mapping Based on Graph-Matching
Yi, S., Lyu, Y., Lin, H. Y., Pan, Q., & Zhao, C. (2024) · IEEE Robotics and Automation Letters · doi:10.1109/lra.2024.3367268 · Cited by 58
“WhileKD-tree [10] is widelyusedfor establishinginitial correspondences in SLAM systems [12], [13], [15], [16], [21], it can introduce erroneous associations, particularly in noisy or occluded environments.”
BackgroundA comprehensive review of research on surface defect detection of PCBs based on machine vision
He, Z., Lian, Y., Wang, Y., & Lu, Z. (2025) · Results in Engineering · doi:10.1016/j.rineng.2025.106437 · Cited by 59
Superpixel Graph Label Transfer with Learned Distance Metric
Gould, S. J., Zhao, J., He, X., & Zhang, Y. (2014) · Lecture notes in computer science · doi:10.1007/978-3-319-10590-1_41 · Cited by 58
“Replacing our nearest neighbor search with FLANN reduced processing time per image to 1.2s but accuracy suffers (see Table 1).”
MethodTreeCANN - k-d Tree Coherence Approximate Nearest Neighbor Algorithm
Olonetsky, I., & Avidan, S. (2012) · Lecture notes in computer science · doi:10.1007/978-3-642-33765-9_43 · Cited by 58
“All the hierarchical-tree based techniques, such as TSVQ [8], FLANN [9] and the most commonly used k-d tree [4] (frequently coupled with PCA dimensionality reduction technique), have been successfully used.”
MethodAutomated Visual Fin Identification of Individual Great White Sharks
Hughes, B., & Burghardt, T. (2017) · International Journal of Computer Vision · doi:10.1007/s11263-016-0961-y · Cited by 46
Wang, X., Rottensteiner, F., & Heipke, C. (2018) · ISPRS Journal of Photogrammetry and Remote Sensing · doi:10.1016/j.isprsjprs.2018.11.009 · Cited by 58
Hegazi, A., Taha, A., & Selim, M. M. (2019) · Journal of King Saud University - Computer and Information Sciences · doi:10.1016/j.jksuci.2019.07.007 · Cited by 58
“It utilizes randomized k-dimensional trees (kd-trees) for a fast neighbor search (Muja and Lowe, 2009).”
Omnidirectional Galvanic Vestibular Stimulation in Virtual Reality
Groth, C., Tauscher, J., Heesen, N., Hattenbach, M., Castillo, S., & Magnor, M. A. (2022) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2022.3150506 · Cited by 58
“In particular, feature detection and quaternion matching or smoothed optical flow promise a reliable calculation of the rotations on existing material [12, 23, 38].”
BackgroundCity scale geo-spatial trajectory estimation of a moving camera
Vaca-Castano, G., Zamir, A., & Shah, M. A. (2012) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr.2012.6247800 · Cited by 57
The PatchMatch randomized matching algorithm for image manipulation
Barnes, C., Goldman, D. B., Shechtman, E., & Finkelstein, A. (2011) · Communications of the ACM · doi:10.1145/2018396.2018421 · Cited by 58
Fast Image Retrieval: Query Pruning and Early Termination
Zheng, L., Wang, S., Liu, Z., & Tian, Q. (2015) · IEEE Transactions on Multimedia · doi:10.1109/tmm.2015.2408563 · Cited by 57
“The FLANN precision set to 0.60 and 0.85, respectively. for efficiency, and the to 1M. index is built in accordance to the all the local features in the image collection , we show the baseline results (mAP in Oxford5k, k M, Paris6k, and M datasets.”
MethodInfluentialVisual indoor positioning with a single camera using PnP
Deretey, E., Ahmed, M. T., Marshall, J. A., & Greenspan, M. (2015) · International Conference on Indoor Positioning and Indoor Navigation · doi:10.1109/ipin.2015.7346756 · Cited by 57
Zhu, W., Chayes, V., Tiard, A., Sanchez, S. M., Dahlberg, D., Bertozzi, A. L., Osher, S., Zosso, D. P., & Kuang, D. (2017) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2017.2654486 · Cited by 57
“We employ a randomized and approximate version of this algorithm [34] implemented in the open source VLFeat package.”
MethodAdaptive path finding algorithm in dynamic environment for warehouse robot
Ng, M.-K., Chong, Y.-W., Ko, K., Park, Y.-H., & Leau, Y. (2020) · Neural Computing and Applications · doi:10.1007/s00521-020-04764-3 · Cited by 57
“FLANN used nearest neighbour search technique that will retrieve the nearest data according to input [20].”
Method3D Building Façade Reconstruction Using Deep Learning
Bacharidis, K., Sarri, F., & Ragia, L. (2020) · ISPRS International Journal of Geo-Information · doi:10.3390/ijgi9050322 · Cited by 58
“To elaborate, we determined which georeferenced points of the survey data lie inside the detected region (the data sets are registered and in the same coordinate system) [36].”
BackgroundIndexing in large scale image collections: Scaling properties and benchmark
Aly, M., Munich, M. E., & Perona, P. (2011) · Proceedings · doi:10.1109/wacv.2011.5711534 · Cited by 57
Robust Inertial-Aided Underwater Localization Based on Imaging Sonar Keyframes
Xu, Y., Zheng, R., Zhang, S., & Liu, M. (2022) · IEEE Transactions on Instrumentation and Measurement · doi:10.1109/tim.2022.3156980 · Cited by 56
“8, the features in the consecutive simulated sonar images are detected and matched by A-KAZE [37] and FLANN [38] approaches in the front-end.”
MethodWang, M., Xu, F., Xu, Y., & Brownjohn, J. (2022) · Computer-Aided Civil and Infrastructure Engineering · doi:10.1111/mice.12889 · Cited by 56
“They all used a fast approximate nearest neighbor method (Muja & Lowe, 2009) to search and match feature points.”
MethodFast Adaptive Similarity Search through Variance-Aware Quantization
Paparrizos, J., Edian, I., Liu, C., Elmore, A. J., & Franklin, M. J. M. (2022) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde53745.2022.00268 · Cited by 56
“There are two notable directions: error-constrained and time-constrained approximate methods [79], [80].”
BackgroundStatistical construction of 3-D microstructures from 2-D exemplars collected on oblique sections
Turner, D., & Kalidindi, S. R. (2015) · Acta Materialia · doi:10.1016/j.actamat.2015.09.011 · Cited by 55
Robust RGB-D simultaneous localization and mapping using planar point features
Gao, X., & Zhang, T. (2015) · Robotics and Autonomous Systems · doi:10.1016/j.robot.2015.03.007 · Cited by 56
Hierarchical Ensemble of Background Models for PTZ-Based Video Surveillance
Liu, N., Wu, H., & Lin, L. (2014) · IEEE Transactions on Cybernetics · doi:10.1109/tcyb.2014.2320493 · Cited by 57
Extracting foreground masks towards object recognition
Rosenfeld, A., & Weinshall, D. (2011) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2011.6126391 · Cited by 56
“Although nearest-neighbor algorithms are constantly improving [15], it is still too time consuming if we want reasonable performance: we need to perform |PIt | searches in the sample set”
Wu, Z., & Yu, J. (2019) · Frontiers of Information Technology & Electronic Engineering · doi:10.1631/fitee.1700833 · Cited by 56
An image matching optimization algorithm based on pixel shift clustering RANSAC
Ma, S., Guo, P., You, H., He, P., Li, G., & Li, H. (2021) · Information Sciences · doi:10.1016/j.ins.2021.03.023 · Cited by 56
Rouček, T., Pecka, M., Čížek, P., Petříček, T., Bayer, J., Šalanský, V., Azayev, T., Heřt, D., Petrlík, M., Báča, T., et al. (2022) · Field Robotics · doi:10.55417/fr.2022055 · Cited by 56
Image Retrieval based on Bag-of-Words modelPreprint
Liu, J. (2013) · arXiv (Cornell University) · doi:10.48550/arxiv.1304.5168 · Cited by 56
Scalable action recognition with a subspace forest
O'Hara, S., & Draper, B. A. (2012) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr.2012.6247803 · Cited by 58
“A popular implementation is the Fast Library for Approximate Nearest Neighbors (FLANN), developed by Muja and Lowe [13].”
MethodMillion-scale near-duplicate video retrieval system
Cai, Y., Yang, L., Ping, W., Wang, F., Mei, T., Hua, X.-S., & Li, S. (2011) · Proceedings of the 19th ACM international conference on Multimedia · doi:10.1145/2072298.2072484 · Cited by 53
“In this demo, a scalable Kmeans clustering algorithm [2] and the Kmeans tree search algorithm [3] are used to speed up the codebook construction and quantization.”
MethodDistance Encoded Product Quantization
Heo, J., Lin, Z., & Yoon, S. (2014) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr.2014.274 · Cited by 55
“An automatic parameter selection technique [17] for such hierarchical data structures has been proposed for more accurate and faster search.”
MethodSimilarity-Invariant Sketch-Based Image Retrieval in Large Databases
Parui, S., & Mittal, A. (2014) · Lecture notes in computer science · doi:10.1007/978-3-319-10599-4_26 · Cited by 55
“Due to the variability in the length of the descriptors, it is difficult to use metric-based data structures, such as k-d tree [26] or Vantage-Point tree [42].”
MethodAIR-MRF: Accelerated iterative reconstruction for magnetic resonance fingerprinting
Cline, C. C., Chen, X., Mailhé, B., Wang, Q., Pfeuffer, J., Nittka, M., Griswold, M. A., Speier, P., & Nadar, M. S. (2017) · Magnetic Resonance Imaging · doi:10.1016/j.mri.2017.07.007 · Cited by 55
“In particular, we used a single randomized kd-tree algorithm as implemented in the Fast Library for Approximate Nearest Neighbors (FLANN) [16,17].”
MethodKrausz, N. E., Lamotte, D., Batzianoulis, I., Hargrove, L. J., Micera, S., & Billard, A. (2020) · IEEE Transactions on Neural Systems and Rehabilitation Engineering · doi:10.1109/tnsre.2020.2992885 · Cited by 56
“The FLANN algorithm [66], which constructs hierarchical”
Global estimation of an object’s pose using tactile sensing
Bimbo, J., Kormushev, P. S., Althoefer, K. A., & Liu, H. (2015) · Advanced Robotics · doi:10.1080/01691864.2014.1002531 · Cited by 55
“The creation of this k-d tree is done using PCL kdtree flann implementation.[36,37]”
MethodReal-time earthquake monitoring using a search engine method
Zhang, J., Zhang, H., Chen, E., Zheng, Y., Kuang, W., & Zhang, X. (2014) · Nature Communications · doi:10.1038/ncomms6664 · Cited by 55
Efficient multi-label ranking for multi-class learning: Application to object recognition
Bucak, S. S., Mallapragada, P. K., Jin, R., & Jain, A. (2009) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2009.5459460 · Cited by 55
“By introducing the Lagrangian multipliers λa ∈ Ra for μa = Z1b and λb ∈ Rb for μb = Z 1b, we have min Z 0 max λa,λb λ a (μa − Z1b) + λ b (μb − Z 1a) (19) By taking the minimization over Z, we have max λa,λb λ a μa + λ b μb (20) s. t. λa1 b + 1aλ b 0 To decide if there is a feasible solution to…”
Asymmetric region-to-image matching for comparing images with generic object categories
Kim, J., & Grauman, K. L. (2010) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr.2010.5539923 · Cited by 54
“We use approximate nearest neighbor search to quickly find close SIFT descriptors, with code by [22].”
MethodLinear Distance Coding for Image Classification
Wang, Z., Feng, J., Yan, S., & Xi, H. (2012) · IEEE Transactions on Image Processing · doi:10.1109/tip.2012.2218826 · Cited by 54
TOP-SURF: a visual words toolkit
Thomée, B., Bakker, E. M., & Lew, M. S. (2010) · ACM International Conference on Multimedia (ACM MM) · doi:10.1145/1873951.1874250 · Cited by 54
“Furthermore, we used FLANN [9] for approximate nearest neighbor matching, which is also released under the BSD license.”
MethodInfluentialA Global Hypothesis Verification Framework for 3D Object Recognition in Clutter
Aldomà, A., Tombari, F., Stefano, L. D., & Vincze, M. (2015) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2015.2491940 · Cited by 54
“, randomized kd-trees [18]) against all models descriptors.”
MethodPatch-Based Segmentation with Spatial Consistency: Application to MS Lesions in Brain MRI
Mechrez, R., Goldberger, J., & Greenspan, H. K. (2016) · International Journal of Biomedical Imaging · doi:10.1155/2016/7952541 · Cited by 54
“Instead, we used FLANN (Fast Library for Approximate Nearest Neighbors) [44, 45].”
MethodKorman, S., & Avidan, S. (2015) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2015.2477814 · Cited by 55
“As a result, CSH is at least three to four times faster than PatchMatch and more accurate, especially in textured regions, where reconstruction artifacts are most noticeable to the human eye.”
BackgroundPérez, D., Bromberg, F., & Díaz, C. A. (2017) · Computers and Electronics in Agriculture · doi:10.1016/j.compag.2017.01.020 · Cited by 56
“During the computation of the histograms, we used the algorithm of Muja and Lowe (2009) to determine efficiently the closest center to a given keypoint.”
MethodRobust visual semi-semantic loop closure detection by a covisibility graph and CNN features
Cascianelli, S., Costante, G., Bellocchio, E., Valigi, P., Fravolini, M. L., & Ciarfuglia, T. A. (2017) · Robotics and Autonomous Systems · doi:10.1016/j.robot.2017.03.004 · Cited by 54
Multi-class Model Fitting by Energy Minimization and Mode-Seeking
Baráth, D., & Matas, J. (2018) · Lecture notes in computer science · doi:10.1007/978-3-030-01270-0_14 · Cited by 53
Sparse Online Learning of Image Similarity
Gao, X., Hoi, S. C. H., Zhang, Y., Zhou, J., Wan, J., Chen, Z., Li, J., & Zhu, J. (2017) · ACM Transactions on Intelligent Systems and Technology · doi:10.1145/3065950 · Cited by 54
“This is typically obtained by extracting local features (e.g., SIFT [Lowe 2004]) from images and then performing fast approximate k-means clustering [Muja and Lowe 2009] to generate a set of clusters as “visual words.””
MethodDetecting Homoglyph Attacks with a Siamese Neural Network
Woodbridge, J., Anderson, H. S., Ahuja, A., & Grant, D. (2018) · IEEE Security and Privacy Workshops (SPW) · doi:10.1109/spw.2018.00012 · Cited by 54
A novel system of SSVEP-based human–robot coordination
Han, X., Lin, K. C., Gao, S., & Gao, X. (2018) · Journal of Neural Engineering · doi:10.1088/1741-2552/aae1ba · Cited by 54
Iterative Coordination and Innovation: Prioritizing Value over Novelty
Ghosh, S., & Wu, A. (2021) · Organization Science · doi:10.1287/orsc.2021.1499 · Cited by 53
Ahamed, B. S., Arya, M. S., & Nancy, V. A. O. (2022) · Advances in Human-Computer Interaction · doi:10.1155/2022/9220560 · Cited by 53
Wang, T.-S., Kim, G. T., Kim, M., & Jang, J.-W. (2023) · Applied Sciences · doi:10.3390/app131910760 · Cited by 53
Robust visual-based localization and mapping for underwater vehicles: A survey
Ding, S., Zhang, T., Lei, M., Chai, H., & Jia, F. (2024) · Ocean Engineering · doi:10.1016/j.oceaneng.2024.119274 · Cited by 55
A flexible 3D object localization system for industrial part handling
Skotheim, Ø., Lind, M., Ystgaard, P., & Fjerdingen, S. A. (2012) · IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · doi:10.1109/iros.2012.6385508 · Cited by 53
“The FLANN open source library[18] was used to perform fast nearest neighbor queries.”
MethodIMU and Multiple RGB-D Camera Fusion for Assisting Indoor Stop-and-Go 3D Terrestrial Laser Scanning
Chow, J., Lichti, D. D., Hol, J. D., Bellusci, G., & Luinge, H. (2014) · Robotics · doi:10.3390/robotics3030247 · Cited by 53
“The popular Fast Library for Approximate Nearest Neighbors (FLANN) [79], which is a fast KD-tree, was used for speeding up the query process, which is one of the most computationally intensive steps of the ICP algorithm.”
MethodFast Approximate $$K$$-Means via Cluster Closures
Wang, J., Wang, J., Ke, Q., Zeng, G., & Li, S. (2015) · Springer eBooks · doi:10.1007/978-3-319-14998-1_17 · Cited by 53
“We use the implementation of HKM available from [15], and the public”
MethodCombination of SIFT and Canny Edge Detection for Registration Between SAR and Optical Images
Zhang, W. (2020) · IEEE Geoscience and Remote Sensing Letters · doi:10.1109/lgrs.2020.3043025 · Cited by 52
Analysis and Evaluation Between the First and the Second Generation of RGB-D Sensors
Gesto, M., Tombari, F., Rodríguez‐Gonzálvez, P., & González‐Aguilera, D. (2015) · IEEE Sensors Journal · doi:10.1109/jsen.2015.2459139 · Cited by 52
“For each view, a simulated point cloud with RGB information of the model is rendered and stored in a FLANN (Fast Library for Approximate Nearest Neighbors) randomized kd-forest [25] for the successive online stage.”
MethodFast and Accurate Hashing Via Iterative Nearest Neighbors Expansion
Jin, Z., Zhang, D., Hu, Y., Lin, S., Cai, D., & He, X. (2014) · IEEE Transactions on Cybernetics · doi:10.1109/tcyb.2014.2302018 · Cited by 52
“Each point in the 4http://www.cs.ubc.ca/∼mariusm/index.php/FLANN recall curve of KD-tree corresponds to a given check number: 32, 64, 128, 256, 512, 1024, and 2048.”
InfluentialA Fine-Grained Approach to Scene Text Script Identification
Gómez, L., & Karatzas, D. (2016) · IAPR International Workshop on Document Analysis Systems (DAS) · doi:10.1109/das.2016.64 · Cited by 52
Structure Selective Depth Superresolution for RGB-D Cameras
Kim, Y., Ham, B., Oh, C., & Sohn, K. (2016) · IEEE Transactions on Image Processing · doi:10.1109/tip.2016.2601262 · Cited by 52
“We use the FLANN [28] library for efficient kNN searches.”
MethodAn Efficient Global Point Cloud Descriptor for Object Recognition and Pose Estimation
Lima, J. P., & Teichrieb, V. (2016) · SIBGRAPI Conference on Graphics, Patterns and Images (SIBGRAPI) · doi:10.1109/sibgrapi.2016.017 · Cited by 52
“One key advantage of this approach is scalability with respect to the number of objects in the database, since descriptor matching can be efficiently performed using approximate nearest neighbor search strategies [1].”
MethodEfficient Large-Scale Approximate Nearest Neighbor Search on OpenCL FPGA
Zhang, J., Li, J., & Khoram, S. (2018) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr.2018.00517 · Cited by 54
“93 FLANN [16](CPU) 5.”
Active recognition and pose estimation of household objects in clutter
Wu, K., Ranasinghe, R., & Dissanayake, G. (2015) · Proceedings - IEEE International Conference on Robotics and Automation/Proceedings · doi:10.1109/icra.2015.7139782 · Cited by 52
“3) Feature Matching: Feature correspondences are obtained using the fast ANN (Approximate Nearest Neighbour) searching method [20] to reduce the computational effort required.”
MethodProgressive NAPSAC: sampling from gradually growing neighborhoodsPreprint
Baráth, D., Ivashechkin, M., & Matas, J. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1906.02295 · Cited by 52
“, the Fast Approximated Nearest Neighbors method [17].”
MethodARPPS: Augmented Reality Pipeline Prospect System
Zhang, X., Han, Y., Hao, D., & Lv, Z. (2015) · Lecture notes in computer science · doi:10.1007/978-3-319-26561-2_76 · Cited by 51
A Feature Matching Method based on the Convolutional Neural Network
Dang, W., Xiang, L., Liu, S., Yang, B., Liu, M., Yin, Z., Yin, L., & Zheng, W. (2023) · Journal of Imaging Science and Technology · doi:10.2352/j.imagingsci.technol.2023.67.3.030402 · Cited by 51
ARGUS: Visualization of AI-Assisted Task Guidance in AR
Castelo, S., Rulff, J., McGowan, E., Steers, B., Wu, G., Chen, S., Roman, I. R., López, R., Brewer, E., Zhao, C., et al. (2023) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2023.3327396 · Cited by 51
“We then compute SIFT features for each frame [29], match them using a Fast Library for Approximate Nearest Neighbors (FLANN)-based matcher [36], and filter for valid matches by Lowe’s ratio test [29] before warping and compositing the frames into a panoramic mosaic.”
Method3D reconstruction of spherical images: a review of techniques, applications, and prospects
Jiang, S., You, K., Li, Y., Weng, D., & Chen, W. (2024) · Geo-spatial Information Science · doi:10.1080/10095020.2024.2313328 · Cited by 51
“Generally, feature matching is achieved by using nearest-neighbor searching based on the L2-norm Euclidean distance metric (Muja and Lowe 2009).”
Smartphone authentication system using periocular biometrics
Raja, K. B., Ramachandra, R., Stokkenes, M., & Busch, C. (2014) · Cited by 51
Segmenting video into classes of algorithm-suitability
Aodha, O. M., Brostow, G., & Pollefeys, M. (2010) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr.2010.5540099 · Cited by 53
“Muja and Lowe [18] have presented a unique approach to algorithm-selection, that is quite valuable in the context of feature matching and beyond.”
Toward Large-Population Face Identification in Unconstrained Videos
Liu, L., Zhang, L., Liu, H., & Yan, S. (2014) · IEEE Transactions on Circuits and Systems for Video Technology · doi:10.1109/tcsvt.2014.2319671 · Cited by 51
“Searching in Kd-tree [38], [39] only needs O(log N) time cost, where N is the number of variables.”
BackgroundScalable Feature Matching by Dual Cascaded Scalar Quantization for Image Retrieval
Zhou, W., Yang, M., Wang, X., Li, H., Lin, Y., & Tian, Q. (2015) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2015.2430329 · Cited by 52
“Besides, in automatic ANN methods [18] and hashing methods such as LSH [55], multi-probe LSH [56], and kernelized LSH [50], the original database feature vectors need be kept in memory to compute the exact distance to the query feature for ranking, which is infeasible in the scenario of large-scale…”
Entropy Optimized Feature-Based Bag-of-Words Representation for Information Retrieval
Passalis, N., & Tefas, A. (2016) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2016.2545657 · Cited by 51
“speed, approximate nearest neighbor methods [1], 9], [31], can be used.”
MethodVirtual sensor models for real-time applications
Hirsenkorn, N., Hanke, T., Rauch, A., Dehlink, B., Rasshofer, R. H., & Biebl, E. M. (2016) · Advances in radio science · doi:10.5194/ars-14-31-2016 · Cited by 51
Practical Polytope Volume Approximation
Emiris, I. Z., & Fisikopoulos, V. (2018) · ACM Transactions on Mathematical Software · doi:10.1145/3194656 · Cited by 51
Environment-aware proximity detection with capacitive sensors for human-robot-interaction
Hoffmann, A., Poeppel, A., Schierl, A., & Reif, W. (2016) · IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · doi:10.1109/iros.2016.7759047 · Cited by 51
mlpack 4: a fast, header-only C++ machine learning library
Curtin, R. R., Edel, M., Shrit, O., Agrawal, S., Basak, S., Balamuta, J., Birmingham, R., Dutt, K., Eddelbüttel, D., Garg, R., et al. (2023) · The Journal of Open Source Software · doi:10.21105/joss.05026 · Cited by 50
ParallelNN: A Parallel Octree-based Nearest Neighbor Search Accelerator for 3D Point Clouds
Chen, F., Ying, R., Xue, J., Wen, F., & Liu, P. (2023) · IEEE International Symposium on High-Performance Computer Architecture (HPCA) · doi:10.1109/hpca56546.2023.10070940 · Cited by 50
“Besides, some approximate methods have been presented for kNN search acceleration, such as famous FLANN library using CPU and GPU [23], [24].”
BackgroundMethodA Top-Down Approach for Video Summarization
Guan, G., Wang, Z., Mei, S., Ott, M., He, M., & Feng, D. D. (2014) · ACM Transactions on Multimedia Computing Communications and Applications · doi:10.1145/2632267 · Cited by 50
Fast Multiple-Part Based Object Detection Using KD-Ferns
Levi, D., Silberstein, S., & Bar-Hillel, A. (2013) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr.2013.127 · Cited by 50
“In [16] an automatic algorithm and parameter tuning is suggested, but for this dataset this algorithm always chooses the naive exhaustive search which is faster.”
MethodApproximate Gaussian Mixtures for Large Scale Vocabularies
Avrithis, Y., & Kalantidis, Y. (2012) · Lecture notes in computer science · doi:10.1007/978-3-642-33712-3_2 · Cited by 51
“In the case of FLANN, α(C) is constant and equal to the number of leaf checks per query, since we are only counting vector operations and each split node operation is scalar.”
MethodInfluentialApplications of structure from motion: a survey
Wei, Y., Kang, L., Yang, B., & Wu, L. (2013) · Frontiers of Information Technology & Electronic Engineering · doi:10.1631/jzus.cide1302 · Cited by 51
“…including detecting image features (Lowe, 2004; Tuytelaars and Mikolajczyk, 2007), establishing image correspondences (Mikolajczyk and Schmid, 2005; Muja and Lowe, 2009), estimating camera poses and locations of 3D points (Hartley and Zisserman, 2004), and optional bundle adjustment (Triggs et…”
BackgroundMethodShen, P., Jing, X., Deng, W., Jia, H., & Wu, T. (2025) · The Crop Journal · doi:10.1016/j.cj.2025.01.011 · Cited by 51
Break Ames room illusion: depth from general single images
Shi, J., Tao, X., Li, X., & Jia, J. (2015) · ACM Transactions on Graphics · doi:10.1145/2816795.2818136 · Cited by 49
Holz, D., & Behnke, S. (2014) · Robotics and Autonomous Systems · doi:10.1016/j.robot.2014.03.013 · Cited by 49
“[29] or search for the neighbors for all points using fast approximate neighbor search [30] and cache the neighbors for later use.”
Background
Metadata
- Authors
- Muja, M., & Lowe, D. G.
- Affiliations
- University of British Columbia (CA)
- ORCID
- David G. Lowe
- Venue
- Proceedings of the Fourth International Conference on Computer Vision Theory and Applications
- Published
- 2009
- Pages
- 331-340
- OpenAlex
- W1627400044
- Semantic Scholar
- 35d81066cb1369acf4b6c5117fcbb862be2af350
- Cited by
- 2,640
- References
- 17
- Citations by year
- 2026: 17 · 2025: 63 · 2024: 102 · 2023: 93 · 2022: 101 · 2021: 137 · 2020: 147 · 2019: 188 · 2018: 206 · 2017: 233 · 2016: 235 · 2015: 269 · 2014: 249 · 2013: 219 · 2012: 153
- FWCI
- 102.63
- Type
- conference paper
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- cc-by-nc-nd
- Locations
- International Conference on Computer Vision Theory and Applications (publishedVersion, cc-by-nc-nd)
- Funders
- Natural Sciences and Engineering Research Council of Canada
- Topics
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Image and Video Retrieval Techniques
- Physical Sciences › Computer Science › Information Systems › Data Management and Algorithms
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Image Retrieval and Classification Techniques
- Keywords
- approximate nearest neighbor search, algorithm configuration, high-dimensional data, auto-tuning, nearest neighbor matching, computer vision
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.