OpenCV  4.5.1
Open Source Computer Vision
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cv::detail::tracking::feature::CvFeatureEvaluator Class Referenceabstract

#include <opencv2/video/detail/tracking_feature.private.hpp>

Inheritance diagram for cv::detail::tracking::feature::CvFeatureEvaluator:
cv::detail::tracking::feature::CvHaarEvaluator

Public Member Functions

virtual ~CvFeatureEvaluator ()
 
const MatgetCls () const
 
float getCls (int si) const
 
int getFeatureSize () const
 
int getMaxCatCount () const
 
int getNumFeatures () const
 
virtual void init (const CvFeatureParams *_featureParams, int _maxSampleCount, Size _winSize)
 
virtual void setImage (const Mat &img, uchar clsLabel, int idx)
 

Static Public Member Functions

static Ptr< CvFeatureEvaluatorcreate (CvFeatureParams::FeatureType type)
 

Protected Member Functions

virtual void generateFeatures ()=0
 

Protected Attributes

Mat cls
 
CvFeatureParamsfeatureParams
 
int nneg
 
int npos
 
int numFeatures
 
Size winSize
 

Constructor & Destructor Documentation

◆ ~CvFeatureEvaluator()

virtual cv::detail::tracking::feature::CvFeatureEvaluator::~CvFeatureEvaluator ( )
inlinevirtual

Member Function Documentation

◆ create()

static Ptr<CvFeatureEvaluator> cv::detail::tracking::feature::CvFeatureEvaluator::create ( CvFeatureParams::FeatureType  type)
static

◆ generateFeatures()

virtual void cv::detail::tracking::feature::CvFeatureEvaluator::generateFeatures ( )
protectedpure virtual

◆ getCls() [1/2]

const Mat& cv::detail::tracking::feature::CvFeatureEvaluator::getCls ( ) const
inline

◆ getCls() [2/2]

float cv::detail::tracking::feature::CvFeatureEvaluator::getCls ( int  si) const
inline

◆ getFeatureSize()

int cv::detail::tracking::feature::CvFeatureEvaluator::getFeatureSize ( ) const
inline

◆ getMaxCatCount()

int cv::detail::tracking::feature::CvFeatureEvaluator::getMaxCatCount ( ) const
inline

◆ getNumFeatures()

int cv::detail::tracking::feature::CvFeatureEvaluator::getNumFeatures ( ) const
inline

◆ init()

virtual void cv::detail::tracking::feature::CvFeatureEvaluator::init ( const CvFeatureParams _featureParams,
int  _maxSampleCount,
Size  _winSize 
)
virtual

◆ setImage()

virtual void cv::detail::tracking::feature::CvFeatureEvaluator::setImage ( const Mat img,
uchar  clsLabel,
int  idx 
)
virtual

Member Data Documentation

◆ cls

Mat cv::detail::tracking::feature::CvFeatureEvaluator::cls
protected

◆ featureParams

CvFeatureParams* cv::detail::tracking::feature::CvFeatureEvaluator::featureParams
protected

◆ nneg

int cv::detail::tracking::feature::CvFeatureEvaluator::nneg
protected

◆ npos

int cv::detail::tracking::feature::CvFeatureEvaluator::npos
protected

◆ numFeatures

int cv::detail::tracking::feature::CvFeatureEvaluator::numFeatures
protected

◆ winSize

Size cv::detail::tracking::feature::CvFeatureEvaluator::winSize
protected

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