OpenCV  2.4.13.6
Open Source Computer Vision
CvCamShiftTracker Class Reference

#include <legacy.hpp>

Public Member Functions

 CvCamShiftTracker ()
 
virtual ~CvCamShiftTracker ()
 
float get_orientation () const
 
float get_length () const
 
float get_width () const
 
CvPoint2D32f get_center () const
 
CvRect get_window () const
 
int get_threshold () const
 
int get_hist_dims (int *dims=0) const
 
int get_min_ch_val (int channel) const
 
int get_max_ch_val (int channel) const
 
bool set_window (CvRect window)
 
bool set_threshold (int threshold)
 
bool set_hist_bin_range (int dim, int min_val, int max_val)
 
bool set_hist_dims (int c_dims, int *dims)
 
bool set_min_ch_val (int channel, int val)
 
bool set_max_ch_val (int channel, int val)
 
virtual bool track_object (const IplImage *cur_frame)
 
virtual bool update_histogram (const IplImage *cur_frame)
 
virtual void reset_histogram ()
 
virtual IplImageget_back_project ()
 
float query (int *bin) const
 

Protected Member Functions

virtual void color_transform (const IplImage *img)
 

Protected Attributes

CvHistogramm_hist
 
CvBox2D m_box
 
CvConnectedComp m_comp
 
float m_hist_ranges_data [CV_MAX_DIM][2]
 
float * m_hist_ranges [CV_MAX_DIM]
 
int m_min_ch_val [CV_MAX_DIM]
 
int m_max_ch_val [CV_MAX_DIM]
 
int m_threshold
 
IplImagem_color_planes [CV_MAX_DIM]
 
IplImagem_back_project
 
IplImagem_temp
 
IplImagem_mask
 

Constructor & Destructor Documentation

§ CvCamShiftTracker()

CvCamShiftTracker::CvCamShiftTracker ( )

§ ~CvCamShiftTracker()

virtual CvCamShiftTracker::~CvCamShiftTracker ( )
virtual

Member Function Documentation

§ color_transform()

virtual void CvCamShiftTracker::color_transform ( const IplImage img)
protectedvirtual

§ get_back_project()

virtual IplImage* CvCamShiftTracker::get_back_project ( )
inlinevirtual

§ get_center()

CvPoint2D32f CvCamShiftTracker::get_center ( ) const
inline

§ get_hist_dims()

int CvCamShiftTracker::get_hist_dims ( int dims = 0) const
inline

§ get_length()

float CvCamShiftTracker::get_length ( ) const
inline

§ get_max_ch_val()

int CvCamShiftTracker::get_max_ch_val ( int  channel) const
inline

§ get_min_ch_val()

int CvCamShiftTracker::get_min_ch_val ( int  channel) const
inline

§ get_orientation()

float CvCamShiftTracker::get_orientation ( ) const
inline

§ get_threshold()

int CvCamShiftTracker::get_threshold ( ) const
inline

§ get_width()

float CvCamShiftTracker::get_width ( ) const
inline

§ get_window()

CvRect CvCamShiftTracker::get_window ( ) const
inline

§ query()

float CvCamShiftTracker::query ( int bin) const
inline

§ reset_histogram()

virtual void CvCamShiftTracker::reset_histogram ( )
virtual

§ set_hist_bin_range()

bool CvCamShiftTracker::set_hist_bin_range ( int  dim,
int  min_val,
int  max_val 
)

§ set_hist_dims()

bool CvCamShiftTracker::set_hist_dims ( int  c_dims,
int dims 
)

§ set_max_ch_val()

bool CvCamShiftTracker::set_max_ch_val ( int  channel,
int  val 
)
inline

§ set_min_ch_val()

bool CvCamShiftTracker::set_min_ch_val ( int  channel,
int  val 
)
inline

§ set_threshold()

bool CvCamShiftTracker::set_threshold ( int  threshold)
inline

§ set_window()

bool CvCamShiftTracker::set_window ( CvRect  window)
inline

§ track_object()

virtual bool CvCamShiftTracker::track_object ( const IplImage cur_frame)
virtual

§ update_histogram()

virtual bool CvCamShiftTracker::update_histogram ( const IplImage cur_frame)
virtual

Member Data Documentation

§ m_back_project

IplImage* CvCamShiftTracker::m_back_project
protected

§ m_box

CvBox2D CvCamShiftTracker::m_box
protected

§ m_color_planes

IplImage* CvCamShiftTracker::m_color_planes[CV_MAX_DIM]
protected

§ m_comp

CvConnectedComp CvCamShiftTracker::m_comp
protected

§ m_hist

CvHistogram* CvCamShiftTracker::m_hist
protected

§ m_hist_ranges

float* CvCamShiftTracker::m_hist_ranges[CV_MAX_DIM]
protected

§ m_hist_ranges_data

float CvCamShiftTracker::m_hist_ranges_data[CV_MAX_DIM][2]
protected

§ m_mask

IplImage* CvCamShiftTracker::m_mask
protected

§ m_max_ch_val

int CvCamShiftTracker::m_max_ch_val[CV_MAX_DIM]
protected

§ m_min_ch_val

int CvCamShiftTracker::m_min_ch_val[CV_MAX_DIM]
protected

§ m_temp

IplImage* CvCamShiftTracker::m_temp
protected

§ m_threshold

int CvCamShiftTracker::m_threshold
protected

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