OpenCV  2.4.13
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 ( )
virtual CvCamShiftTracker::~CvCamShiftTracker ( )
virtual

Member Function Documentation

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

Member Data Documentation

IplImage* CvCamShiftTracker::m_back_project
protected
CvBox2D CvCamShiftTracker::m_box
protected
IplImage* CvCamShiftTracker::m_color_planes[CV_MAX_DIM]
protected
CvConnectedComp CvCamShiftTracker::m_comp
protected
CvHistogram* CvCamShiftTracker::m_hist
protected
float* CvCamShiftTracker::m_hist_ranges[CV_MAX_DIM]
protected
float CvCamShiftTracker::m_hist_ranges_data[CV_MAX_DIM][2]
protected
IplImage* CvCamShiftTracker::m_mask
protected
int CvCamShiftTracker::m_max_ch_val[CV_MAX_DIM]
protected
int CvCamShiftTracker::m_min_ch_val[CV_MAX_DIM]
protected
IplImage* CvCamShiftTracker::m_temp
protected
int CvCamShiftTracker::m_threshold
protected

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