mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Instrumentation for OpenCV API regions and IPP functions;
This commit is contained in:
@@ -742,11 +742,15 @@ void cv::setRNGSeed(int seed)
|
||||
|
||||
void cv::randu(InputOutputArray dst, InputArray low, InputArray high)
|
||||
{
|
||||
CV_INSTRUMENT_REGION()
|
||||
|
||||
theRNG().fill(dst, RNG::UNIFORM, low, high);
|
||||
}
|
||||
|
||||
void cv::randn(InputOutputArray dst, InputArray mean, InputArray stddev)
|
||||
{
|
||||
CV_INSTRUMENT_REGION()
|
||||
|
||||
theRNG().fill(dst, RNG::NORMAL, mean, stddev);
|
||||
}
|
||||
|
||||
@@ -793,6 +797,8 @@ typedef void (*RandShuffleFunc)( Mat& dst, RNG& rng, double iterFactor );
|
||||
|
||||
void cv::randShuffle( InputOutputArray _dst, double iterFactor, RNG* _rng )
|
||||
{
|
||||
CV_INSTRUMENT_REGION()
|
||||
|
||||
RandShuffleFunc tab[] =
|
||||
{
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user