8#ifndef META_OCEAN_TRACKING_ORB_FEATURE_TRACKER_6DOF_H
9#define META_OCEAN_TRACKING_ORB_FEATURE_TRACKER_6DOF_H
This class implements Ocean's image class.
Definition Frame.h:1969
This class implements a generator for random numbers.
Definition RandomGenerator.h:42
This class implements a timestamp.
Definition Timestamp.h:64
This class implements a feature map for ORB features.
Definition FeatureMap.h:39
bool useProjectedFeatures_
True, if projected 3D features are used for determine pose.
Definition FeatureTracker6DOF.h:133
float matchingThreshold_
Definition FeatureTracker6DOF.h:127
Timestamp recentTimestamp_
Timestamp of the most recent pose.
Definition FeatureTracker6DOF.h:115
const uint32_t * createLinedIntegralImage(const Frame &frame, Worker *worker)
Creates the lined integral image of the given frame.
unsigned int featureStrengthThreshold_
Feature strength threshold currently used for feature detection.
Definition FeatureTracker6DOF.h:124
FeatureTracker6DOF()=default
Creates a new feature tracker object.
Frame linedIntegralImage_
Internal lined integral image for the most recent frame.
Definition FeatureTracker6DOF.h:144
bool determinePoseWithPreviousPose(CV::Detector::ORBFeatures &features, const Frame &frame, const PinholeCamera &pinholeCamera, HomogenousMatrix4 &pose)
Determines the pose if the pose from the previous frame is given.
Frame yFrame_
Internal grayscale frame with format FORMAT_Y8.
Definition FeatureTracker6DOF.h:141
bool usingHarrisFeatures_
Definition FeatureTracker6DOF.h:136
~FeatureTracker6DOF() override
Destructs a feature tracker object.
RandomGenerator randomGenerator_
Random generator object.
Definition FeatureTracker6DOF.h:121
bool determinePoseWithoutKnowledge(CV::Detector::ORBFeatures &features, const Frame &frame, const PinholeCamera &pinholeCamera, HomogenousMatrix4 &pose, Worker *worker)
Determines the pose if no previous information is given.
bool setFeatureMap(const FeatureMap &featureMap, const bool autoUpdateMaxPositionOffset=true)
Sets or changes the feature map for this tracker.
bool determinePose(const Frame &frame, const uint32_t *integralImage, const PinholeCamera &pinholeCamera, const bool frameIsUndistorted, HomogenousMatrix4 &pose, Worker *worker=nullptr)
Determines the 6DOF tracking for a given frame and given integral image.
HomogenousMatrix4 recentPose_
Most recent pose (object_T_camera).
Definition FeatureTracker6DOF.h:118
bool determinePoses(const Frame &frame, const PinholeCamera &pinholeCamera, const bool frameIsUndistorted, TransformationSamples &transformations, const Quaternion &previousCamera_R_camera=Quaternion(false), Worker *worker=nullptr) override
Executes the 6DOF tracking for a given frame.
FeatureMap featureMap_
Feature map holding all reference features.
Definition FeatureTracker6DOF.h:112
size_t numberDetectedFeatures_
Number of detected features in the current frame.
Definition FeatureTracker6DOF.h:130
VisualTracker()=default
Creates a new visual tracker object.
std::vector< TransformationSample > TransformationSamples
Definition of a vector holding a transformation sample object.
Definition tracking/VisualTracker.h:98
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:32
QuaternionT< Scalar > Quaternion
Definition of the Quaternion object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with sin...
Definition Quaternion.h:40
PinholeCameraT< Scalar > PinholeCamera
Definition of an pinhole camera object with Scalar precision.
Definition PinholeCamera.h:39
HomogenousMatrixT4< Scalar > HomogenousMatrix4
Definition of the HomogenousMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag eit...
Definition HomogenousMatrix4.h:44
Namespace of the ORB Tracker library.
Definition Correspondences.h:31
Namespace of the Tracker library.
The namespace covering the entire Ocean framework.
Definition Accessor.h:15