Home
last modified time | relevance | path

Searched refs:dist_type (Results 1 – 13 of 13) sorted by relevance

/external/opencv3/modules/imgproc/test/
Dtest_distancetransform.cpp62 int dist_type; member in CV_DisTransTest
99 dist_type = cvtest::randInt(rng) % 3; in get_test_array_types_and_sizes()
100 dist_type = dist_type == 0 ? CV_DIST_C : dist_type == 1 ? CV_DIST_L1 : CV_DIST_L2; in get_test_array_types_and_sizes()
113 return dist_type == CV_DIST_C || dist_type == CV_DIST_L1 ? 0 : 0.01*MAX(sz.width, sz.height); in get_success_error_level()
147 cvDistTransform( test_array[INPUT][0], test_array[OUTPUT][0], dist_type, mask_size, in run_func()
148 dist_type == CV_DIST_USER ? mask : 0, test_array[OUTPUT][1] ); in run_func()
153 cvTsDistTransform( const CvMat* _src, CvMat* _dst, int dist_type, in cvTsDistTransform() argument
167 if( dist_type == CV_DIST_USER ) in cvTsDistTransform()
169 else if( dist_type == CV_DIST_C ) in cvTsDistTransform()
174 else if( dist_type == CV_DIST_L1 ) in cvTsDistTransform()
[all …]
Dtest_convhull.cpp1430 int dist_type; member in CV_FitLineTest
1529 dist_type = cvtest::randInt(rng) % 6 + 1; in prepare_test_case()
1530 dist_type += dist_type == CV_DIST_C; in prepare_test_case()
1539 cvFitLine( points, dist_type, 0, reps, aeps, line ); in run_func()
1541 cv::fitLine(cv::cvarrToMat(points), (cv::Vec4f&)line[0], dist_type, 0, reps, aeps); in run_func()
1543 cv::fitLine(cv::cvarrToMat(points), (cv::Vec6f&)line[0], dist_type, 0, reps, aeps); in run_func()
/external/opencv3/modules/core/test/
Dtest_rand.cpp12 bool check_pdf(const Mat& hist, double scale, int dist_type,
37 int dist_type, double& refval, double& realval) in check_pdf() argument
49 if( dist_type == CV_RAND_UNI ) in check_pdf()
80 double chi2_pval = chi2_p95(hsz - 1 - (dist_type == CV_RAND_NORMAL ? 2 : 0)); in check_pdf()
109 int dist_type = cvtest::randInt(rng) % (CV_RAND_NORMAL+1); in run() local
117 bool do_sphere_test = dist_type == CV_RAND_UNI; in run()
123 bool fast_algo = dist_type == CV_RAND_UNI && depth < CV_32F; in run()
128 if( dist_type == CV_RAND_UNI ) in run()
173 tested_rng.fill(aslice, dist_type, A, B); in run()
189 double minVal = dist_type == CV_RAND_UNI ? A[c] : A[c] - B[c]*4; in run()
[all …]
/external/fio/t/
Dgenzipf.c45 static int dist_type = TYPE_ZIPF; variable
112 dist_type = TYPE_ZIPF; in parse_options()
114 dist_type = TYPE_PARETO; in parse_options()
139 if (dist_type == TYPE_PARETO) { in parse_options()
146 } else if (dist_type == TYPE_ZIPF) { in parse_options()
185 …bution with %f input and %lu GB size and %lu block_size.\n", dist_types[dist_type], dist_val, gb_s… in main()
190 if (dist_type == TYPE_ZIPF) in main()
211 if (dist_type == TYPE_ZIPF) in main()
/external/opencv3/modules/cudalegacy/src/cuda/
Dccomponetns.cu82 typedef int dist_type; typedef
88 typedef int3 dist_type; typedef
94 typedef int4 dist_type; typedef
100 typedef int dist_type; typedef
106 typedef int3 dist_type; typedef
112 typedef int4 dist_type; typedef
118 typedef float dist_type; typedef
124 typedef int dist_type; typedef
213 … typedef InInterval<typename IntervalsTraits<T>::dist_type, IntervalsTraits<T>::ch> Int_t; in computeEdges()
/external/libnl/lib/route/sch/
Dnetem.c856 int rtnl_netem_set_delay_distribution(struct rtnl_qdisc *qdisc, const char *dist_type) { in rtnl_netem_set_delay_distribution() argument
871 char *test_suffix = strstr(dist_type, dist_suffix); in rtnl_netem_set_delay_distribution()
879 snprintf(name, NAME_MAX, "%s%s%s", test_path[i], dist_type, dist_suffix); in rtnl_netem_set_delay_distribution()
/external/opencv/cv/src/
Dcvemd.cpp151 int dist_type, in cvCalcEMD2() argument
210 if( dist_type < 0 ) in cvCalcEMD2()
239 switch (dist_type) in cvCalcEMD2()
/external/opencv3/modules/imgproc/src/
Demd.cpp150 int dist_type, in cvCalcEMD2() argument
204 if( dist_type < 0 ) in cvCalcEMD2()
233 switch (dist_type) in cvCalcEMD2()
/external/opencv/cv/include/
Dcvcompat.h800 int dims, int dist_type CV_DEFAULT(CV_DIST_L2),
808 return cvCalcEMD2( &sign1, &sign2, dist_type, dist_func, 0, 0, lower_bound, user_param );
Dcv.h1055 CVAPI(void) cvFitLine( const CvArr* points, int dist_type, double param, in LOAD_CHDL()
/external/opencv3/modules/imgproc/include/opencv2/imgproc/
Dimgproc_c.h968 CVAPI(void) cvFitLine( const CvArr* points, int dist_type, double param,
/external/opencv/cxcore/include/
Dcxcore.h673 CVAPI(void) cvRandArr( CvRNG* rng, CvArr* arr, int dist_type,
/external/opencv3/modules/core/include/opencv2/core/
Dcore_c.h1244 CVAPI(void) cvRandArr( CvRNG* rng, CvArr* arr, int dist_type,