8 #ifndef META_OCEAN_TEST_TESTCV_TESTDETECTOR_TEST_LINE_DETECTOR_HOUGH_H
9 #define META_OCEAN_TEST_TESTCV_TESTDETECTOR_TEST_LINE_DETECTOR_HOUGH_H
24 namespace TestDetector
41 static bool test(
const double testDuration,
Worker& worker);
80 static bool validateSmooth(
const unsigned int* original,
const unsigned int* smoothAccumulator,
const unsigned int width,
const unsigned int height);
Vote accumulator array.
Definition: LineDetectorHough.h:173
This class implements houg-transformation-based line detector tests.
Definition: TestLineDetectorHough.h:32
static bool validateSmooth(const unsigned int *original, const unsigned int *smoothAccumulator, const unsigned int width, const unsigned int height)
Validates the mirrored smooth function of the accumulator array.
static bool testAccumulatorJoin(const unsigned int width, const unsigned int height, Worker &worker)
Tests the accumulator joining function.
static bool validateJoin(const CV::Detector::LineDetectorHough::Accumulator *original, const CV::Detector::LineDetectorHough::Accumulator *joined, const unsigned int accumulators)
Validates joined accumulator arrays.
static bool testLineDetectorArtificialFrame(const unsigned int width, const unsigned int height, const double testDuration, Worker &worker)
Tests the line detector on an artificial frame with strong edges.
static bool test(const double testDuration, Worker &worker)
Tests the line detector functions.
static bool testLineDetectorRandomFrame(const double testDuration, Worker &worker)
Tests the line detector on a random frame without any distinct edges.
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