Questions tagged [flann]

FLANN – the Fast Library for Approximate Nearest Neighbors – is a collection of nearest-neighbor algorithms, and a meta-algorithm to select the best of them for a given dataset.

FLANN is a library for performing fast approximate nearest-neighbor searches in high dimensional spaces.

FLANN was written by Marius Muja and David G. Lowe. It consists of:

  1. A collection of algorithms, each of which was found by the authors to work best across a range of nearest-neighbor-search use-cases, and
  2. A meta-algorithm that, for a given dataset, selects the best algorithm and the optimal parameters.

A common use of FLANN is in the detection of homography across images in applications – FLANN finds the nearest neighbors among sets of features extracted from the images in question. This visualization illustrates FLANN matches found amongst two sets of feature keypoint data:

FLANN keypoint matches

FLANN is written in and contains bindings for the following languages: , and .

Useful links:

162 questions
0
votes
1 answer

C++ / OpenCV - Difference between Flann Index matching and Flann matching

I am trying to undertstnad a deeper level of feature matching using FLANN, and it looks like there are two usable approaches: with and without an index. Here is SO question about matching using FLANN with indicies: How to use opencv…
Brett
  • 11,637
  • 34
  • 127
  • 213
0
votes
1 answer

FLANN compile (cygwin)

I'm trying to build FLANN libriary on windows.But I have cygwin installed. > "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" > cd flann-x.y.z-src > mkdir build > cd build > cmake .. > nmake and when I use cmake .. it seems it uses…
mrgloom
  • 20,061
  • 36
  • 171
  • 301
0
votes
1 answer

FLANN and big HDF5 file

I'm trying to use flann with big hdf5 file (dimensions 1kk x 1k). But all fails on function in flann_example.cpp Matrix dataset; load_from_file(dataset, "carray.hdf5", "carray"); on line dataset = flann::Matrix(new…
mrgloom
  • 20,061
  • 36
  • 171
  • 301
0
votes
1 answer

how does Flann Matcher train work in opencv?

I'm new in opencv. My question is: I have 2 train image descriptor trainA and trainB. Then i construct a vector to put them in, and add them into flann matcher for train. After that, i use query image descriptor queryC to do the knnMatch and get a…
Ethan Wang
  • 98
  • 1
  • 7
0
votes
0 answers

Access violation using flann matcher

I'm facing a very annoying problem when I create an object of FalnnBaseMatcher. The code is the following and it worked fine on ubuntu under eclipse. #include #include "C:\openCv\opencv\build\include\opencv2\core\core.hpp" #include…
Andrea Nisticò
  • 466
  • 2
  • 4
  • 11
0
votes
0 answers

Comparison of one image with a base of images

I want to compare an image of a front of a car with a database of images with other cars and tell me that most likely match of it. Program firstly shall find key points and descriptors of the database of the images using SURF and try to compare them…
0
votes
1 answer

FLANN Python Bindings Mac OS X

I've installed FLANN with the following command: brew install flann --enable-python But I cannot import the module from within Python: In [4]: import pyflann --------------------------------------------------------------------------- ImportError …
mchangun
  • 9,814
  • 18
  • 71
  • 101
0
votes
1 answer

Error:.. 'va_list' has not been declared

I'v been trying to compile flann but this error shows up! ''va_list' has not been declared' Can any one help me to solve this error? Plz guild me so simple if u can, I'm really new in programming! In file included from…
Aress
  • 177
  • 1
  • 5
  • 11
0
votes
1 answer

flann index saving in python

I want use flann as k-tree for surf descriptor in python. In this case I need save my flann index witch I couldn't fund any useful tutorial to guide me. Can any one help me, I new in programming!
Aress
  • 177
  • 1
  • 5
  • 11
0
votes
2 answers

opencv flann module: knn-search for hierarchical kmeans tree giving weird result

I have about 130,000 SIFT descriptors. I am building a hierarchical Kmeans-index using Opencv's flann module. After this I want to quantize these 130,000 descriptors (will quantize more later). I am using flann's knnsearch method for doing this. But…
code4fun
  • 2,661
  • 9
  • 25
  • 39
0
votes
1 answer

FLANN in matlab returns different distance from my own calculation

I'm using FLANN in matlab and using SIFT feature descriptor as my data. There is a function: [result, ndists] = flann_search(index, testset, ...); Here the index is built with kd-tree. The "user manual" said result returns the nearest neighbors of…
Linjie
  • 376
  • 3
  • 9
-1
votes
1 answer

Error: ...protected functions

I tried to compile flann by uses Make method from pack of another codes but I got this error about protected functions in one of the flann binary files './flann/util/matrix.h:75' Can any one help me to fix this error? I'm really new in…
Aress
  • 177
  • 1
  • 5
  • 11
1 2 3
10
11