Ocean
Loading...
Searching...
No Matches
TestEpipolarGeometry.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8#ifndef META_OCEAN_TEST_TESTGEOMETRY_TEST_EPIPOLAR_GEOMETRY_H
9#define META_OCEAN_TEST_TESTGEOMETRY_TEST_EPIPOLAR_GEOMETRY_H
10
12
14
15#include <set>
16
17namespace Ocean
18{
19
20namespace Test
21{
22
23namespace TestGeometry
24{
25
26/**
27 * This class implements an epipolar geometry test.
28 * @ingroup testgeometry
29 */
30class OCEAN_TEST_GEOMETRY_EXPORT TestEpipolarGeometry
31{
32 public:
33
34 /**
35 * Tests all epipolar geometry functions.
36 * @param testDuration Number of seconds for each test, with range (0, infinity)
37 * @param selector Selector for individual tests
38 * @return True, if succeeded
39 */
40 static bool test(const double testDuration, const TestSelector& selector);
41
42 /**
43 * Tests the calculation of the fundamental matrix.
44 * @param testDuration Number of seconds for each test, with range (0, infinity)
45 * @return True, if succeeded
46 */
47 static bool testFundamentalMatrix(const double testDuration);
48
49 /**
50 * Tests the calculation of the fundamental matrix with noise.
51 * @param testDuration Number of seconds for each test, with range (0, infinity)
52 * @return True, if succeeded
53 */
54 static bool testFundamentalMatrixWithNoise(const double testDuration);
55
56 /**
57 * Tests the calculation of the essential matrix.
58 * @param testDuration Number of seconds for each test, with range (0, infinity)
59 * @return True, if succeeded
60 */
61 static bool testEssentialMatrix(const double testDuration);
62
63 /**
64 * Tests the triangulation of image points
65 * @param testDuration Number of seconds for each test, with range (0, infinity)
66 * @return True, if succeeded
67 */
68 static bool testTriangulateImagePoints(const double testDuration);
69};
70
71}
72
73}
74
75}
76
77#endif // META_OCEAN_TEST_TESTGEOMETRY_TEST_EPIPOLAR_GEOMETRY_H
This class implements an epipolar geometry test.
Definition TestEpipolarGeometry.h:31
static bool testEssentialMatrix(const double testDuration)
Tests the calculation of the essential matrix.
static bool testTriangulateImagePoints(const double testDuration)
Tests the triangulation of image points.
static bool test(const double testDuration, const TestSelector &selector)
Tests all epipolar geometry functions.
static bool testFundamentalMatrixWithNoise(const double testDuration)
Tests the calculation of the fundamental matrix with noise.
static bool testFundamentalMatrix(const double testDuration)
Tests the calculation of the fundamental matrix.
This class implements a test selector that parses test function strings and determines which tests sh...
Definition TestSelector.h:51
The namespace covering the entire Ocean framework.
Definition Accessor.h:15