8#ifndef META_OCEAN_TEST_TESTCV_TESTDETECTOR_TEST_HEMI_CUBE_H
9#define META_OCEAN_TEST_TESTCV_TESTDETECTOR_TEST_HEMI_CUBE_H
52 static bool testAdd(
const double testDuration);
59 static bool testFind(
const double testDuration);
This class implements a generator for random numbers.
Definition RandomGenerator.h:42
This class implements tests for the Hemi cube.
Definition TestHemiCube.h:36
static bool testMerge(const double testDuration)
Test merging of two line segments into a new line segment.
static FiniteLine2 generateRandomOrthogonalFiniteLine2(RandomGenerator &randomGenerator, const FiniteLine2 &line, const unsigned int imageWidth, const unsigned int imageHeight, const Scalar minLineLength=Scalar(0.5))
Generate a random 2D line segment inside the boundaries of an image/rectangle that is orthogonal to a...
static FiniteLine2 generateRandomFiniteLine2(RandomGenerator &randomGenerator, const unsigned int imageWidth, const unsigned int imageHeight)
Generate a random 2D line segment inside the boundaries of an image/rectangle.
static bool testFind(const double testDuration)
Tests the search for similar lines in the Hemi cube.
static FiniteLine2 generateRandomCollinearFiniteLine2(RandomGenerator &randomGenerator, const FiniteLine2 &line, const unsigned int imageWidth, const unsigned int imageHeight, const Scalar minLineLength=Scalar(0.5))
Generate a random 2D line segment inside the boundaries of an image/rectangle that is collinear with ...
static bool testMergeGreedyBruteForce(const double testDuration)
Test merging of two line segments into a new line segment.
static bool test(const double testDuration, Worker &worker, const TestSelector &selector)
Invokes all test for the Hemi cube.
static bool testAdd(const double testDuration)
Tests the add lines to the Hemi cube.
static bool testLineFusion(const double testDuration)
Test merging of two line segments into a new line segment.
static bool validateLineFusion(const FiniteLine2 &testLine, const FiniteLines2 &lines)
Validation for line merging function.
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
FiniteLineT2< Scalar > FiniteLine2
Definition of the FiniteLine2 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with si...
Definition FiniteLine2.h:28
std::vector< FiniteLine2 > FiniteLines2
Definition of a vector holding FiniteLine2 objects.
Definition FiniteLine2.h:57
float Scalar
Definition of a scalar type.
Definition Math.h:129
Namespace of the CV Detector Test library.
Definition LineDetectorHough.h:28
Namespace of the CV Test library.
Definition LineDetectorHough.h:28
Namespace of the Test library.
Definition LineDetectorHough.h:28
The namespace covering the entire Ocean framework.
Definition Accessor.h:15