/dports/graphics/opencv/opencv-4.5.3/modules/flann/include/opencv2/flann/ |
H A D | random.h | 47 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 D | perf_threshold.cpp | 29 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 D | test_ann.cpp | 40 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 D | test_save_load.cpp | 32 int randomChosenIndex = offset + ((uint)cv::theRNG()) % size; in randomFillCategories() 72 cv::theRNG().fill(input, RNG::UNIFORM, 0, 40); in TEST_P()
|
H A D | test_svmtrainauto.cpp | 16 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 D | test_rand.cpp | 100 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 D | ffilldemo.cpp | 48 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 D | watershed.cpp | 111 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 D | convexhull.cpp | 24 RNG& rng = theRNG(); in main()
|
/dports/graphics/opencv/opencv-4.5.3/samples/cpp/tutorial_code/ImgTrans/ |
H A D | imageSegmentation.cpp | 139 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 D | utility.cpp | 465 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 D | perf_math.cpp | 43 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 D | test_grabcut.cpp | 166 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 D | Searcher.cpp | 119 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 D | Searcher.h | 111 RNG &theRNG; variable 139 RNG &theRNG; variable 176 RNG &theRNG; variable
|
H A D | UserSearcher.cpp | 128 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 D | test_translation3d_estimator.cpp | 20 RNG& rng = theRNG(); in TEST() 77 RNG& rng = theRNG(); in TEST()
|
H A D | test_usac.cpp | 230 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 D | test_affine3d_estimator.cpp | 65 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 D | computeSaliency.cpp | 165 Point off(theRNG().uniform(-jitter,jitter), theRNG().uniform(-jitter,jitter)); in main()
|
/dports/graphics/opencv/opencv-4.5.3/modules/core/src/ |
H A D | parallel.cpp | 205 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 D | rand.cpp | 654 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 D | gapi_video_tests_inl.hpp | 161 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 D | gapi_parsers_tests_common.hpp | 179 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 D | test_bif.cpp | 63 cv::theRNG().fill(image, cv::RNG::UNIFORM, -1, 1); in TEST()
|