8 #ifndef META_OCEAN_TEST_TESTCV_TESTDETECTOR_TEST_ORB_DETECTOR_H
9 #define META_OCEAN_TEST_TESTCV_TESTDETECTOR_TEST_ORB_DETECTOR_H
24 namespace TestDetector
114 static bool validateHammingDistance(
const std::vector<CV::Detector::ORBDescriptor>& descriptors1,
const std::vector<CV::Detector::ORBDescriptor>& descriptors2);
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements a ORB detector test.
Definition: TestORBDetector.h:32
static bool validateDescriptorMatching(const IndexPairs32 &matches, const IndexPairs32 &checkMatches)
Validate the descriptor matching.
static bool testHammingDistanceDetermination(const double testDuration)
Tests the determination of the hamming distance between two randomized descriptors.
static bool testDetectReferenceFeaturesAndDetermineDescriptors(const double testDuration, Worker &worker)
Tests the detection and description of reference features.
static bool testDescriptorDetermination(const double testDuration, Worker &worker, const Frame &yFrameTest=Frame())
Tests the determination of the descriptor of all given features.
static bool testOrientationDetermination(const double testDuration, Worker &worker, const Frame &yFrameTest=Frame())
Tests the determination of the orientation of all given features.
static bool validateDescriptors(const uint32_t *linedIntegralFrame, const unsigned int width, const unsigned int height, CV::Detector::ORBFeatures &features)
Validate the calculation of the descriptor.
static bool testDescriptorMatching(const double testDuration, Worker &worker)
Tests the matching of randomized descriptors.
static bool test(const Frame &frame, const double testDuration, Worker &worker)
Tests all ORB descriptor functions.
static bool validateHammingDistance(const std::vector< CV::Detector::ORBDescriptor > &descriptors1, const std::vector< CV::Detector::ORBDescriptor > &descriptors2)
Validate the calculation of the hamming distance.
static double validateOrientation(const uint32_t *linedIntegralFrame, const unsigned int width, const unsigned int height, CV::Detector::ORBFeatures &features)
Validate the calculation of the orientation.
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
std::vector< IndexPair32 > IndexPairs32
Definition of a vector holding 32 bit index pairs.
Definition: Base.h:144
std::vector< ORBFeature > ORBFeatures
Definition of a vector holding ORB features.
Definition: ORBFeature.h:26
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15