Ocean
Ocean Test Geometry Library

The Ocean Test Geometry Library provides several function to test the performance and validation of geometry functions. More...

Collaboration diagram for Ocean Test Geometry Library:

Data Structures

class  Ocean::Test::TestGeometry::TestAbsoluteTransformation
 This class implements an absolute transformation test. More...
 
class  Ocean::Test::TestGeometry::TestCameraCalibration
 This class implements camera calibration test functions. More...
 
class  Ocean::Test::TestGeometry::TestDelaunay
 This class implements a test for the Delaunay triangulation. More...
 
class  Ocean::Test::TestGeometry::TestEpipolarGeometry
 This class implements an epipolar geometry test. More...
 
class  Ocean::Test::TestGeometry::TestError
 This class implements the test for the Error class of the geometry library. More...
 
class  Ocean::Test::TestGeometry::TestEstimator
 This class implements the test for the Estimator class of the geometry library. More...
 
class  Ocean::Test::TestGeometry::TestHomography
 This class implements homography tests. More...
 
class  Ocean::Test::TestGeometry::TestJacobian
 This class implements Jacobian tests. More...
 
class  Ocean::Test::TestGeometry::TestJLinkage
 This class implements homography tests using J-Linkage. More...
 
class  Ocean::Test::TestGeometry::TestMultipleViewGeometry
 This class implements an epipolar geometry test. More...
 
class  Ocean::Test::TestGeometry::TestNonLinearOptimizationCamera
 This class tests the non linear optimization implementations for camera profiles. More...
 
class  Ocean::Test::TestGeometry::TestNonLinearOptimizationHomography
 This class implements the tests of the non linear optimization functions for homography optimization. More...
 
class  Ocean::Test::TestGeometry::TestNonLinearOptimizationLine
 This class tests the non linear optimization implementations for lines. More...
 
class  Ocean::Test::TestGeometry::TestNonLinearOptimizationObjectPoint
 This class tests the non linear optimization plane implementations. More...
 
class  Ocean::Test::TestGeometry::TestNonLinearOptimizationOrientation
 This class tests the non linear optimization plane implementations. More...
 
class  Ocean::Test::TestGeometry::TestNonLinearOptimizationPlane
 This class tests the non linear optimization plane implementations. More...
 
class  Ocean::Test::TestGeometry::TestNonLinearOptimizationPose
 This class implements the tests of the non linear optimization functions for camera poses. More...
 
class  Ocean::Test::TestGeometry::TestNonLinearOptimizationTransformation
 This class implements the tests of the non linear optimization functions for transformations. More...
 
class  Ocean::Test::TestGeometry::TestOctree
 This class implements homography tests. More...
 
class  Ocean::Test::TestGeometry::TestP3P
 This class implements a P3P test. More...
 
class  Ocean::Test::TestGeometry::TestP4P
 This class implements a P4P test. More...
 
class  Ocean::Test::TestGeometry::TestPnP
 This class implements a PnP test. More...
 
class  Ocean::Test::TestGeometry::TestRANSAC
 This class implements the tests for RANSAC functions. More...
 
class  Ocean::Test::TestGeometry::TestSpatialDistribution
 This class implements spatial distribution tests. More...
 
class  Ocean::Test::TestGeometry::TestStereoscopicGeometry
 This class implements a test for functions in StereoscopicGeometry. More...
 
class  Ocean::Test::TestGeometry::TestUtilities
 This class implements tests for the functions in Geometry::Utilities. More...
 
class  Ocean::Test::TestGeometry::Utilities
 This class implements utility functions for the geometry test library. More...
 

Functions

OCEAN_TEST_GEOMETRY_EXPORT bool Ocean::Test::TestGeometry::testGeometry (const double testDuration, Worker &worker, const std::string &testFunctions=std::string())
 Tests the entire Geometry library. More...
 
OCEAN_TEST_GEOMETRY_EXPORT void Ocean::Test::TestGeometry::testGeometryAsynchron (const double testDuration, const std::string &testFunctions=std::string())
 Tests the entire Geometry library. More...
 

Detailed Description

The Ocean Test Geometry Library provides several function to test the performance and validation of geometry functions.

The library is platform independent.

Function Documentation

◆ testGeometry()

OCEAN_TEST_GEOMETRY_EXPORT bool Ocean::Test::TestGeometry::testGeometry ( const double  testDuration,
Worker worker,
const std::string &  testFunctions = std::string() 
)

Tests the entire Geometry library.

Parameters
testDurationNumber of seconds for each test
workerThe worker object to distribute some computation on as many CPU cores as defined in the worker object.
testFunctionsOptional name of the functions to be tested
Returns
True, if the entire test succeeded

◆ testGeometryAsynchron()

OCEAN_TEST_GEOMETRY_EXPORT void Ocean::Test::TestGeometry::testGeometryAsynchron ( const double  testDuration,
const std::string &  testFunctions = std::string() 
)

Tests the entire Geometry library.

This function returns directly as the actual test is invoked in an own thread.
Use this function in intendet for non-console applications like e.g., mobile devices.

Parameters
testDurationNumber of seconds for each test, with range (0, infinity)
testFunctionsOptional name of the functions to be tested