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;
177 Scalar maxOrientationOffset_ = Numeric::deg2rad(15);
184 transformation_(transformation),
192 return transformation_;
This class implements Ocean's image class.
Definition Frame.h:1808
This class implements a recursive lock object.
Definition Lock.h:31
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
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:1771
float Scalar
Definition of a scalar type.
Definition Math.h:129
SharedAnyCamerasT< Scalar > SharedAnyCameras
Definition of a vector holding AnyCamera objects.
Definition AnyCamera.h:90
ObjectRef< VisualTracker > VisualTrackerRef
Definition of an object reference covering a visual tracker object.
Definition tracking/VisualTracker.h:38
The namespace covering the entire Ocean framework.
Definition Accessor.h:15