How to set FLANN distance type as Manhattan distance

asked 2014-10-24 13:44:41 -0600

Does anyone know how to use Manhattan distance instead of Euclidean distance in FLANN. How to set it in the Python interface?


edit retag flag offensive close merge delete


I am using kd-tree for high dimensional data.

Dawei_Li gravatar imageDawei_Li ( 2014-10-24 13:47:24 -0600 )edit

could you clarify, if you mean the FlannBasedMatcher (features2d) ?

berak gravatar imageberak ( 2014-10-25 02:11:14 -0600 )edit