uniform 348 modules/core/include/opencv2/core/operations.hpp inline int RNG::uniform(int a, int b) { return a == b ? a : (int)(next() % (b - a) + a); } uniform 349 modules/core/include/opencv2/core/operations.hpp inline float RNG::uniform(float a, float b) { return ((float)*this)*(b - a) + a; } uniform 350 modules/core/include/opencv2/core/operations.hpp inline double RNG::uniform(double a, double b) { return ((double)*this)*(b - a) + a; } uniform 951 modules/core/src/rand.cpp int cv::RNG_MT19937::uniform(int a, int b) { return (int)(next() % (b - a) + a); } uniform 953 modules/core/src/rand.cpp float cv::RNG_MT19937::uniform(float a, float b) { return ((float)*this)*(b - a) + a; } uniform 955 modules/core/src/rand.cpp double cv::RNG_MT19937::uniform(double a, double b) { return ((double)*this)*(b - a) + a; }