8 #ifndef META_OCEAN_TEST_TESTGEOMETRY_TEST_NON_LINEAR_OPTIMIZATION_HOMOGRAPHY_H
9 #define META_OCEAN_TEST_TESTGEOMETRY_TEST_NON_LINEAR_OPTIMIZATION_HOMOGRAPHY_H
21 namespace TestGeometry
38 static bool test(
const double testDuration,
Worker* worker);
EstimatorType
Definition of individual robust estimator types.
Definition: Estimator.h:34
This class implements the tests of the non linear optimization functions for homography optimization.
Definition: TestNonLinearOptimizationHomography.h:29
static bool testNonLinearOptimizationSimilarity(const double testDuration)
Tests the non linear optimization function optimizing a similarity transformation.
static bool testNonLinearOptimizationSimilarity(const unsigned int correspondences, const double testDuration, const Geometry::Estimator::EstimatorType type, const Scalar standardDeviation, const unsigned int outliers, const bool useCovariances)
Tests the non linear optimizations function optimizing a similarity transformation with specified cor...
static bool testNonLinearOptimizationHomography(const double testDuration)
Tests the non linear optimization function optimizing a homography.
static bool test(const double testDuration, Worker *worker)
Tests the non linear optimization function.
static Scalar determineHomographyError(const SquareMatrix3 &homography, const Vectors2 &pointsLeft, const Vectors2 &pointsRight, Scalar *maximalSqrDistance=nullptr)
Determines the average pixel error between set of left points transform to the right points.
static bool testNonLinearOptimizationHomography(const unsigned int correspondences, const unsigned int modelParameter, const double testDuration, const Geometry::Estimator::EstimatorType type, const Scalar standardDeviation, const unsigned int outliers, const bool useCovariances)
Tests the non linear optimizations function optimizing a homography with specified correspondences,...
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
float Scalar
Definition of a scalar type.
Definition: Math.h:128
std::vector< Vector2 > Vectors2
Definition of a vector holding Vector2 objects.
Definition: Vector2.h:64
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15