8 #ifndef META_OCEAN_TEST_TESTGEOMETRY_TEST_MULTIPLE_VIEW_GEOMETRY_H
9 #define META_OCEAN_TEST_TESTGEOMETRY_TEST_MULTIPLE_VIEW_GEOMETRY_H
21 namespace TestGeometry
This class implements an epipolar geometry test.
Definition: TestMultipleViewGeometry.h:29
static bool testProjectiveReconstruction(const unsigned int views, bool addGaussianNoise, const double testDuration)
Tests the multiple views case of projective reconstruction algorithm.
static bool testFaultyProjectiveReconstruction(const unsigned int views, const double testDuration)
Tests the multiple views case of projective reconstruction algorithm.
static bool testProjectiveReconstructionFrom3Views(bool addGaussianNoise, const double testDuration)
Tests the 3-views case of projective reconstruction algorithm.
static Scalar evaluateReprojectionError(const std::vector< Vectors2 > &imagePointsPerPose, const PinholeCamera &pinholeCamera, const HomogenousMatrices4 &posesIF)
Evaluates the (squared) re-projection error for given camera intrinsics and camera poses.
static bool testMultipleViewGeometry(const double testDuration)
Tests all multiple view geometry functions.
static bool generatedImagePointGroups(const PinholeCamera &pinholeCamera, const size_t points, const unsigned int views, std::vector< Vectors2 > &imagePointsPerPose, Scalar gaussSigma=Scalar(0), Vectors3 *objectPoints=nullptr)
Generate groups of corresponding image points for individual camera poses.
static bool testTrifocalTensorMatrix(bool addGaussianNoise, const double testDuration)
Tests the calculation of the trifocal tensor matrices.
float Scalar
Definition of a scalar type.
Definition: Math.h:128
std::vector< HomogenousMatrix4 > HomogenousMatrices4
Definition of a vector holding HomogenousMatrix4 objects.
Definition: HomogenousMatrix4.h:73
std::vector< Vector3 > Vectors3
Definition of a vector holding Vector3 objects.
Definition: Vector3.h:65
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15