Home | History | Annotate | Download | only in opencv2

Lines Matching refs:RNG

46 using cv::RNG;
59 CV_EXPORTS void randUni( RNG& rng, Mat& a, const Scalar& param1, const Scalar& param2 );
61 inline unsigned randInt( RNG& rng )
63 return (unsigned)rng;
66 inline double randReal( RNG& rng )
68 return (double)rng;
89 CV_EXPORTS Size randomSize(RNG& rng, double maxSizeLog);
90 CV_EXPORTS void randomSize(RNG& rng, int minDims, int maxDims, double maxSizeLog, vector<int>& sz);
91 CV_EXPORTS int randomType(RNG& rng, int typeMask, int minChannels, int maxChannels);
92 CV_EXPORTS Mat randomMat(RNG& rng, Size size, int type, double minVal, double maxVal, bool useRoi);
93 CV_EXPORTS Mat randomMat(RNG& rng, const vector<int>& size, int type, double minVal, double maxVal, bool useRoi);
226 // prepares data for the next test case. rng seed is updated by the function
282 // RNG seed, passed to and updated by every test executed.
323 // updates the context: current test, test case, rng state
403 // get RNG to generate random input data for a test
404 RNG& get_rng() { return rng; }
420 RNG rng;