Home
last modified time | relevance | path

Searched refs:_dist (Results 1 – 11 of 11) sorted by relevance

/external/opencv/ml/src/
Dmlknearest.cpp215 CvMat* _dist, Cv32suf* sort_buf ) const in write_results() argument
290 if( _dist ) in write_results()
292 dst = (float*)(_dist->data.ptr + (start + i)*_dist->step); in write_results()
306 const float** _neighbors, CvMat* _neighbor_responses, CvMat* _dist ) const in find_nearest()
349 if( _dist ) in find_nearest()
351 if( !CV_IS_MAT(_dist) || CV_MAT_TYPE(_dist->type) != CV_32FC1 || in find_nearest()
352 _dist->rows != _samples->rows || _dist->cols != k ) in find_nearest()
387 _results, _neighbor_responses, _dist, sort_buf ); in find_nearest()
/external/opencv3/modules/videostab/include/opencv2/videostab/
Dfast_marching.hpp92 DXY(float _dist, int _x, int _y) : dist(_dist), x(_x), y(_y) {} in DXY()
/external/opencv3/modules/imgproc/src/
Ddistransform.cpp70 distanceTransform_3x3( const Mat& _src, Mat& _temp, Mat& _dist, const float* metrics ) in distanceTransform_3x3() argument
80 float* dist = _dist.ptr<float>(); in distanceTransform_3x3()
83 int dststep = (int)(_dist.step/sizeof(dist[0])); in distanceTransform_3x3()
143 distanceTransform_5x5( const Mat& _src, Mat& _temp, Mat& _dist, const float* metrics ) in distanceTransform_5x5() argument
154 float* dist = _dist.ptr<float>(); in distanceTransform_5x5()
157 int dststep = (int)(_dist.step/sizeof(dist[0])); in distanceTransform_5x5()
233 distanceTransformEx_5x5( const Mat& _src, Mat& _temp, Mat& _dist, Mat& _labels, const float* metric… in distanceTransformEx_5x5() argument
245 float* dist = _dist.ptr<float>(); in distanceTransformEx_5x5()
249 int dststep = (int)(_dist.step/sizeof(dist[0])); in distanceTransformEx_5x5()
/external/opencv3/modules/ml/src/
Dkdtree.cpp268 PQueueElem(float _dist, int _idx) : dist(_dist), idx(_idx) {} in PQueueElem()
276 OutputArray _dist, OutputArray _labels) const in findNearest() argument
408 if( _dist.needed() ) in findNearest()
409 sqrt(Mat(K, 1, CV_32F, dist), _dist); in findNearest()
/external/opencv3/modules/core/src/
Dkmeans.cpp64 const float *_dist, in KMeansPPDistanceComputer() argument
70 dist(_dist), in KMeansPPDistanceComputer()
109 std::vector<float> _dist(N*3); in generateCentersPP() local
110 float* dist = &_dist[0], *tdist = dist + N, *tdist2 = tdist + N; in generateCentersPP()
Dstat.cpp3584 Mat& _dist, Mat& _nidx, int _K, in BatchDistInvoker()
3590 dist = &_dist; in BatchDistInvoker()
3648 OutputArray _dist, int dtype, OutputArray _nidx, in batchDistance() argument
3666 _dist.create(src1.rows, (K > 0 ? K : src2.rows), dtype); in batchDistance()
3667 Mat dist = _dist.getMat(), nidx; in batchDistance()
/external/opencv/cv/src/
D_cvkdtree.hpp304 bbf_nn(const __valuetype & _p, accum_type _dist) in bbf_nn()
305 : p(&_p), dist(_dist) { in bbf_nn()
316 bbf_node(int _node, accum_type _dist) in bbf_node()
317 : node(_node), dist(_dist) { in bbf_node()
/external/libvorbis/vq/
Dmetrics.c83 static float _dist(int el,float *a, float *b){ in _dist() function
104 float this=_dist(c->c->dim,_now(c,j),_now(c,k)); in cell_spacing()
Dvqgen.c60 float _dist(vqgen *v,float *a, float *b){ in _dist() function
109 float this=_dist(v,_now(v,j),_now(v,k)); in vqgen_cellmetric()
260 v->metric_func=_dist; in vqgen_init()
/external/opencv/ml/include/
Dml.h302 CvMat* _neighbor_responses, CvMat* _dist, Cv32suf* sort_buf ) const;
/external/opencv3/apps/traincascade/
Dold_ml.hpp273 CvMat* _neighbor_responses, CvMat* _dist, Cv32suf* sort_buf ) const;