Home
last modified time | relevance | path

Searched refs:randu (Results 1 – 25 of 62) sorted by relevance

123

/external/opencv3/modules/core/test/
Dtest_countnonzero.cpp93 case CV_8U: { src.at<uchar>(i, j) = cv::randu<uchar>(); break; } in generate_src_data()
94 case CV_8S: { src.at<char>(i, j) = cv::randu<uchar>() - 128; break; } in generate_src_data()
95 case CV_16U: { src.at<ushort>(i, j) = cv::randu<ushort>(); break; } in generate_src_data()
96 case CV_16S: { src.at<short>(i, j) = cv::randu<short>(); break; } in generate_src_data()
97 case CV_32S: { src.at<int>(i, j) = cv::randu<int>(); break; } in generate_src_data()
98 case CV_32F: { src.at<float>(i, j) = cv::randu<float>(); break; } in generate_src_data()
99 case CV_64F: { src.at<double>(i, j) = cv::randu<double>(); break; } in generate_src_data()
116 …case CV_8U: { if (!src.at<uchar>(i, j)) {src.at<uchar>(i, j) = cv::randu<uchar>(); n += (src.at<uc… in generate_src_data()
117 …case CV_8S: { if (!src.at<char>(i, j)) {src.at<char>(i, j) = cv::randu<uchar>() - 128; n += abs(si… in generate_src_data()
118 …case CV_16U: { if (!src.at<ushort>(i, j)) {src.at<ushort>(i, j) = cv::randu<ushort>(); n += (src.a… in generate_src_data()
[all …]
Dtest_hal_core.cpp64 randu(src, 1, 10); in TEST()
144 randu(a0, -1, 1); in TEST()
146 randu(b, -1, 1); in TEST()
Dtest_eigen.cpp147 float value = cv::randu<float>(); in run()
157 float value = cv::randu<float>(); in run()
402 … if (type == CV_32FC1) src.at<float>(k, j) = src.at<float>(j, k) = cv::randu<float>(); in check_full()
403 else src.at<double>(k, j) = src.at<double>(j, k) = cv::randu<double>(); in check_full()
/external/opencv3/modules/ts/src/
Docl_perf.cpp65 void randu(InputOutputArray dst) in randu() function
68 cv::randu(dst, 0, 256); in randu()
70 cv::randu(dst, -128, 128); in randu()
72 cv::randu(dst, 0, 1024); in randu()
74 cv::randu(dst, -1.0, 1.0); in randu()
76 cv::randu(dst, -4096, 4096); in randu()
Dts_perf.cpp88 static void randu(cv::Mat& m) in randu() function
95 cv::randu(mr, cv::Mat(1, 1, CV_32S, minmax), cv::Mat(1, 1, CV_32S, minmax + 1)); in randu()
102 cv::randu(mr, cv::Mat(1, 1, CV_32F, minmax), cv::Mat(1, 1, CV_32F, minmax + 1)); in randu()
109 cv::randu(mr, cv::Mat(1, 1, CV_64F, minmax), cv::Mat(1, 1, CV_64F, minmax + 1)); in randu()
1022 cv::randu(a, 0, 256); in warmup()
1024 cv::randu(a, -128, 128); in warmup()
1026 cv::randu(a, 0, 1024); in warmup()
1028 cv::randu(a, -1.0, 1.0); in warmup()
1030 cv::randu(a, -4096, 4096); in warmup()
1246 randu(m); in warmup_impl()
/external/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/
Deval.pass.cpp22 randu() in randu() function
76 randu<unsigned int>(); in main()
77 randu<unsigned long>(); in main()
78 randu<unsigned long long>(); in main()
/external/opencv3/modules/calib3d/perf/
Dperf_pnp.cpp50 randu(noise, 0, 0.01);
97 randu(noise, -0.001, 0.001);
117 randu(object, -100, 100);
120 randu(camera_mat, 0.5, 1);
131 randu(rvec_gold, 0, 1);
134 randu(tvec_gold, 0, 1);
/external/opencv3/modules/core/perf/opencl/
Dperf_gemm.cpp73 randu(src1, -10.0f, 10.0f);
74 randu(src2, -10.0f, 10.0f);
75 randu(src3, -10.0f, 10.0f);
/external/opencv3/modules/cudalegacy/perf/
Dperf_calib3d.cpp103 cv::randu(camera_mat, 0.5, 1);
112 cv::randu(rvec_gold, 0, 1);
115 cv::randu(tvec_gold, 0, 1);
/external/opencv3/modules/core/perf/
Dperf_minmaxloc.cpp23 randu(src, 1, 254 /*do not include 0 and 255 to avoid early exit on 1 byte data*/); in PERF_TEST_P()
25 randu(src, -127, 126); in PERF_TEST_P()
Dperf_split.cpp26 randu(m, 0, 255);
Dperf_merge.cpp29 randu(mv[i], 0, 255);
Dperf_convertTo.cpp30 randu(src, 0, 255);
/external/opencv3/modules/imgproc/perf/opencl/
Dperf_blend.cpp72 randu(weights1, 0, 1); in OCL_PERF_TEST_P()
73 randu(weights2, 0, 1); in OCL_PERF_TEST_P()
/external/opencv3/modules/calib3d/test/
Dtest_compose_rt.cpp146 randu(rvec1, Scalar(0), Scalar(6.29)); in run()
147 randu(rvec2, Scalar(0), Scalar(6.29)); in run()
149 randu(tvec1, Scalar(-2), Scalar(2)); in run()
150 randu(tvec2, Scalar(-2), Scalar(2)); in run()
Dtest_affine3d_estimator.cpp92 cv::randu(aff, Scalar(1), Scalar(3)); in test4Points()
134 cv::randu(aff, Scalar(-2), Scalar(2)); in testNPoints()
146 randu(fpts, Scalar::all(0), Scalar::all(100)); in testNPoints()
Dtest_solvepnp_ransac.cpp262 randu(object, -100, 100); in TEST()
265 randu(camera_mat, 0.5, 1); in TEST()
275 randu(rvec_gold, 0, 1); in TEST()
277 randu(tvec_gold, 0, 1); in TEST()
Dtest_reproject_image_to_3d.cpp120 randu(disp, Scalar(min), Scalar(max)); in runCase()
126 randu(Q, Scalar(-5), Scalar(5)); in runCase()
/external/opencv3/modules/imgproc/perf/
Dperf_histogram.cpp34 randu(source, rangeLow, rangeHight); in PERF_TEST_P()
63 randu(source, rangeLow, rangeHight); in PERF_TEST_P()
91 randu(source, rangeLow, rangeHight); in PERF_TEST_P()
Dperf_filter2d.cpp34 randu(kernel, -3, 10);
/external/opencv3/modules/imgproc/test/
Dtest_boundingrect.cpp75 src.push_back(Point_<T>(cv::randu<T>(), cv::randu<T>())); in generate_src_points()
/external/opencv3/modules/video/perf/opencl/
Dperf_motempl.cpp26 randu(silhouette, -5, 5);
/external/opencv3/samples/cpp/
Dcout_mat.cpp36 randu(r, Scalar::all(0), Scalar::all(255)); in main()
/external/opencv3/modules/cudaarithm/perf/
Dperf_reductions.cpp65 cv::randu(src, 0, 254); in PERF_TEST_P()
240 cv::randu(src, 0, 254); in PERF_TEST_P()
277 cv::randu(src, 0, 254); in PERF_TEST_P()
/external/opencv3/samples/python2/
Dturing.py36 cv2.randu(a, np.array([0]), np.array([1]))

123