randu 50 modules/calib3d/perf/perf_pnp.cpp randu(noise, 0, 0.01); randu 97 modules/calib3d/perf/perf_pnp.cpp randu(noise, -0.001, 0.001); randu 117 modules/calib3d/perf/perf_pnp.cpp randu(object, -100, 100); randu 120 modules/calib3d/perf/perf_pnp.cpp randu(camera_mat, 0.5, 1); randu 131 modules/calib3d/perf/perf_pnp.cpp randu(rvec_gold, 0, 1); randu 134 modules/calib3d/perf/perf_pnp.cpp randu(tvec_gold, 0, 1); randu 92 modules/calib3d/test/test_affine3d_estimator.cpp cv::randu(aff, Scalar(1), Scalar(3)); randu 134 modules/calib3d/test/test_affine3d_estimator.cpp cv::randu(aff, Scalar(-2), Scalar(2)); randu 146 modules/calib3d/test/test_affine3d_estimator.cpp randu(fpts, Scalar::all(0), Scalar::all(100)); randu 382 modules/calib3d/test/test_cameracalibration_artificial.cpp randu(bg, Scalar::all(32), Scalar::all(255)); randu 506 modules/calib3d/test/test_cameracalibration_badarg.cpp randu(objectPoints_cpp, Scalar::all(1), Scalar::all(10)); randu 378 modules/calib3d/test/test_chesscorners.cpp randu(bg, Scalar::all(0), Scalar::all(255)); randu 146 modules/calib3d/test/test_compose_rt.cpp randu(rvec1, Scalar(0), Scalar(6.29)); randu 147 modules/calib3d/test/test_compose_rt.cpp randu(rvec2, Scalar(0), Scalar(6.29)); randu 149 modules/calib3d/test/test_compose_rt.cpp randu(tvec1, Scalar(-2), Scalar(2)); randu 150 modules/calib3d/test/test_compose_rt.cpp randu(tvec2, Scalar(-2), Scalar(2)); randu 120 modules/calib3d/test/test_reproject_image_to_3d.cpp randu(disp, Scalar(min), Scalar(max)); randu 126 modules/calib3d/test/test_reproject_image_to_3d.cpp randu(Q, Scalar(-5), Scalar(5)); randu 262 modules/calib3d/test/test_solvepnp_ransac.cpp randu(object, -100, 100); randu 265 modules/calib3d/test/test_solvepnp_ransac.cpp randu(camera_mat, 0.5, 1); randu 275 modules/calib3d/test/test_solvepnp_ransac.cpp randu(rvec_gold, 0, 1); randu 277 modules/calib3d/test/test_solvepnp_ransac.cpp randu(tvec_gold, 0, 1); randu 2141 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void randu(InputOutputArray dst, InputArray low, InputArray high); randu 128 modules/core/include/opencv2/core/matx.hpp static Matx randu(_Tp a, _Tp b); randu 180 modules/core/include/opencv2/core/operations.hpp cv::randu(M, Scalar(a), Scalar(b)); randu 1403 modules/core/misc/java/test/CoreTest.java Core.randu(src, 0, 256); randu 1412 modules/core/misc/java/test/CoreTest.java Core.randu(src, 0, 256); randu 1589 modules/core/misc/java/test/CoreTest.java Core.randu(gray0, 3, 23); randu 90 modules/core/perf/opencl/perf_arithm.cpp randu(src, 5, 16); randu 111 modules/core/perf/opencl/perf_arithm.cpp randu(src, 1, 10000); randu 410 modules/core/perf/opencl/perf_arithm.cpp randu(src, 0, 60); randu 437 modules/core/perf/opencl/perf_arithm.cpp randu(src, 0, 10); randu 611 modules/core/perf/opencl/perf_arithm.cpp randu(src, 0, 100); randu 658 modules/core/perf/opencl/perf_arithm.cpp randu(src, 0, 1000); randu 73 modules/core/perf/opencl/perf_gemm.cpp randu(src1, -10.0f, 10.0f); randu 74 modules/core/perf/opencl/perf_gemm.cpp randu(src2, -10.0f, 10.0f); randu 75 modules/core/perf/opencl/perf_gemm.cpp randu(src3, -10.0f, 10.0f); randu 30 modules/core/perf/perf_convertTo.cpp randu(src, 0, 255); randu 29 modules/core/perf/perf_merge.cpp randu(mv[i], 0, 255); randu 23 modules/core/perf/perf_minmaxloc.cpp randu(src, 1, 254 /*do not include 0 and 255 to avoid early exit on 1 byte data*/); randu 25 modules/core/perf/perf_minmaxloc.cpp randu(src, -127, 126); randu 26 modules/core/perf/perf_split.cpp randu(m, 0, 255); randu 93 modules/core/test/test_countnonzero.cpp case CV_8U: { src.at<uchar>(i, j) = cv::randu<uchar>(); break; } randu 94 modules/core/test/test_countnonzero.cpp case CV_8S: { src.at<char>(i, j) = cv::randu<uchar>() - 128; break; } randu 95 modules/core/test/test_countnonzero.cpp case CV_16U: { src.at<ushort>(i, j) = cv::randu<ushort>(); break; } randu 96 modules/core/test/test_countnonzero.cpp case CV_16S: { src.at<short>(i, j) = cv::randu<short>(); break; } randu 97 modules/core/test/test_countnonzero.cpp case CV_32S: { src.at<int>(i, j) = cv::randu<int>(); break; } randu 98 modules/core/test/test_countnonzero.cpp case CV_32F: { src.at<float>(i, j) = cv::randu<float>(); break; } randu 99 modules/core/test/test_countnonzero.cpp case CV_64F: { src.at<double>(i, j) = cv::randu<double>(); break; } randu 116 modules/core/test/test_countnonzero.cpp case CV_8U: { if (!src.at<uchar>(i, j)) {src.at<uchar>(i, j) = cv::randu<uchar>(); n += (src.at<uchar>(i, j) > 0);} break; } randu 117 modules/core/test/test_countnonzero.cpp case CV_8S: { if (!src.at<char>(i, j)) {src.at<char>(i, j) = cv::randu<uchar>() - 128; n += abs(sign(src.at<char>(i, j)));} break; } randu 118 modules/core/test/test_countnonzero.cpp case CV_16U: { if (!src.at<ushort>(i, j)) {src.at<ushort>(i, j) = cv::randu<ushort>(); n += (src.at<ushort>(i, j) > 0);} break; } randu 119 modules/core/test/test_countnonzero.cpp case CV_16S: { if (!src.at<short>(i, j)) {src.at<short>(i, j) = cv::randu<short>(); n += abs(sign(src.at<short>(i, j)));} break; } randu 120 modules/core/test/test_countnonzero.cpp case CV_32S: { if (!src.at<int>(i, j)) {src.at<int>(i, j) = cv::randu<int>(); n += abs(sign(src.at<int>(i, j)));} break; } randu 121 modules/core/test/test_countnonzero.cpp case CV_32F: { if (fabs(src.at<float>(i, j)) <= eps_32) {src.at<float>(i, j) = cv::randu<float>(); n += (fabs(src.at<float>(i, j)) > eps_32);} break; } randu 122 modules/core/test/test_countnonzero.cpp case CV_64F: { if (fabs(src.at<double>(i, j)) <= eps_64) {src.at<double>(i, j) = cv::randu<double>(); n += (fabs(src.at<double>(i, j)) > eps_64);} break; } randu 232 modules/core/test/test_countnonzero.cpp int distribution = cv::randu<uchar>()%2; randu 851 modules/core/test/test_dxt.cpp randu(src8u, Scalar::all(0), Scalar::all(10)); randu 878 modules/core/test/test_dxt.cpp randu(x, -1., 1.); randu 147 modules/core/test/test_eigen.cpp float value = cv::randu<float>(); randu 157 modules/core/test/test_eigen.cpp float value = cv::randu<float>(); randu 402 modules/core/test/test_eigen.cpp if (type == CV_32FC1) src.at<float>(k, j) = src.at<float>(j, k) = cv::randu<float>(); randu 403 modules/core/test/test_eigen.cpp else src.at<double>(k, j) = src.at<double>(j, k) = cv::randu<double>(); randu 64 modules/core/test/test_hal_core.cpp randu(src, 1, 10); randu 144 modules/core/test/test_hal_core.cpp randu(a0, -1, 1); randu 146 modules/core/test/test_hal_core.cpp randu(b, -1, 1); randu 442 modules/core/test/test_io.cpp randu(m, 0, 1); randu 171 modules/core/test/test_mat.cpp randu( src, Scalar(0), Scalar(100) ); randu 2765 modules/core/test/test_math.cpp cv::randu(src,cv::Scalar(-128), cv::Scalar(128)); randu 2795 modules/core/test/test_math.cpp cv::randu(src,cv::Scalar(-128), cv::Scalar(128)); randu 2829 modules/core/test/test_math.cpp randu(mtx0, -5, 5); randu 153 modules/core/test/test_operations.cpp randu(mat4x4, Scalar(0), Scalar(10)); randu 530 modules/core/test/test_operations.cpp randu(mat4x4, Scalar(0), Scalar(10)); randu 594 modules/core/test/test_umat.cpp randu(a, Scalar::all(-100), Scalar::all(100)); randu 618 modules/core/test/test_umat.cpp randu(b, Scalar::all(-100), Scalar::all(100)); randu 508 modules/cudaarithm/perf/perf_element_operations.cpp cv::randu(src, 0, 100000); randu 540 modules/cudaarithm/perf/perf_element_operations.cpp cv::randu(src, 0, 100000); randu 572 modules/cudaarithm/perf/perf_element_operations.cpp cv::randu(src, 0, 10); randu 65 modules/cudaarithm/perf/perf_reductions.cpp cv::randu(src, 0, 254); randu 240 modules/cudaarithm/perf/perf_reductions.cpp cv::randu(src, 0, 254); randu 277 modules/cudaarithm/perf/perf_reductions.cpp cv::randu(src, 0, 254); randu 84 modules/cudaimgproc/perf/perf_color.cpp cv::randu(src, 0, depth == CV_8U ? 255.0 : 1.0); randu 103 modules/cudalegacy/perf/perf_calib3d.cpp cv::randu(camera_mat, 0.5, 1); randu 112 modules/cudalegacy/perf/perf_calib3d.cpp cv::randu(rvec_gold, 0, 1); randu 115 modules/cudalegacy/perf/perf_calib3d.cpp cv::randu(tvec_gold, 0, 1); randu 206 modules/cudastereo/perf/perf_stereo.cpp cv::randu(Q, 0.1, 1.0); randu 130 modules/features2d/test/test_nearestneighbors.cpp randu( desc, Scalar(minValue), Scalar(maxValue) ); randu 72 modules/imgproc/perf/opencl/perf_blend.cpp randu(weights1, 0, 1); randu 73 modules/imgproc/perf/opencl/perf_blend.cpp randu(weights2, 0, 1); randu 278 modules/imgproc/perf/opencl/perf_filters.cpp randu(kernel, -3.0, 3.0); randu 34 modules/imgproc/perf/perf_filter2d.cpp randu(kernel, -3, 10); randu 34 modules/imgproc/perf/perf_histogram.cpp randu(source, rangeLow, rangeHight); randu 63 modules/imgproc/perf/perf_histogram.cpp randu(source, rangeLow, rangeHight); randu 91 modules/imgproc/perf/perf_histogram.cpp randu(source, rangeLow, rangeHight); randu 75 modules/imgproc/test/test_boundingrect.cpp src.push_back(Point_<T>(cv::randu<T>(), cv::randu<T>())); randu 1825 modules/imgproc/test/test_filter.cpp randu(small_kernel, -10, 10); randu 1826 modules/imgproc/test/test_filter.cpp randu(big_kernel, -1, 1); randu 1827 modules/imgproc/test/test_filter.cpp randu(kernelX, -1, 1); randu 1828 modules/imgproc/test/test_filter.cpp randu(kernelY, -1, 1); randu 1842 modules/imgproc/test/test_filter.cpp randu(src, 0, 100); randu 1934 modules/imgproc/test/test_filter.cpp randu(src, 0, 256); randu 1676 modules/imgproc/test/test_imgwarp.cpp randu(src, 0, 256); randu 1681 modules/imgproc/test/test_imgwarp.cpp randu(map_x, 0., N+0.); randu 1682 modules/imgproc/test/test_imgwarp.cpp randu(map_y, 0., N+0.); randu 114 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java Core.randu(grayRnd, 0, 256); randu 127 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java Core.randu(grayRnd_32f, 0, 256); randu 144 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java Core.randu(grayRnd, 0, 256); randu 157 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java Core.randu(grayRnd_32f, 0, 256); randu 159 modules/ml/src/inner_functions.cpp randu(samples, 0., 1.); randu 287 modules/ml/test/test_save_load.cpp randu(samples, 0., 1.); randu 1387 modules/objdetect/test/test_cascadeandhog.cpp randu(img, 0, 256); randu 51 modules/photo/test/test_denoise_tvl1.cpp cv::randu(mask, 0, cvRound(1./pepper_salt_ratio)); randu 173 modules/stitching/src/util.cpp if (randu<int>() % (size - i) < count) randu 117 modules/ts/include/opencv2/ts/ocl_perf.hpp CV_EXPORTS void randu(InputOutputArray dst); randu 68 modules/ts/src/ocl_perf.cpp cv::randu(dst, 0, 256); randu 70 modules/ts/src/ocl_perf.cpp cv::randu(dst, -128, 128); randu 72 modules/ts/src/ocl_perf.cpp cv::randu(dst, 0, 1024); randu 74 modules/ts/src/ocl_perf.cpp cv::randu(dst, -1.0, 1.0); randu 76 modules/ts/src/ocl_perf.cpp cv::randu(dst, -4096, 4096); randu 95 modules/ts/src/ts_perf.cpp cv::randu(mr, cv::Mat(1, 1, CV_32S, minmax), cv::Mat(1, 1, CV_32S, minmax + 1)); randu 102 modules/ts/src/ts_perf.cpp cv::randu(mr, cv::Mat(1, 1, CV_32F, minmax), cv::Mat(1, 1, CV_32F, minmax + 1)); randu 109 modules/ts/src/ts_perf.cpp cv::randu(mr, cv::Mat(1, 1, CV_64F, minmax), cv::Mat(1, 1, CV_64F, minmax + 1)); randu 1022 modules/ts/src/ts_perf.cpp cv::randu(a, 0, 256); randu 1024 modules/ts/src/ts_perf.cpp cv::randu(a, -128, 128); randu 1026 modules/ts/src/ts_perf.cpp cv::randu(a, 0, 1024); randu 1028 modules/ts/src/ts_perf.cpp cv::randu(a, -1.0, 1.0); randu 1030 modules/ts/src/ts_perf.cpp cv::randu(a, -4096, 4096); randu 1246 modules/ts/src/ts_perf.cpp randu(m); randu 26 modules/video/perf/opencl/perf_motempl.cpp randu(silhouette, -5, 5); randu 36 samples/cpp/cout_mat.cpp randu(r, Scalar::all(0), Scalar::all(255)); randu 70 samples/cpp/tutorial_code/core/mat_the_basic_image_container/mat_the_basic_image_container.cpp randu(R, Scalar::all(0), Scalar::all(255));