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

1 2 3 45 6

  /external/opencv3/samples/cpp/
image_alignment.cpp 235 cv::RNG rng; local
239 warpGround = (Mat_<float>(2,3) << 1, 0, (rng.uniform(10.f, 20.f)),
240 0, 1, (rng.uniform(10.f, 20.f)));
245 angle = CV_PI/30 + CV_PI*rng.uniform((double)-2.f, (double)2.f)/180;
247 warpGround = (Mat_<float>(2,3) << cos(angle), -sin(angle), (rng.uniform(10.f, 20.f)),
248 sin(angle), cos(angle), (rng.uniform(10.f, 20.f)));
254 warpGround = (Mat_<float>(2,3) << (1-rng.uniform(-0.05f, 0.05f)),
255 (rng.uniform(-0.03f, 0.03f)), (rng.uniform(10.f, 20.f))
    [all...]
  /external/opencv3/modules/calib3d/test/
test_homography.cpp 252 RNG& rng = ts->get_rng(); local
258 src_data[2*i] = (float)cvtest::randReal(rng)*image_size;
259 src_data[2*i+1] = (float)cvtest::randReal(rng)*image_size;
279 double fi = cvtest::randReal(rng)*2*CV_PI;
281 double t_x = cvtest::randReal(rng)*sqrt(image_size*1.0),
282 t_y = cvtest::randReal(rng)*sqrt(image_size*1.0);
398 rng.fill(noise_2f, RNG::NORMAL, Scalar::all(0), Scalar::all(sigma));
    [all...]
test_cameracalibration_artificial.cpp 373 RNG& rng = theRNG(); local
385 double fx = 300 + (20 * (double)rng - 10);
386 double fy = 300 + (20 * (double)rng - 10);
388 double cx = bg.cols/2 + (40 * (double)rng - 20);
389 double cy = bg.rows/2 + (40 * (double)rng - 20);
394 double k1 = 0.5 + (double)rng/5;
395 double k2 = (double)rng/5;
396 double k3 = (double)rng/5;
398 double p1 = 0.001 + (double)rng/10
    [all...]
test_cameracalibration_badarg.cpp 311 cv::RNG& rng = theRNG(); local
313 bad_objPts_cpp5.at<Point3f>(0, i).z += ((float)rng - 0.5f);
  /external/opencv3/modules/core/test/
test_dxt.cpp 537 RNG& rng = ts->get_rng(); local
538 int bits = cvtest::randInt(rng);
539 int depth = cvtest::randInt(rng)%2 + CV_32F;
843 RNG& rng = theRNG(); local
846 int m = rng.uniform(2, 11);
847 int n = rng.uniform(2, 11);
848 int depth = rng.uniform(0, 2) + CV_32F;
test_operations.cpp 1165 RNG& rng = theRNG(); local
    [all...]
  /external/opencv3/modules/cudafeatures2d/test/
test_features2d.cpp 250 cv::RNG& rng = cvtest::TS::ptr()->get_rng(); local
257 rng.fill(queryBuf, cv::RNG::UNIFORM, cv::Scalar::all(0), cv::Scalar::all(3));
275 int elem = rng(dim);
276 float diff = rng.uniform(step * c, step * (c + 1));
  /external/opencv3/modules/ml/test/
test_emknearestkmeans.cpp 271 RNG rng; local
273 bestLabels.at<int>( rng.next() % pointsCount, 0 ) = rng.next() % 3;
631 RNG rng(0);
634 int i1 = rng(static_cast<unsigned>(trainSamplesMask.size()));
635 int i2 = rng(static_cast<unsigned>(trainSamplesMask.size()));
test_mltests2.cpp 208 RNG& rng = theRNG(); local
210 initSeed = rng.state;
211 rng.state = seeds[rng(seedCount)];
  /external/opencv3/modules/imgproc/test/
test_color.cpp 122 RNG& rng = ts->get_rng(); local
128 depth = cvtest::randInt(rng) % 3;
133 depth = cvtest::randInt(rng) % 2;
139 cn = (cvtest::randInt(rng) & 1) + 3;
140 blue_idx = cvtest::randInt(rng) & 1 ? 2 : 0;
147 inplace = cn == 3 && cvtest::randInt(rng) % 2 != 0;
148 test_cpp = (cvtest::randInt(rng) & 256) == 0;
607 RNG& rng = ts->get_rng() local
1288 RNG& rng = ts->get_rng(); local
1559 RNG& rng = ts->get_rng(); local
1938 RNG& rng = cvtest::TS::ptr()->get_rng(); local
    [all...]
test_moments.cpp 111 RNG& rng = ts->get_rng(); local
113 int cn = (cvtest::randInt(rng) % 4) + 1;
114 int depth = cvtest::randInt(rng) % 4;
117 is_binary = cvtest::randInt(rng) % 2 != 0;
119 try_umat = cvtest::randInt(rng) % 5 != 0;
121 try_umat = cvtest::randInt(rng) % 2 != 0;
144 coi = cvtest::randInt(rng) % cn;
  /external/opencv3/modules/objdetect/test/
test_cascadeandhog.cpp 1338 RNG& rng = ts->get_rng(); local
    [all...]
  /external/curl/lib/vtls/
cyassl.c 892 RNG rng; local
894 if(InitRng(&rng))
898 if(RNG_GenerateBlock(&rng, entropy, (unsigned)length))
  /external/opencv3/modules/core/include/opencv2/core/
base.hpp 604 class CV_EXPORTS RNG;
  /external/opencv3/modules/features2d/src/
orb.cpp 349 RNG rng(0x12345678);
359 int idx = rng.uniform(0, poolSize);
637 RNG rng(0x34985739); // we always start with a fixed seed,
641 pattern[i].x = rng.uniform(-patchSize/2, patchSize/2+1);
642 pattern[i].y = rng.uniform(-patchSize/2, patchSize/2+1);
    [all...]
  /external/opencv3/modules/ml/src/
ann_mlp.cpp 100 rng = RNG((uint64)-1);
189 val = rng.uniform(0., 1.)*2-1.;
781 j = rng.uniform(0, count);
782 k = rng.uniform(0, count);
1309 RNG rng; member in class:cv::ml::ANN_MLPImpl
    [all...]
data.cpp 794 RNG& rng = theRNG(); local
798 int a = rng.uniform(0, nsamples);
799 int b = rng.uniform(0, nsamples);
    [all...]
svm.cpp     [all...]
tree.cpp 721 RNG r((uint64)-1);
    [all...]
  /external/opencv3/modules/ts/include/opencv2/ts/
ts_perf.hpp 185 cv::RNG regRNG;//own random numbers generator to make collection and verification work identical
  /external/opencv3/modules/videostab/src/
global_motion.cpp 406 RNG rng(0);
418 indices[i] = static_cast<unsigned>(rng) % npoints;
  /external/opencv3/modules/imgproc/src/
hough.cpp 422 RNG rng((uint64)-1);
497 int idx = rng.uniform(0, count);
    [all...]
  /external/opencv3/modules/core/src/
lapack.cpp 520 RNG rng(0x12345678);
533 _Tp val = (rng.next() & 256) != 0 ? val0 : -val0;
    [all...]
  /external/opencv3/modules/video/src/
lkpyramid.cpp     [all...]
  /external/opencv3/apps/traincascade/
old_ml_tree.cpp 215 rng = &cv::theRNG();
614 int a = (*rng)(sample_count);
615 int b = (*rng)(sample_count);
631 int a = (*rng)(sample_count);
632 int b = (*rng)(sample_count);
    [all...]

Completed in 2553 milliseconds

1 2 3 45 6