8 #ifndef META_OCEAN_TRACKING_VISUAL_TRACKER_H
9 #define META_OCEAN_TRACKING_VISUAL_TRACKER_H
84 inline unsigned int id()
const;
106 inline const Vector3& maximalPositionOffset()
const;
112 inline Scalar maximalOrientationOffset()
const;
184 transformation_(transformation),
192 return transformation_;
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements a recursive lock object.
Definition: Lock.h:31
static constexpr T deg2rad(const T deg)
Converts deg to rad.
Definition: Numeric.h:3232
This class implements a 6DOF pose with internal motion model.
Definition: MotionModel.h:30
This class implements the base class for all tracker object.
Definition: tracking/Tracker.h:24
This class implements a base class for all visual tracker objects.
Definition: tracking/VisualTracker.h:45
virtual bool determinePoses(const Frames &frames, const SharedAnyCameras &anyCameras, TransformationSamples &transformations, const Quaternion &world_R_camera=Quaternion(false), Worker *worker=nullptr)
Executes the tracking step for a collection of frames and corresponding cameras This function allows ...
virtual bool setMaxOrientationOffset(const Scalar orientationOffset)
Sets or changes the maximal expected pose orientation offset between two successive frames for this t...
Vector3 maxPositionOffset_
Maximal pose position offset between two frames.
Definition: tracking/VisualTracker.h:174
MotionModel motionModel_
Pose motion model to predict the pose of the next frame.
Definition: tracking/VisualTracker.h:171
VisualTracker()=default
Creates a new visual tracker object.
Lock lock_
Tracker lock object.
Definition: tracking/VisualTracker.h:180
virtual bool setMaxPositionOffset(const Vector3 &positionOffset)
Sets or changes the maximal expected pose position offset between two successive frames for this trac...
unsigned int ObjectId
Definition of an object id.
Definition: tracking/VisualTracker.h:51
virtual bool determinePoses(const Frame &frame, const PinholeCamera &pinholeCamera, const bool frameIsUndistorted, TransformationSamples &transformations, const Quaternion &world_R_camera=Quaternion(false), Worker *worker=nullptr)=0
Deprecated.
std::vector< TransformationSample > TransformationSamples
Definition of a vector holding a transformation sample object.
Definition: tracking/VisualTracker.h:98
const Vector3 & maximalPositionOffset() const
Returns the maximal expected pose position offset between two successive frames for this tracker.
Definition: tracking/VisualTracker.h:200
Scalar maxOrientationOffset_
Maximal pose orientation offset between two frames, in radian angle.
Definition: tracking/VisualTracker.h:177
Scalar maximalOrientationOffset() const
Returns the maximal expected pose orientation offset between two successive frames for this tracker.
Definition: tracking/VisualTracker.h:205
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
std::vector< Frame > Frames
Definition of a vector holding padding frames.
Definition: Frame.h:1755
QuaternionT< Scalar > Quaternion
Definition of the Quaternion object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with sin...
Definition: Quaternion.h:33
float Scalar
Definition of a scalar type.
Definition: Math.h:128
VectorT3< Scalar > Vector3
Definition of a 3D vector.
Definition: Vector3.h:22
HomogenousMatrixT4< Scalar > HomogenousMatrix4
Definition of the HomogenousMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag eit...
Definition: HomogenousMatrix4.h:37
SharedAnyCamerasT< Scalar > SharedAnyCameras
Definition of a vector holding AnyCamera objects.
Definition: AnyCamera.h:90
size_t ObjectId
Definition of a object id.
Definition: rendering/Rendering.h:59
ObjectRef< VisualTracker > VisualTrackerRef
Definition of an object reference covering a visual tracker object.
Definition: tracking/VisualTracker.h:31
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15