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

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

#include <CascadeSM.h>

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

Public Types

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

Public Member Functions

 CascadeSM (const vector< SM * > _trackers, const ParamType *casc_params)
 
void initialize (const cv::Mat &corners) override
 
void update () override
 
void setImage (const cv::Mat &img) 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 Member Functions

void updateTrackers (const cv::Mat &img)
 

Protected Attributes

ParamType params
 
bool failure_detected
 
vector< cv::Mat > img_buffer
 
vector< cv::Mat > corners_buffer
 
int buffer_id
 
bool buffer_filled
 
cv::Mat curr_img
 
- 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 CascadeSM< AM, SSM >

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


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