pyflann
pyflann copied to clipboard
Handling different dimensions of points for build_index()
Hello!
Is there a way to feed pyflann.FLANN() with points of different dimensions? For example it could be SURF descriptors of images.
What is the most appropriate way to handle this? Would it be right to get the maximum length of dataset points and fill with zeros points of smaller dimension? I assume that it is ok, because it doesn`t change the euclidean norm and distance as well.
Thank you!
I checked that on my simple example with matching image with small db on 10 images - distance from nn_index stays the same with zero filling and without.