Lines Matching refs:_dists
474 ::cvflann::Matrix<DistanceType> _dists(dists.ptr<DistanceType>(), dists.rows, dists.cols); in runKnnSearch_()
476 ((IndexType*)index)->knnSearch(_query, _indices, _dists, knn, in runKnnSearch_()
500 ::cvflann::Matrix<DistanceType> _dists(dists.ptr<DistanceType>(), dists.rows, dists.cols); in runRadiusSearch_()
502 return ((IndexType*)index)->radiusSearch(_query, _indices, _dists, in runRadiusSearch_()
515 static void createIndicesDists(OutputArray _indices, OutputArray _dists, in createIndicesDists() argument
534 if( _dists.needed() ) in createIndicesDists()
536 dists = _dists.getMat(); in createIndicesDists()
541 _dists.release(); in createIndicesDists()
542 _dists.create( rows, minCols, dtype ); in createIndicesDists()
543 dists = _dists.getMat(); in createIndicesDists()
552 OutputArray _dists, int knn, const SearchParams& params) in knnSearch() argument
557 createIndicesDists( _indices, _dists, indices, dists, query.rows, knn, knn, dtype ); in knnSearch()
593 OutputArray _dists, double radius, int maxResults, in radiusSearch() argument
599 createIndicesDists( _indices, _dists, indices, dists, query.rows, maxResults, INT_MAX, dtype ); in radiusSearch()