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::contrib_feature::CvFeatureEvaluator Class Referenceabstract

#include <opencv2/tracking/feature.hpp>

Inheritance diagram for cv::detail::tracking::contrib_feature::CvFeatureEvaluator:
cv::detail::tracking::contrib_feature::CvHaarEvaluator cv::detail::tracking::contrib_feature::CvHOGEvaluator cv::detail::tracking::contrib_feature::CvLBPEvaluator

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 float operator() (int featureIdx, int sampleIdx)=0
 
virtual void setImage (const Mat &img, uchar clsLabel, int idx)
 
virtual void writeFeatures (FileStorage &fs, const Mat &featureMap) const =0
 

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::contrib_feature::CvFeatureEvaluator::~CvFeatureEvaluator ( )
inlinevirtual

Member Function Documentation

◆ create()

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

◆ generateFeatures()

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

◆ getCls() [1/2]

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

◆ getCls() [2/2]

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

◆ getFeatureSize()

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

◆ getMaxCatCount()

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

◆ getNumFeatures()

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

◆ init()

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

◆ operator()()

virtual float cv::detail::tracking::contrib_feature::CvFeatureEvaluator::operator() ( int  featureIdx,
int  sampleIdx 
)
pure virtual

◆ setImage()

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

◆ writeFeatures()

virtual void cv::detail::tracking::contrib_feature::CvFeatureEvaluator::writeFeatures ( FileStorage fs,
const Mat featureMap 
) const
pure virtual

Member Data Documentation

◆ cls

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

◆ featureParams

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

◆ nneg

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

◆ npos

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

◆ numFeatures

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

◆ winSize

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

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