OpenCV  3.0.0
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cv::CvHOGEvaluator Class Reference

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

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

Member Function Documentation

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

Reimplemented from cv::CvFeatureEvaluator.

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

Reimplemented from cv::CvFeatureEvaluator.

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

Member Data Documentation

std::vector<Feature> cv::CvHOGEvaluator::features
protected
std::vector<Mat> cv::CvHOGEvaluator::hist
protected
Mat cv::CvHOGEvaluator::normSum
protected

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