OpenCV  3.4.11
Open Source Computer Vision
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cv::CvHOGEvaluator Class Reference

#include <opencv2/tracking/feature.hpp>

Inheritance diagram for cv::CvHOGEvaluator:
cv::CvFeatureEvaluator

Classes

class  Feature
 

Public Member Functions

virtual ~CvHOGEvaluator ()
 
virtual void init (const CvFeatureParams *_featureParams, int _maxSampleCount, Size _winSize) CV_OVERRIDE
 
virtual float operator() (int varIdx, int sampleIdx) CV_OVERRIDE
 
virtual void setImage (const Mat &img, uchar clsLabel, int idx) CV_OVERRIDE
 
virtual void writeFeatures (FileStorage &fs, const Mat &featureMap) const CV_OVERRIDE
 
- Public Member Functions inherited from cv::CvFeatureEvaluator
virtual ~CvFeatureEvaluator ()
 
const MatgetCls () const
 
float getCls (int si) const
 
int getFeatureSize () const
 
int getMaxCatCount () const
 
int getNumFeatures () const
 

Protected Member Functions

virtual void generateFeatures () CV_OVERRIDE
 
virtual void integralHistogram (const Mat &img, std::vector< Mat > &histogram, Mat &norm, int nbins) const
 

Protected Attributes

std::vector< Featurefeatures
 
std::vector< Mathist
 
Mat normSum
 
- Protected Attributes inherited from cv::CvFeatureEvaluator
Mat cls
 
CvFeatureParamsfeatureParams
 
int nneg
 
int npos
 
int numFeatures
 
Size winSize
 

Additional Inherited Members

- Static Public Member Functions inherited from cv::CvFeatureEvaluator
static Ptr< CvFeatureEvaluatorcreate (int type)
 

Constructor & Destructor Documentation

◆ ~CvHOGEvaluator()

virtual cv::CvHOGEvaluator::~CvHOGEvaluator ( )
inlinevirtual

Member Function Documentation

◆ generateFeatures()

virtual void cv::CvHOGEvaluator::generateFeatures ( )
protectedvirtual

◆ init()

virtual void cv::CvHOGEvaluator::init ( const CvFeatureParams _featureParams,
int  _maxSampleCount,
Size  _winSize 
)
virtual

Reimplemented from cv::CvFeatureEvaluator.

◆ integralHistogram()

virtual void cv::CvHOGEvaluator::integralHistogram ( const Mat img,
std::vector< Mat > &  histogram,
Mat norm,
int  nbins 
) const
protectedvirtual

◆ setImage()

virtual void cv::CvHOGEvaluator::setImage ( const Mat img,
uchar  clsLabel,
int  idx 
)
virtual

Reimplemented from cv::CvFeatureEvaluator.

◆ writeFeatures()

virtual void cv::CvHOGEvaluator::writeFeatures ( FileStorage fs,
const Mat featureMap 
) const
virtual

Member Data Documentation

◆ features

std::vector<Feature> cv::CvHOGEvaluator::features
protected

◆ hist

std::vector<Mat> cv::CvHOGEvaluator::hist
protected

◆ normSum

Mat cv::CvHOGEvaluator::normSum
protected

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