8 #ifndef META_OCEAN_TEST_TESTCV_TESTADVANCED_TEST_WHITE_POINT_DETECTOR_H
9 #define META_OCEAN_TEST_TESTCV_TESTADVANCED_TEST_WHITE_POINT_DETECTOR_H
24 namespace TestAdvanced
43 static bool test(
const unsigned int width,
const unsigned int height,
const double testDuration,
Worker& worker);
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements a white point detection test.
Definition: TestWhitePointDetector.h:32
static void randomizeWhitePointFrame(Frame &frame, const float randomAmount=0.5f)
Fills the specified frame with random pixels.
static bool testWhitepointDetectorGrayPoints(const Frame &frame, const VectorF3 &whitePoint, const double testDuration, Worker &worker)
Tests the gray points-based white point detection and correction functions.
static bool validateWhitePointFrame(const Frame &idealFrame, const Frame &correctedFrame)
Validates a white point corrected frame by comparing its frame data with ground truth frame data.
static bool validateWhitePoint(const VectorF3 &idealWhitePoint, const VectorF3 &detectedWhitePoint)
Validates the specified detected white point by comparing it with a ground truth white point.
static bool test(const unsigned int width, const unsigned int height, const double testDuration, Worker &worker)
Tests white point detection and correction functions.
static bool testWhitepointDetectorHistogram(const Frame &frame, const VectorF3 &whitePoint, const double testDuration, Worker &worker)
Tests the histogram-based white point detection and correction functions.
This class implements a vector with three elements.
Definition: Vector3.h:97
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