![]() |
Visual Servoing Platform
version 3.6.1 under development (2025-02-17)
|
#include <visp3/rbt/vpRBDriftDetector.h>
Public Member Functions | |
vpRBDriftDetector ()=default | |
virtual | ~vpRBDriftDetector ()=default |
virtual void | update (const vpRBFeatureTrackerInput &previousFrame, const vpRBFeatureTrackerInput &frame, const vpHomogeneousMatrix &cTo, const vpHomogeneousMatrix &cprevTo)=0 |
virtual double | getScore () const =0 |
virtual bool | hasDiverged () const =0 |
virtual void | display (const vpImage< vpRGBa > &I)=0 |
virtual void | loadJsonConfiguration (const nlohmann::json &)=0 |
Base interface for algorithms that should detect tracking drift for the render-based tracker.
In the tracking loop, these algorithms should be used as follows:
Definition at line 61 of file vpRBDriftDetector.h.
|
default |
|
virtualdefault |
Displays the information used for drift detection.
I | the image in which to display the information |
Implemented in vpRBProbabilistic3DDriftDetector.
|
pure virtual |
Get the estimated tracking reliability. A high score should mean that the tracking is reliable. Different algorithms may use different value ranges.
Implemented in vpRBProbabilistic3DDriftDetector.
|
pure virtual |
Returns whether the tracking has diverged and should be reinitialized. This function should be called after update.
Implemented in vpRBProbabilistic3DDriftDetector.
|
pure virtual |
Implemented in vpRBProbabilistic3DDriftDetector.
|
pure virtual |
Update the algorithm after a new tracking step.
previousFrame | The previous frame data: contains the input images at t-1 (linked to cprevTo) and the renders at t-2. May be empty for the first iteration |
frame | The current frame data: contains the input images at time t (linked to the newly estimated cTo) and the renders at t-1 (linked to cprevTo) |
cTo | the newly estimated object pose in the camera frame |
cprevTo | the previously estimated object pose in the camera frame |
Implemented in vpRBProbabilistic3DDriftDetector.