Home | History | Annotate | Download | only in src

Lines Matching defs:dtype

468     int dtype = DataType<DistanceType>::type;
469 CV_Assert(query.type() == type && indices.type() == CV_32S && dists.type() == dtype);
494 int dtype = DataType<DistanceType>::type;
495 CV_Assert(query.type() == type && indices.type() == CV_32S && dists.type() == dtype);
517 int minCols, int maxCols, int dtype)
537 if( !dists.isContinuous() || dists.type() != dtype ||
542 _dists.create( rows, minCols, dtype );
547 dists.create( rows, minCols, dtype );
555 int dtype = distType == FLANN_DIST_HAMMING ? CV_32S : CV_32F;
557 createIndicesDists( _indices, _dists, indices, dists, query.rows, knn, knn, dtype );
597 int dtype = distType == FLANN_DIST_HAMMING ? CV_32S : CV_32F;
599 createIndicesDists( _indices, _dists, indices, dists, query.rows, maxResults, INT_MAX, dtype );