8 #ifndef OCEAN_TEST_TESTCV_TEST_FRAME_MIN_MAX_H
9 #define OCEAN_TEST_TESTCV_TEST_FRAME_MIN_MAX_H
17 class RandomGenerator;
41 static bool test(
const unsigned int width,
const unsigned int height,
const double testDuration,
Worker& worker);
95 static bool testDetermineMinValue(
const unsigned int width,
const unsigned int height,
const unsigned int paddingElements);
105 template <
typename T>
106 static bool testDetermineMaxValue(
const unsigned int width,
const unsigned int height,
const unsigned int paddingElements);
117 template <
typename T>
130 template <
typename T>
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements a generator for random numbers.
Definition: RandomGenerator.h:42
This class implements tests for the FrameMinMax class.
Definition: TestFrameMinMax.h:30
static bool testCountElementsOutsideRange(const double testDuration)
Tests the function to count frame elements that are outside of a specified range of values.
static bool validateDetermineMinMaxValues(const Frame &frame, const T *const minValues, const T *const maxValues)
Validates the minimal and maximal value which has been determined in a given image.
static bool testDetermineMinValue(const unsigned int width, const unsigned int height, const unsigned int paddingElements)
Tests the function determining the minimum value and location.
static bool testDetermineMaxValue(const unsigned int width, const unsigned int height, const unsigned int paddingElements)
Tests the function determining the minimal and maximum value.
static bool test(const unsigned int width, const unsigned int height, const double testDuration, Worker &worker)
Starts all test of the FrameMinMax class.
static bool testDetermineMaxValue(const double testDuration)
Tests the function determining the maximum value and location.
static bool testDetermineMinMaxValues(const unsigned int width, const unsigned int height, const double testDuration, Worker &worker)
Tests the function determining the minimal and maximum pixel value.
static bool testCountElementsOutsideRange(RandomGenerator &randomGenerator, const uint32_t width, const uint32_t height, const uint32_t paddingElements)
Tests the function counting the elements outside of a specified range of values.
static bool testDetermineMinMaxValues(const unsigned int width, const unsigned int height, const double testDuration, Worker &worker)
Tests the function determining the minimal and maximum pixel value.
static bool testDetermineMinValue(const double testDuration)
Tests the function determining the minimum value and location.
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15