OpenCV  5.0.0alpha
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::detail::tracking::contrib_feature::CvHOGEvaluator Class Reference

#include <opencv2/tracking/feature.hpp>

Collaboration diagram for cv::detail::tracking::contrib_feature::CvHOGEvaluator:

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::detail::tracking::contrib_feature::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 Member Functions inherited from cv::detail::tracking::contrib_feature::CvFeatureEvaluator

Protected Attributes

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

Additional Inherited Members

- Static Public Member Functions inherited from cv::detail::tracking::contrib_feature::CvFeatureEvaluator
static Ptr< CvFeatureEvaluatorcreate (CvFeatureParams::FeatureType type)
 

Constructor & Destructor Documentation

◆ ~CvHOGEvaluator()

virtual cv::detail::tracking::contrib_feature::CvHOGEvaluator::~CvHOGEvaluator ( )
inlinevirtual

Member Function Documentation

◆ generateFeatures()

virtual void cv::detail::tracking::contrib_feature::CvHOGEvaluator::generateFeatures ( )
protectedvirtual

◆ init()

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

◆ integralHistogram()

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

◆ operator()()

float cv::detail::tracking::contrib_feature::CvHOGEvaluator::operator() ( int varIdx,
int sampleIdx )
inlinevirtual

◆ setImage()

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

◆ writeFeatures()

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

Member Data Documentation

◆ features

std::vector<Feature> cv::detail::tracking::contrib_feature::CvHOGEvaluator::features
protected

◆ hist

std::vector<Mat> cv::detail::tracking::contrib_feature::CvHOGEvaluator::hist
protected

◆ normSum

Mat cv::detail::tracking::contrib_feature::CvHOGEvaluator::normSum
protected

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