class ModelEntry More...
#include <ModelEntry.h>
Public Member Functions | |
void | evaluate_states (const Particle &variation, unsigned rec, float c_th_base=0.6f, float c_th_min=0.3f, float c_th_fair=0.5f, float c_mv_not=0.01f, float c_mv_slow=0.05f, float c_th_lost=0.1f) |
void | filter_pose () |
ModelEntry () | |
class ModelEntry | |
ModelEntry (const TomGine::tgModel &m) | |
void | setInitialPose (const TomGine::tgPose &p, float lpf_delay=0.0f, float lpf_delay_z=0.0f) |
~ModelEntry () | |
Public Attributes | |
float | a |
float | a_max |
float | abs_a |
float | abs_t |
bool | bfc |
enable/disable backface culling | |
float | c_edge |
float | c_lost |
float | c_th |
float | confidence_color |
Confidence value of current pose with respect to color comparison. | |
float | confidence_edge |
Confidence value of current pose with respect to edge comparison. | |
Distribution | distribution |
Likelihood distribution. | |
unsigned | hypothesis_id |
ID of model to compare with (if this ModelEntry is a hypothesis) | |
int | id |
ID of model (for removing) | |
Particle | initial_pose |
Initial pose, pose where to reset model to. | |
std::string | label |
bool | lock |
enable/disable lock | |
Particle | lpf_pose |
Low pass filtered pose;. | |
SmoothFilter | m_lpf_a |
SmoothFilter | m_lpf_cl |
SmoothFilter | m_lpf_cs |
SmoothFilter | m_lpf_t |
Texture * | mask |
Mask for model edges not to be considered (image space) | |
bool | mask_geometry_edges |
enable/disable masking of geometry edges (use texture only) | |
TrackerModel | model |
The model to track. | |
mat4 | modelviewprojection |
Tranformation matrix from model to image coordinates. | |
unsigned | num_convergence |
number of steps until convergence (static object); | |
unsigned | num_particles |
Number of particles used for representing likelihood distribution. | |
unsigned | num_recursions |
Number of recursions per image. | |
std::vector< float > | past_confidences |
vector of the past confidences | |
Particle | pose |
Current pose of the model. | |
Particle | pose_prev |
Previouse pose of the model. | |
Predictor * | predictor |
Movement prediction. | |
float | speed_angular |
Current angular speed. | |
float | speed_translational |
Current translational speed. | |
confidence_state | st_confidence |
tracking confidence state | |
movement_state | st_movement |
movement state | |
quality_state | st_quality |
qualitative state | |
float | t |
float | t_max |
TomGine::tgVector3 | vCam2Model |
Vector from camera to model (for zooming DOF and texturing) | |
Private Member Functions | |
float | abs (float a) |
float | max (float a, float b) |
void | poseDiff (float &t, float &a) |
void | speed () |
Private Attributes | |
Predictor * | del_predictor |
SmoothFilter | m_lpf_pose_qw |
SmoothFilter | m_lpf_pose_qx |
SmoothFilter | m_lpf_pose_qy |
SmoothFilter | m_lpf_pose_qz |
SmoothFilter | m_lpf_pose_tx |
SmoothFilter | m_lpf_pose_ty |
SmoothFilter | m_lpf_pose_tz |
class ModelEntry
Definition at line 22 of file ModelEntry.h.
class ModelEntry
Definition at line 7 of file ModelEntry.cpp.
ModelEntry::ModelEntry | ( | const TomGine::tgModel & | m | ) |
Definition at line 20 of file ModelEntry.cpp.
Definition at line 31 of file ModelEntry.cpp.
float Tracking::ModelEntry::abs | ( | float | a | ) | [inline, private] |
Definition at line 29 of file ModelEntry.h.
void ModelEntry::evaluate_states | ( | const Particle & | variation, |
unsigned | rec, | ||
float | c_th_base = 0.6f , |
||
float | c_th_min = 0.3f , |
||
float | c_th_fair = 0.5f , |
||
float | c_mv_not = 0.01f , |
||
float | c_mv_slow = 0.05f , |
||
float | c_th_lost = 0.1f |
||
) |
Definition at line 88 of file ModelEntry.cpp.
void ModelEntry::filter_pose | ( | ) |
Definition at line 63 of file ModelEntry.cpp.
float Tracking::ModelEntry::max | ( | float | a, |
float | b | ||
) | [inline, private] |
Definition at line 28 of file ModelEntry.h.
void ModelEntry::poseDiff | ( | float & | t, |
float & | a | ||
) | [private] |
Definition at line 36 of file ModelEntry.cpp.
void ModelEntry::setInitialPose | ( | const TomGine::tgPose & | p, |
float | lpf_delay = 0.0f , |
||
float | lpf_delay_z = 0.0f |
||
) |
Definition at line 74 of file ModelEntry.cpp.
void ModelEntry::speed | ( | ) | [private] |
Definition at line 51 of file ModelEntry.cpp.
float Tracking::ModelEntry::a |
Definition at line 46 of file ModelEntry.h.
Definition at line 46 of file ModelEntry.h.
Definition at line 46 of file ModelEntry.h.
Definition at line 46 of file ModelEntry.h.
enable/disable backface culling
Definition at line 74 of file ModelEntry.h.
Definition at line 46 of file ModelEntry.h.
Definition at line 46 of file ModelEntry.h.
Definition at line 46 of file ModelEntry.h.
Confidence value of current pose with respect to color comparison.
Definition at line 64 of file ModelEntry.h.
Confidence value of current pose with respect to edge comparison.
Definition at line 65 of file ModelEntry.h.
Predictor* Tracking::ModelEntry::del_predictor [private] |
Definition at line 82 of file ModelEntry.h.
Likelihood distribution.
Definition at line 53 of file ModelEntry.h.
unsigned Tracking::ModelEntry::hypothesis_id |
ID of model to compare with (if this ModelEntry is a hypothesis)
Definition at line 69 of file ModelEntry.h.
ID of model (for removing)
Definition at line 67 of file ModelEntry.h.
Initial pose, pose where to reset model to.
Definition at line 59 of file ModelEntry.h.
std::string Tracking::ModelEntry::label |
Definition at line 44 of file ModelEntry.h.
enable/disable lock
Definition at line 75 of file ModelEntry.h.
Low pass filtered pose;.
Definition at line 58 of file ModelEntry.h.
Definition at line 92 of file ModelEntry.h.
Definition at line 95 of file ModelEntry.h.
Definition at line 94 of file ModelEntry.h.
Definition at line 89 of file ModelEntry.h.
Definition at line 86 of file ModelEntry.h.
Definition at line 87 of file ModelEntry.h.
Definition at line 88 of file ModelEntry.h.
Definition at line 83 of file ModelEntry.h.
Definition at line 84 of file ModelEntry.h.
Definition at line 85 of file ModelEntry.h.
Definition at line 93 of file ModelEntry.h.
Mask for model edges not to be considered (image space)
Definition at line 55 of file ModelEntry.h.
enable/disable masking of geometry edges (use texture only)
Definition at line 76 of file ModelEntry.h.
The model to track.
Definition at line 52 of file ModelEntry.h.
Tranformation matrix from model to image coordinates.
Definition at line 78 of file ModelEntry.h.
number of steps until convergence (static object);
Definition at line 68 of file ModelEntry.h.
unsigned Tracking::ModelEntry::num_particles |
Number of particles used for representing likelihood distribution.
Definition at line 71 of file ModelEntry.h.
unsigned Tracking::ModelEntry::num_recursions |
Number of recursions per image.
Definition at line 72 of file ModelEntry.h.
std::vector<float> Tracking::ModelEntry::past_confidences |
vector of the past confidences
Definition at line 70 of file ModelEntry.h.
Current pose of the model.
Definition at line 56 of file ModelEntry.h.
Previouse pose of the model.
Definition at line 57 of file ModelEntry.h.
Movement prediction.
Definition at line 54 of file ModelEntry.h.
Current angular speed.
Definition at line 61 of file ModelEntry.h.
Current translational speed.
Definition at line 62 of file ModelEntry.h.
tracking confidence state
Definition at line 49 of file ModelEntry.h.
movement state
Definition at line 48 of file ModelEntry.h.
qualitative state
Definition at line 50 of file ModelEntry.h.
float Tracking::ModelEntry::t |
Definition at line 46 of file ModelEntry.h.
Definition at line 46 of file ModelEntry.h.
Vector from camera to model (for zooming DOF and texturing)
Definition at line 79 of file ModelEntry.h.