8#ifndef META_OCEAN_TRACKING_ORB_CORRESPONDENCES_H
9#define META_OCEAN_TRACKING_ORB_CORRESPONDENCES_H
This class implements simple helper functions for feature correspondences.
Definition Correspondences.h:38
static void extractCorrespondingFeatures(const CV::Detector::ORBFeatures &forwardFeatures, const CV::Detector::ORBFeatures &backwardFeatures, const CorrespondencePairs &correspondencePairs, CV::Detector::ORBFeatures &forwardCorrespondences, CV::Detector::ORBFeatures &backwardCorrespondences)
Extracts object and image features by pairs of feature correspondences all correspondences are expect...
std::pair< unsigned int, unsigned int > CorrespondencePair
Definition of a pair holding the indices of two corresponding features.
Definition Correspondences.h:44
static void extractCorrespondingFeatures(const CV::Detector::ORBFeatures &forwardFeatures, const CV::Detector::ORBFeatures &backwardFeatures, const CorrespondencePairs &candidatePairs, const CV::Detector::FeatureIndices &correspondenceIndices, CV::Detector::ORBFeatures &forwardCorrespondences, CV::Detector::ORBFeatures &backwardCorrespondences)
Extracts object and image features by pairs of feature correspondence candidates.
static void extractCorrespondingPoints(const CV::Detector::ORBFeatures &forwardFeatures, const CV::Detector::ORBFeatures &backwardFeatures, const CorrespondencePairs &correspondences, Vectors2 &imagePoints, Vectors3 &objectPoints)
Extracts object and image positions of ORB features by pairs of feature correspondences.
std::vector< CorrespondencePair > CorrespondencePairs
Definition of a vector holding correspondence pairs.
Definition Correspondences.h:49
static void extractCorrespondingFeatures(const CV::Detector::ORBFeatures &forwardFeatures, const CV::Detector::ORBFeatures &backwardFeatures, const CorrespondencePairs &correspondencePairs, const HomogenousMatrix4 &pose, const PinholeCamera &pinholeCamera, const Scalar sqrDistance, CV::Detector::ORBFeatures &forwardCorrespondences, CV::Detector::ORBFeatures &backwardCorrespondences)
Extracts object and image features by pairs of feature correspondences all correspondences are expect...
std::vector< CV::Detector::FeatureIndices > MultiCandidates
Definition of a vector holding different feature indices.
Definition Correspondences.h:54
std::set< unsigned int > CandidateSet
Definition of a set holding feature indices.
Definition Correspondences.h:61
static void determineCandidates(const CV::Detector::ORBFeatures &interestFeatures, const CV::Detector::ORBFeatures &candidatePool, const Scalar window, MultiCandidates &multiCandidates, CV::Detector::FeatureIndices &candidates)
Determines candidates for feature correspondences upon their spatial position in the frame.
std::vector< unsigned int > FeatureIndices
Definition of a vector holding feature indices.
Definition Feature.h:28
std::vector< ORBFeature > ORBFeatures
Definition of a vector holding ORB features.
Definition ORBFeature.h:32
std::vector< Vector2 > Vectors2
Definition of a vector holding Vector2 objects.
Definition Vector2.h:64
float Scalar
Definition of a scalar type.
Definition Math.h:129
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