8#ifndef OCEAN_TEST_TESTCV_TEST_FRAME_MIN_MAX_H
9#define OCEAN_TEST_TESTCV_TEST_FRAME_MIN_MAX_H
98 static bool testDetermineMinValue(
const unsigned int width,
const unsigned int height,
const unsigned int paddingElements);
108 template <
typename T>
109 static bool testDetermineMaxValue(
const unsigned int width,
const unsigned int height,
const unsigned int paddingElements);
120 template <
typename T>
133 template <
typename T>
This class implements Ocean's image class.
Definition Frame.h:1879
This class implements a generator for random numbers.
Definition RandomGenerator.h:42
This class implements tests for the FrameMinMax class.
Definition TestFrameMinMax.h:32
static bool testCountElementsOutsideRange(const double testDuration)
Tests the function to count frame elements that are outside of a specified range of values.
static bool test(const unsigned int width, const unsigned int height, const double testDuration, Worker &worker, const TestSelector &selector=TestSelector())
Starts all test of the FrameMinMax class.
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 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 test selector that parses test function strings and determines which tests sh...
Definition TestSelector.h:51
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