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

#include "feature.hpp"

Inheritance diagram for cv::CvFeatureEvaluator:
cv::CvHaarEvaluator cv::CvHOGEvaluator cv::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 (int type)
 

Protected Member Functions

virtual void generateFeatures ()=0
 

Protected Attributes

Mat cls
 
CvFeatureParamsfeatureParams
 
int nneg
 
int npos
 
int numFeatures
 
Size winSize
 

Constructor & Destructor Documentation

virtual cv::CvFeatureEvaluator::~CvFeatureEvaluator ( )
inlinevirtual

Member Function Documentation

static Ptr<CvFeatureEvaluator> cv::CvFeatureEvaluator::create ( int  type)
static
virtual void cv::CvFeatureEvaluator::generateFeatures ( )
protectedpure virtual
const Mat& cv::CvFeatureEvaluator::getCls ( ) const
inline
float cv::CvFeatureEvaluator::getCls ( int  si) const
inline
int cv::CvFeatureEvaluator::getFeatureSize ( ) const
inline
int cv::CvFeatureEvaluator::getMaxCatCount ( ) const
inline
int cv::CvFeatureEvaluator::getNumFeatures ( ) const
inline
virtual void cv::CvFeatureEvaluator::init ( const CvFeatureParams _featureParams,
int  _maxSampleCount,
Size  _winSize 
)
virtual
virtual float cv::CvFeatureEvaluator::operator() ( int  featureIdx,
int  sampleIdx 
)
pure virtual
virtual void cv::CvFeatureEvaluator::setImage ( const Mat img,
uchar  clsLabel,
int  idx 
)
virtual
virtual void cv::CvFeatureEvaluator::writeFeatures ( FileStorage fs,
const Mat featureMap 
) const
pure virtual

Member Data Documentation

Mat cv::CvFeatureEvaluator::cls
protected
CvFeatureParams* cv::CvFeatureEvaluator::featureParams
protected
int cv::CvFeatureEvaluator::nneg
protected
int cv::CvFeatureEvaluator::npos
protected
int cv::CvFeatureEvaluator::numFeatures
protected
Size cv::CvFeatureEvaluator::winSize
protected

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