8#ifndef META_OCEAN_TRACKING_VISUAL_TRACKER_H
9#define META_OCEAN_TRACKING_VISUAL_TRACKER_H
84 inline unsigned int id()
const;
This class implements Ocean's image class.
Definition Frame.h:1969
This class implements a recursive lock object.
Definition Lock.h:31
static constexpr Scalar deg2rad(const Scalar deg)
This template class implements a object reference with an internal reference counter.
Definition base/ObjectRef.h:58
This class implements a 6DOF pose with internal motion model.
Definition MotionModel.h:30
Tracker()
Creates a new tracker object.
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
std::vector< TransformationSample > TransformationSamples
Definition of a vector holding a transformation sample object.
Definition tracking/VisualTracker.h:98
virtual bool setMaxPositionOffset(const Vector3 &positionOffset)
Sets or changes the maximal expected pose position offset between two successive frames for this trac...
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.
unsigned int ObjectId
Definition of an object id.
Definition tracking/VisualTracker.h:51
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:1932
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
SharedAnyCamerasT< Scalar > SharedAnyCameras
Definition of a vector holding AnyCamera objects.
Definition AnyCamera.h:91
VectorT3< Scalar > Vector3
Definition of a 3D vector.
Definition Vector3.h:29
float Scalar
Definition of a scalar type.
Definition Math.h:129
ObjectRef< VisualTracker > VisualTrackerRef
Definition of an object reference covering a visual tracker object.
Definition tracking/VisualTracker.h:38
Namespace of the Tracker library.
The namespace covering the entire Ocean framework.
Definition Accessor.h:15