Lines Matching refs:minVal
62 int randomInt(int minVal, int maxVal)
65 return rng.uniform(minVal, maxVal);
68 double randomDouble(double minVal, double maxVal)
71 return rng.uniform(minVal, maxVal);
74 Size randomSize(int minVal, int maxVal)
76 return Size(randomInt(minVal, maxVal), randomInt(minVal, maxVal));
79 Scalar randomScalar(double minVal, double maxVal)
81 return Scalar(randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, maxVal));
84 Mat randomMat(Size size, int type, double minVal, double maxVal)
86 return randomMat(TS::ptr()->get_rng(), size, type, minVal, maxVal, false);
267 double minVal = std::numeric_limits<double>::max();
284 if (val < minVal)
286 minVal = val;
299 if (minVal_) *minVal_ = minVal;