/external/opencv3/modules/core/test/ |
D | test_countnonzero.cpp | 93 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 …]
|
D | test_hal_core.cpp | 64 randu(src, 1, 10); in TEST() 144 randu(a0, -1, 1); in TEST() 146 randu(b, -1, 1); in TEST()
|
D | test_eigen.cpp | 147 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/ |
D | ocl_perf.cpp | 65 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()
|
D | ts_perf.cpp | 88 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/ |
D | eval.pass.cpp | 22 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/ |
D | perf_pnp.cpp | 50 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/ |
D | perf_gemm.cpp | 73 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/ |
D | perf_calib3d.cpp | 103 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/ |
D | perf_minmaxloc.cpp | 23 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()
|
D | perf_split.cpp | 26 randu(m, 0, 255);
|
D | perf_merge.cpp | 29 randu(mv[i], 0, 255);
|
D | perf_convertTo.cpp | 30 randu(src, 0, 255);
|
/external/opencv3/modules/imgproc/perf/opencl/ |
D | perf_blend.cpp | 72 randu(weights1, 0, 1); in OCL_PERF_TEST_P() 73 randu(weights2, 0, 1); in OCL_PERF_TEST_P()
|
/external/opencv3/modules/calib3d/test/ |
D | test_compose_rt.cpp | 146 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()
|
D | test_affine3d_estimator.cpp | 92 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()
|
D | test_solvepnp_ransac.cpp | 262 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()
|
D | test_reproject_image_to_3d.cpp | 120 randu(disp, Scalar(min), Scalar(max)); in runCase() 126 randu(Q, Scalar(-5), Scalar(5)); in runCase()
|
/external/opencv3/modules/imgproc/perf/ |
D | perf_histogram.cpp | 34 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()
|
D | perf_filter2d.cpp | 34 randu(kernel, -3, 10);
|
/external/opencv3/modules/imgproc/test/ |
D | test_boundingrect.cpp | 75 src.push_back(Point_<T>(cv::randu<T>(), cv::randu<T>())); in generate_src_points()
|
/external/opencv3/modules/video/perf/opencl/ |
D | perf_motempl.cpp | 26 randu(silhouette, -5, 5);
|
/external/opencv3/samples/cpp/ |
D | cout_mat.cpp | 36 randu(r, Scalar::all(0), Scalar::all(255)); in main()
|
/external/opencv3/modules/cudaarithm/perf/ |
D | perf_reductions.cpp | 65 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/ |
D | turing.py | 36 cv2.randu(a, np.array([0]), np.array([1]))
|