Home
last modified time | relevance | path

Searched refs:theRNG (Results 1 – 25 of 91) sorted by relevance

1234

/dports/graphics/opencv/opencv-4.5.3/modules/flann/include/opencv2/flann/
H A Drandom.h47 int v = cv::theRNG().next() & INT_MAX; in rand()
49 int v = cv::theRNG().uniform(0, RAND_MAX + 1); in rand()
64 cv::theRNG() = cv::RNG(seed); in seed_random()
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/perf/
H A Dperf_threshold.cpp29 double thresh = theRNG().uniform(1, 254); in PERF_TEST_P()
30 double maxval = theRNG().uniform(1, 254); in PERF_TEST_P()
49 double maxval = theRNG().uniform(1, 254); in PERF_TEST_P()
81 double maxValue = theRNG().uniform(1, 254);
/dports/graphics/opencv/opencv-4.5.3/modules/ml/test/
H A Dtest_ann.cpp40 const uint64 old_state = theRNG().state; in TEST_P()
41 theRNG().state = 1027401484159173092; in TEST_P()
43 theRNG().state = old_state; in TEST_P()
111 const uint64 old_state = theRNG().state; in TEST_P()
112 theRNG().state = 0; in TEST_P()
114 theRNG().state = old_state; in TEST_P()
H A Dtest_save_load.cpp32 int randomChosenIndex = offset + ((uint)cv::theRNG()) % size; in randomFillCategories()
72 cv::theRNG().fill(input, RNG::UNIFORM, 0, 40); in TEST_P()
H A Dtest_svmtrainauto.cpp16 RNG &rng = cv::theRNG(); in makeRandomData()
56 RNG &rng = cv::theRNG(); in makeRandomData2()
/dports/graphics/opencv/opencv-4.5.3/modules/core/test/
H A Dtest_rand.cpp100 RNG tested_rng = theRNG(); in run()
320 theRNG().fill(a, RNG::UNIFORM, -DBL_MAX, DBL_MAX); in run()
321 theRNG().fill(af, RNG::UNIFORM, -DBL_MAX, DBL_MAX); in run()
384 cv::theRNG().fill(x, cv::RNG::NORMAL, param1, param2); in TEST()
398 cv::RNG rng = cv::theRNG(); // copy state in operator ()()
401 cv::theRNG() = cv::RNG(rng.state + y); // seed is based on processed row in operator ()()
412 cv::RNG rng = cv::theRNG(); // save rng state in TEST()
416 cv::theRNG() = rng; // restore rng state in TEST()
/dports/graphics/opencv/opencv-4.5.3/samples/cpp/
H A Dffilldemo.cpp48 int b = (unsigned)theRNG() & 255; in onMouse()
49 int g = (unsigned)theRNG() & 255; in onMouse()
50 int r = (unsigned)theRNG() & 255; in onMouse()
H A Dwatershed.cpp111 int b = theRNG().uniform(0, 255); in main()
112 int g = theRNG().uniform(0, 255); in main()
113 int r = theRNG().uniform(0, 255); in main()
H A Dconvexhull.cpp24 RNG& rng = theRNG(); in main()
/dports/graphics/opencv/opencv-4.5.3/samples/cpp/tutorial_code/ImgTrans/
H A DimageSegmentation.cpp139 int b = theRNG().uniform(0, 256); in main()
140 int g = theRNG().uniform(0, 256); in main()
141 int r = theRNG().uniform(0, 256); in main()
/dports/graphics/opencv/opencv-4.5.3/apps/createsamples/
H A Dutility.cpp465 rotVectData[0] = theRNG().uniform( -maxxangle, maxxangle ); in icvRandomQuad()
467 rotVectData[2] = theRNG().uniform( -maxzangle, maxzangle ); in icvRandomQuad()
468 d = ( distfactor + distfactor2 * theRNG().uniform( -1.0, 1.0 ) ) * width; in icvRandomQuad()
668 xshift = theRNG().uniform( 0., maxshiftf ); in icvPlaceDistortedSample()
669 yshift = theRNG().uniform( 0., maxshiftf ); in icvPlaceDistortedSample()
676 randscale = theRNG().uniform( 0., maxscalef ); in icvPlaceDistortedSample()
695 forecolordev = theRNG().uniform( -maxintensitydev, maxintensitydev ); in icvPlaceDistortedSample()
835 data->last = theRNG().uniform( 0, RAND_MAX ) % data->count; in icvGetNextFromBackgroundData()
1076 inverse = theRNG().uniform( 0, 2 ); in cvCreateTrainingSamples()
1186 scale = theRNG().uniform( 1.0F, (float)maxscale ); in cvCreateTestSamples()
[all …]
/dports/graphics/opencv/opencv-4.5.3/modules/core/perf/
H A Dperf_math.cpp43 RNG& rng = theRNG(); in PERF_TEST_P_()
77 RNG& rng = theRNG(); in PERF_TEST_P_()
111 RNG& rng = theRNG(); in PERF_TEST_P_()
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/test/
H A Dtest_grabcut.cpp166 theRNG().state = 12378213; in TEST()
168 theRNG().state = 12378213; in TEST()
170 theRNG().state = 12378213; in TEST()
/dports/security/klee/klee-2.2/lib/Core/
H A DSearcher.cpp119 RandomSearcher::RandomSearcher(RNG &rng) : theRNG{rng} {} in RandomSearcher()
122 return *states[theRNG.getInt32() % states.size()]; in selectState()
152 theRNG{rng}, in WeightedRandomSearcher()
173 return *states->choose(theRNG.getDoubleL()); in selectState()
262 theRNG{rng},
280 flips = theRNG.getInt32(); in selectState()
H A DSearcher.h111 RNG &theRNG; variable
139 RNG &theRNG; variable
176 RNG &theRNG; variable
H A DUserSearcher.cpp128 Searcher *searcher = getNewSearcher(CoreSearch[0], executor.theRNG, *executor.processTree); in constructUserSearcher()
135 s.push_back(getNewSearcher(CoreSearch[i], executor.theRNG, *executor.processTree)); in constructUserSearcher()
/dports/graphics/opencv/opencv-4.5.3/modules/calib3d/test/
H A Dtest_translation3d_estimator.cpp20 RNG& rng = theRNG(); in TEST()
77 RNG& rng = theRNG(); in TEST()
H A Dtest_usac.cpp230 cv::RNG &rng = cv::theRNG(); in TEST()
251 cv::RNG &rng = cv::theRNG(); in TEST()
306 cv::RNG &rng = cv::theRNG(); in TEST()
339 cv::RNG &rng = cv::theRNG(); in TEST()
367 cv::RNG &rng = cv::theRNG(); in TEST()
385 cv::RNG &rng = cv::theRNG(); in TEST()
H A Dtest_affine3d_estimator.cpp65 float rngIn(float from, float to) { return from + (to-from) * (float)theRNG(); } in rngIn()
117 RNG& rng = theRNG(); in operator ()()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/saliency/samples/
H A DcomputeSaliency.cpp165 Point off(theRNG().uniform(-jitter,jitter), theRNG().uniform(-jitter,jitter)); in main()
/dports/graphics/opencv/opencv-4.5.3/modules/core/src/
H A Dparallel.cpp205 rng = cv::theRNG(); in ParallelLoopBodyWrapperContext()
226 cv::theRNG() = rng; in finalize()
230 cv::theRNG().next(); in finalize()
321 cv::theRNG() = ctx.rng; in operator ()()
360 if (!ctx.is_rng_used && !(cv::theRNG() == ctx.rng)) in operator ()()
H A Drand.cpp654 cv::RNG& cv::theRNG() in theRNG() function in cv
661 theRNG() = RNG(static_cast<uint64>(seed)); in setRNGSeed()
669 theRNG().fill(dst, RNG::UNIFORM, low, high); in randu()
676 theRNG().fill(dst, RNG::NORMAL, mean, stddev); in randn()
746 RNG& rng = _rng ? *_rng : theRNG(); in randShuffle()
761 cv::RNG& rng = _rng ? (cv::RNG&)*_rng : cv::theRNG(); in cvRandArr()
769 cv::RNG& rng = _rng ? (cv::RNG&)*_rng : cv::theRNG(); in cvRandShuffle()
/dports/graphics/opencv/opencv-4.5.3/modules/gapi/test/common/
H A Dgapi_video_tests_inl.hpp161 cv::RNG& rng = cv::theRNG(); in TEST_P()
210 cv::RNG& rng = cv::theRNG(); in TEST_P()
295 if (cv::theRNG().uniform(0, 4) != 0) in TEST_P()
H A Dgapi_parsers_tests_common.hpp179 return theRNG().uniform(start, end); in randInRange()
214 it.confidence = theRNG().uniform(0.f, 1.f); in generateItem()
248 cv::RNG& rng = theRNG();
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/face/test/
H A Dtest_bif.cpp63 cv::theRNG().fill(image, cv::RNG::UNIFORM, -1, 1); in TEST()

1234