HomeSort by relevance Sort by last modified time
    Searched refs:RNG (Results 76 - 100 of 126) sorted by null

1 2 34 5 6

  /external/opencv3/modules/imgproc/test/
test_convhull.cpp 275 RNG& rng = ts->get_rng(); local
326 pi[k] = cvRound(cvtest::randReal(rng)*a[k] + b[k]);
329 pf[k] = (float)(cvtest::randReal(rng)*a[k] + b[k]);
340 RNG& rng = ts->get_rng(); local
345 size = cvRound( exp((cvtest::randReal(rng) * (max_log_size - min_log_size) + min_log_size)*CV_LOG2) );
346 use_storage = cvtest::randInt(rng) % 2;
347 point_type = CV_MAKETYPE(cvtest::randInt(rng) %
352 storage = cvCreateMemStorage( (cvtest::randInt(rng)%10 + 1)*1024 )
468 RNG& rng = ts->get_rng(); local
1048 RNG& rng = ts->get_rng(); local
1159 RNG& rng = ts->get_rng(); local
1377 RNG& rng = ts->get_rng(); local
1449 RNG& rng = ts->get_rng(); local
1524 RNG& rng = ts->get_rng(); local
1731 RNG& rng = ts->get_rng(); local
    [all...]
test_approxpoly.cpp 126 RNG& rng = ts->get_rng(); local
130 int total = cvtest::randInt(rng) % 1000 + 1;
136 center.x = cvtest::randInt( rng ) % 1000;
137 center.y = cvtest::randInt( rng ) % 1000;
138 radius = cvtest::randInt( rng ) % 1000;
139 angle = cvtest::randInt( rng ) % 360;
145 int d_radius = cvtest::randInt( rng ) % 10 - 5;
146 int d_angle = 360/total;//cvtest::randInt( rng ) % 10 - 5;
test_cvtyuv.cpp 613 RNG& random = theRNG();
633 random.fill(src, RNG::UNIFORM, 0, 256);
651 RNG& random = theRNG();
676 random.fill(src_full, RNG::UNIFORM, 0, 256);
test_canny.cpp 85 RNG& rng = ts->get_rng(); local
91 aperture_size = cvtest::randInt(rng) % 2 ? 5 : 3;
94 threshold1 = cvtest::randReal(rng)*thresh_range;
95 threshold2 = cvtest::randReal(rng)*thresh_range*0.3;
97 if( cvtest::randInt(rng) % 2 )
100 use_true_gradient = cvtest::randInt(rng) % 2 != 0;
101 test_cpp = (cvtest::randInt(rng) & 256) == 0;
test_thresh.cpp 77 RNG& rng = ts->get_rng(); local
78 int depth = cvtest::randInt(rng) % 3, cn = cvtest::randInt(rng) % 4 + 1;
83 thresh_type = cvtest::randInt(rng) % 5;
87 thresh_val = (float)(cvtest::randReal(rng)*350. - 50.);
88 max_val = (float)(cvtest::randReal(rng)*350. - 50.);
89 if( cvtest::randInt(rng)%4 == 0 )
96 thresh_val = (float)(cvtest::randReal(rng)*(max_val - min_val) + min_val);
97 max_val = (float)(cvtest::randReal(rng)*(max_val - min_val) + min_val)
    [all...]
test_templmatch.cpp 107 RNG& rng = ts->get_rng(); local
108 int depth = cvtest::randInt(rng) % 2, cn = cvtest::randInt(rng) & 1 ? 3 : 1;
115 sizes[INPUT][1].width = cvtest::randInt(rng)%MIN(sizes[INPUT][1].width,max_template_size) + 1;
116 sizes[INPUT][1].height = cvtest::randInt(rng)%MIN(sizes[INPUT][1].height,max_template_size) + 1;
121 method = cvtest::randInt(rng)%6;
122 test_cpp = (cvtest::randInt(rng) & 256) == 0;
  /external/opencv3/modules/calib3d/test/
test_posit.cpp 83 RNG& rng = ts->get_rng(); local
131 angleX = (float)(cvtest::randReal(rng)*2*CV_PI);
132 angleY = (float)(cvtest::randReal(rng)*2*CV_PI);
133 angleZ = (float)(cvtest::randReal(rng)*2*CV_PI);
157 true_translation->data.fl[2] = (float)(cvtest::randReal(rng)*(2*flFocalLength-40) + 60);
158 true_translation->data.fl[0] = (float)((cvtest::randReal(rng)*2-1)*true_translation->data.fl[2]);
159 true_translation->data.fl[1] = (float)((cvtest::randReal(rng)*2-1)*true_translation->data.fl[2]);
test_cameracalibration.cpp 99 RNG& rng = ts->get_rng(); local
100 int depth = cvtest::randInt(rng) % 2 == 0 ? CV_32F : CV_64F;
103 code = cvtest::randInt(rng) % 3;
121 if( cvtest::randInt(rng) % 2 )
135 calc_jacobians = 1;//cvtest::randInt(rng) % 3 != 0;
157 RNG& rng = ts->get_rng(); local
159 r[0] = cvtest::randReal(rng)*CV_PI*2;
160 r[1] = cvtest::randReal(rng)*CV_PI*2
840 RNG rng = ts->get_rng(); local
1035 RNG rng = ts->get_rng(); local
1531 RNG& rng = ts->get_rng(); local
    [all...]
  /external/opencv3/modules/core/src/
precomp.hpp 271 RNG rng; member in struct:cv::CoreTLSData
  /external/opencv3/modules/video/test/
test_accum.cpp 74 RNG& rng = ts->get_rng(); local
75 int depth = cvtest::randInt(rng) % 3, cn = cvtest::randInt(rng) & 1 ? 3 : 1;
76 int accdepth = std::max((int)(cvtest::randInt(rng) % 2 + 1), depth);
88 alpha = cvtest::randReal(rng);
test_optflowpyrlk.cpp 234 cv::RNG rng(123123);
238 int x = rng.uniform(0, 640);
239 int y = rng.uniform(0, 360);
  /external/opencv3/modules/videostab/src/
outlier_rejection.cpp 102 RNG rng(0);
124 idx = cell[static_cast<unsigned>(rng) % cell.size()];
  /external/opencv3/modules/cudafeatures2d/src/
orb.cpp 433 RNG rng(0x12345678);
447 int idx = rng.uniform(0, poolSize);
470 RNG rng(0x34985739);
474 pattern[i].x = rng.uniform(-patchSize / 2, patchSize / 2 + 1);
475 pattern[i].y = rng.uniform(-patchSize / 2, patchSize / 2 + 1);
    [all...]
  /external/opencv3/modules/features2d/test/
test_matchers_algorithmic.cpp 163 RNG& rng = theRNG(); local
168 rng.fill( buf, RNG::UNIFORM, Scalar::all(0), Scalar(3) );
186 int elem = rng(dim);
187 float diff = rng.uniform( step*c, step*(c+1) );
test_nearestneighbors.cpp 92 RNG rng; local
99 int fi = rng.next() % featuresCount;
102 points.at<float>(pi, d) = data.at<float>(fi, d) + rng.uniform(0.0f, 1.0f) * noise;
  /external/opencv3/modules/imgproc/src/
linefit.cpp 326 RNG rng((uint64)-1);
373 j = rng.uniform(0, count);
466 RNG rng((uint64)-1);
508 j = rng.uniform(0, count);
  /external/opencv3/modules/ts/src/
cuda_test.cpp 64 RNG& rng = TS::ptr()->get_rng(); local
65 return rng.uniform(minVal, maxVal);
70 RNG& rng = TS::ptr()->get_rng(); local
71 return rng.uniform(minVal, maxVal);
ts.cpp 492 rng = RNG(params.rng_seed);
529 rng = RNG(params.rng_seed);
530 current_test_info.rng_seed0 = current_test_info.rng_seed = rng.state;
538 current_test_info.rng_seed = rng.state;
ts_func.cpp 44 Size randomSize(RNG& rng, double maxSizeLog)
46 double width_log = rng.uniform(0., maxSizeLog);
47 double height_log = rng.uniform(0., maxSizeLog - width_log);
48 if( (unsigned)rng % 2 != 0 )
56 void randomSize(RNG& rng, int minDims, int maxDims, double maxSizeLog, vector<int>& sz)
58 int i, dims = rng.uniform(minDims, maxDims+1);
62 double v = rng.uniform(0., maxSizeLog);
68 int j = rng.uniform(0, dims)
    [all...]
  /external/opencv3/modules/ml/test/
test_save_load.cpp 211 ts->get_rng().fill(input, RNG::UNIFORM, 0, 40);
  /external/opencv3/modules/superres/test/
test_superres.cpp 114 cvtest::TS::ptr()->get_rng().fill(noise, cv::RNG::NORMAL, 0.0, sigma);
  /external/opencv3/modules/viz/src/
precomp.hpp 229 RNG& rng = theRNG(); local
230 return Vec3d(rng.uniform(from, to), rng.uniform(from, to), rng.uniform(from, to));
  /external/opencv3/samples/cpp/
points_classifier.cpp 22 RNG rng; variable
  /external/opencv3/apps/traincascade/
old_ml.hpp 756 cv::RNG* rng; member in struct:CvDTreeTrainData
977 cv::RNG* rng; member in class:CvRTrees
1770 cv::RNG* rng; member in class:CvGBTrees
1895 cv::RNG* rng; member in class:CvANN_MLP
2030 cv::RNG* rng; member in class:CvMLData
    [all...]
  /external/opencv3/modules/cudaimgproc/perf/
perf_hough.cpp 290 cv::RNG rng(123456789);
291 const int objCount = rng.uniform(5, 15);
294 double scale = rng.uniform(0.7, 1.3);
295 bool rotate = 1 == rng.uniform(0, 2);
304 pos.x = rng.uniform(0, image.cols - obj.cols);
305 pos.y = rng.uniform(0, image.rows - obj.rows);

Completed in 1296 milliseconds

1 2 34 5 6