8 #ifndef META_OCEAN_TRACKING_ORB_UNIDIRECTIONAL_CORRESPONDENCES_H
9 #define META_OCEAN_TRACKING_ORB_UNIDIRECTIONAL_CORRESPONDENCES_H
61 void addCandidate(
const unsigned int forwardIndex,
const unsigned int backwardIndex);
This class implements a recursive lock object.
Definition: Lock.h:31
This class implements simple helper functions for feature correspondences.
Definition: Correspondences.h:38
std::vector< CorrespondencePair > CorrespondencePairs
Definition of a vector holding correspondence pairs.
Definition: Correspondences.h:49
This class provides unidirectional feature correspondences.
Definition: orb/UnidirectionalCorrespondences.h:37
void addCandidate(const unsigned int forwardIndex, const unsigned int backwardIndex)
Adds a new feature correspondence candidate.
Lock correspondenceLock
Lock object.
Definition: orb/UnidirectionalCorrespondences.h:113
static CorrespondencePairs determineBijectiveCorrespondencesWithPose(const CV::Detector::ORBFeatures &forwardFeatures, const CV::Detector::ORBFeatures &backwardFeatures, const PinholeCamera &pinholeCamera, const HomogenousMatrix4 &pose, const float threshold=0.15f)
Determines unidirectional features correspondences of two sets of features with previous knowledge.
std::vector< unsigned int > CorrespondenceCounters
Definition of a vector counting correspondences.
Definition: orb/UnidirectionalCorrespondences.h:43
static CorrespondencePairs determineBijectiveCorrespondences(const CV::Detector::ORBFeatures &forwardFeatures, const CV::Detector::ORBFeatures &backwardFeatures, const float threshold=0.15f, Worker *worker=nullptr)
Determines unidirectional features correspondences between two sets of features without any previous ...
CorrespondenceCounters correspondenceForwardCounters
Correspondence counter for forward features.
Definition: orb/UnidirectionalCorrespondences.h:104
CorrespondencePairs correspondences() const
Returns all uni-directional feature correspondences.
void lockedAddCandidate(const unsigned int forwardIndex, const unsigned int backwardIndex)
Adds a new feature correspondence candidate.
UnidirectionalCorrespondences(const unsigned int numberForward, const unsigned int numberBackward)
Creates a new unidirecitonal correspondences object.
CorrespondenceCounters correspondenceBackwardCounters
Correspondence counter for backward features.
Definition: orb/UnidirectionalCorrespondences.h:107
CorrespondencePairs correspondenceCandidates
Correspondence candidates.
Definition: orb/UnidirectionalCorrespondences.h:110
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
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