mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
Merge pull request #17721 from pemmanuelviel:pev--fix-hist-intersect-arguments
This commit is contained in:
commit
73f7d091f8
@ -801,7 +801,7 @@ bool Index::load(InputArray _data, const String& filename)
|
|||||||
loadIndex< ::cvflann::MaxDistance<float> >(this, index, data, fin);
|
loadIndex< ::cvflann::MaxDistance<float> >(this, index, data, fin);
|
||||||
break;
|
break;
|
||||||
case FLANN_DIST_HIST_INTERSECT:
|
case FLANN_DIST_HIST_INTERSECT:
|
||||||
loadIndex< ::cvflann::HistIntersectionDistance<float> >(index, data, fin);
|
loadIndex< ::cvflann::HistIntersectionDistance<float> >(this, index, data, fin);
|
||||||
break;
|
break;
|
||||||
case FLANN_DIST_HELLINGER:
|
case FLANN_DIST_HELLINGER:
|
||||||
loadIndex< ::cvflann::HellingerDistance<float> >(this, index, data, fin);
|
loadIndex< ::cvflann::HellingerDistance<float> >(this, index, data, fin);
|
||||||
|
Loading…
Reference in New Issue
Block a user