mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
fixed bug of wrong likelihood when KDTree is used with Kp/IncrementalFlann=false (maybe related to #144)
This commit is contained in:
@@ -485,7 +485,7 @@ void VWDictionary::update()
|
||||
break;
|
||||
case kNNFlannKdTree:
|
||||
UASSERT_MSG(type == CV_32F, "To use KdTree dictionary, float descriptors are required!");
|
||||
_flannIndex->buildKDTreeIndex(_dataTree, useDistanceL1_);
|
||||
_flannIndex->buildKDTreeIndex(_dataTree, 4, useDistanceL1_);
|
||||
break;
|
||||
case kNNFlannLSH:
|
||||
UASSERT_MSG(type == CV_8U, "To use LSH dictionary, binary descriptors are required!");
|
||||
|
||||
Reference in New Issue
Block a user