MTF
Public Types | Public Member Functions | Protected Attributes | List of all members
ParallelSM< AM, SSM > Class Template Reference

run multiple search methods in parallel with the same AM/SSM; although the code here is currently identical to ParallelTracker, a seperate module exists for future extensions that take advantage of the additional information that is available to this class through direct access to the underlying AM and SSM More...

#include <ParallelSM.h>

Inheritance diagram for ParallelSM< AM, SSM >:
CompositeSM< AM, SSM >

Public Types

typedef ParallelParams ParamType
 
typedef ParamType::PrlEstMethod PrlEstMethod
 
typedef SM::SSMParams SSMParams
 
- Public Types inherited from CompositeSM< AM, SSM >
typedef SearchMethod< AM, SSM > SM
 

Public Member Functions

 ParallelSM (const vector< SM * > _trackers, const ParamType *parl_params, const SSMParams *ssm_params)
 
void setImage (const cv::Mat &img) override
 
void initialize (const cv::Mat &corners) override
 
void update () override
 
const cv::Mat & getRegion () override
 
void setRegion (const cv::Mat &corners) override
 
- Public Member Functions inherited from CompositeSM< AM, SSM >
 CompositeSM (const vector< SM * > _trackers)
 
void setImage (const cv::Mat &img) override
 
int inputType () const override
 
void setRegion (const cv::Mat &corners) override
 
virtual void setSPIMask (const bool *_spi_mask)
 
virtual void clearSPIMask ()
 
virtual void setInitStatus ()
 
virtual void clearInitStatus ()
 
virtual bool supportsSPI ()
 
virtual AM & getAM ()
 
virtual SSM & getSSM ()
 

Protected Attributes

SSM ssm
 
ParamType params
 
bool failure_detected
 
int buffer_id
 
bool buffer_filled
 
vector< cv::Mat > img_buffer
 
vector< cv::Mat > corners_buffer
 
cv::Mat curr_img
 
cv::Mat mean_corners_cv
 
int ssm_state_size
 
std::vector< VectorXd > ssm_states
 
VectorXd mean_state
 
- Protected Attributes inherited from CompositeSM< AM, SSM >
const vector< SM * > trackers
 
int n_trackers
 
int input_type
 

Detailed Description

template<class AM, class SSM>
class ParallelSM< AM, SSM >

run multiple search methods in parallel with the same AM/SSM; although the code here is currently identical to ParallelTracker, a seperate module exists for future extensions that take advantage of the additional information that is available to this class through direct access to the underlying AM and SSM


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