8 #ifndef META_OCEAN_TEST_TESTGEOMETRY_TEST_RANSAC_H
9 #define META_OCEAN_TEST_TESTGEOMETRY_TEST_RANSAC_H
21 namespace TestGeometry
38 DT_NO_DISTORTION = 0u,
40 DT_RADIAL_DISTORTION = 1u << 0u | DT_NO_DISTORTION,
42 DT_FULL_DISTORTION = (1u << 1u) | DT_RADIAL_DISTORTION
53 static bool test(
const double testDuration,
Worker& worker);
67 static bool testP3P(
const double testDuration);
77 static bool testP3P(
const AnyCameraType anyCameraType,
const size_t correspondences,
const double faultyRate,
const double testDuration);
This class implements the tests for RANSAC functions.
Definition: TestRANSAC.h:29
static bool testP3P(const double testDuration)
Tests the perspective pose function p3p for mono cameras.
static bool testHomographyMatrixForNonBijectiveCorrespondences(const double testDuration, Worker &worker)
Tests the RANSAC-based function determining the homography matrix for non-bijective correspondences.
static bool testObjectTransformationStereoAnyCamera(const double testDuration)
Tests the determination of a 6-DOF object transformation with any stereo camera.
static bool test(const double testDuration, Worker &worker)
Invokes all RANSAC tests.
static bool testHomographyMatrixForNonBijectiveCorrespondences(const double testDuration, const bool refine, const bool useSVD, Worker &worker)
Tests the RANSAC-based function determining the homography matrix with a specified number of non-bije...
static bool testHomographyMatrix(const double testDuration, const bool refine, const bool useSVD, Worker &worker)
Tests the RANSAC-based function determining the homography matrix with a specified number of point co...
static bool testIterations(const double testDuration)
Tests the iterations function.
DistortionType
Definition of individual camera distortion types.
Definition: TestRANSAC.h:36
static bool testP3PZoom(const double testDuration)
Tests the RANSAC implementation of the perspective pose problem for three random points including unk...
static bool testHomographyMatrix(const double testDuration, Worker &worker)
Tests the RANSAC-based function determining the homography matrix.
static bool testP3P(const AnyCameraType anyCameraType, const size_t correspondences, const double faultyRate, const double testDuration)
Tests the perspective pose function p3p for mono cameras.
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
AnyCameraType
Definition of individual camera types.
Definition: AnyCamera.h:111
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15