Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
Tracking::ModelEntry Class Reference

class ModelEntry More...

#include <ModelEntry.h>

List of all members.

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
Texturemask
 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.
Predictorpredictor
 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

Predictordel_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

Detailed Description

class ModelEntry

Definition at line 40 of file ModelEntry.h.


Constructor & Destructor Documentation

class ModelEntry

Definition at line 8 of file ModelEntry.cpp.

Definition at line 21 of file ModelEntry.cpp.

Definition at line 32 of file ModelEntry.cpp.


Member Function Documentation

float Tracking::ModelEntry::abs ( float  a) [inline, private]

Definition at line 47 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 89 of file ModelEntry.cpp.

Definition at line 64 of file ModelEntry.cpp.

float Tracking::ModelEntry::max ( float  a,
float  b 
) [inline, private]

Definition at line 46 of file ModelEntry.h.

void ModelEntry::poseDiff ( float &  t,
float &  a 
) [private]

Definition at line 37 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 75 of file ModelEntry.cpp.

void ModelEntry::speed ( ) [private]

Definition at line 52 of file ModelEntry.cpp.


Member Data Documentation

Definition at line 64 of file ModelEntry.h.

Definition at line 64 of file ModelEntry.h.

Definition at line 64 of file ModelEntry.h.

Definition at line 64 of file ModelEntry.h.

enable/disable backface culling

Definition at line 92 of file ModelEntry.h.

Definition at line 64 of file ModelEntry.h.

Definition at line 64 of file ModelEntry.h.

Definition at line 64 of file ModelEntry.h.

Confidence value of current pose with respect to color comparison.

Definition at line 82 of file ModelEntry.h.

Confidence value of current pose with respect to edge comparison.

Definition at line 83 of file ModelEntry.h.

Definition at line 100 of file ModelEntry.h.

Likelihood distribution.

Definition at line 71 of file ModelEntry.h.

ID of model to compare with (if this ModelEntry is a hypothesis)

Definition at line 87 of file ModelEntry.h.

ID of model (for removing)

Definition at line 85 of file ModelEntry.h.

Initial pose, pose where to reset model to.

Definition at line 77 of file ModelEntry.h.

Definition at line 62 of file ModelEntry.h.

enable/disable lock

Definition at line 93 of file ModelEntry.h.

Low pass filtered pose;.

Definition at line 76 of file ModelEntry.h.

Definition at line 110 of file ModelEntry.h.

Definition at line 113 of file ModelEntry.h.

Definition at line 112 of file ModelEntry.h.

Definition at line 107 of file ModelEntry.h.

Definition at line 104 of file ModelEntry.h.

Definition at line 105 of file ModelEntry.h.

Definition at line 106 of file ModelEntry.h.

Definition at line 101 of file ModelEntry.h.

Definition at line 102 of file ModelEntry.h.

Definition at line 103 of file ModelEntry.h.

Definition at line 111 of file ModelEntry.h.

Mask for model edges not to be considered (image space)

Definition at line 73 of file ModelEntry.h.

enable/disable masking of geometry edges (use texture only)

Definition at line 94 of file ModelEntry.h.

The model to track.

Definition at line 70 of file ModelEntry.h.

Tranformation matrix from model to image coordinates.

Definition at line 96 of file ModelEntry.h.

number of steps until convergence (static object);

Definition at line 86 of file ModelEntry.h.

Number of particles used for representing likelihood distribution.

Definition at line 89 of file ModelEntry.h.

Number of recursions per image.

Definition at line 90 of file ModelEntry.h.

vector of the past confidences

Definition at line 88 of file ModelEntry.h.

Current pose of the model.

Definition at line 74 of file ModelEntry.h.

Previouse pose of the model.

Definition at line 75 of file ModelEntry.h.

Movement prediction.

Definition at line 72 of file ModelEntry.h.

Current angular speed.

Definition at line 79 of file ModelEntry.h.

Current translational speed.

Definition at line 80 of file ModelEntry.h.

tracking confidence state

Definition at line 67 of file ModelEntry.h.

movement state

Definition at line 66 of file ModelEntry.h.

qualitative state

Definition at line 68 of file ModelEntry.h.

Definition at line 64 of file ModelEntry.h.

Definition at line 64 of file ModelEntry.h.

Vector from camera to model (for zooming DOF and texturing)

Definition at line 97 of file ModelEntry.h.


The documentation for this class was generated from the following files:


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:27