Ask Your Question

krunarsson's profile - activity

2015-04-30 08:30:27 -0600 received badge  Student (source)
2015-04-30 08:29:54 -0600 asked a question Custom distance functor for flann KDTree index.

I am using the flann module to index a set of image descriptors for quick image matching. Everything is working great so far, but I would like to use my own distance metrics instead of the metrics currently available.

Is there any easy way to use custom made distance functions with the opencv flann implementation? Is the only option to add a distance functors to the source and rebuild opencv? If that is the only way, does someone know what files I need to edit and look at, in order to successfully add other distance metrics into the flann module?