OpenCV  3.0.0-rc1
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
cv::xobjdetect::FeatureEvaluator Class Referenceabstract

Feature evaluation interface. More...

#include "xobjdetect.hpp"

Inheritance diagram for cv::xobjdetect::FeatureEvaluator:
cv::Algorithm

Public Member Functions

virtual void assertChannels ()=0
 
virtual int evaluate (size_t feature_ind) const =0
 Evaluate feature value with given index for current channels and window position. More...
 
virtual void evaluateAll (OutputArray feature_values) const =0
 Evaluate all features for current channels and window position. More...
 
virtual void setChannels (InputArrayOfArrays channels)=0
 Set channels for feature evaluation. More...
 
virtual void setPosition (Size position)=0
 Set window position to sample features with shift. By default position is (0, 0). More...
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 Clears the algorithm state. More...
 
virtual bool empty () const
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More...
 
virtual String getDefaultName () const
 
virtual void read (const FileNode &fn)
 Reads algorithm parameters from a file storage. More...
 
virtual void save (const String &filename) const
 
virtual void write (FileStorage &fs) const
 Stores algorithm parameters in a file storage. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from cv::Algorithm
template<typename _Tp >
static Ptr< _Tp > load (const String &filename, const String &objname=String())
 Loads algorithm from the file. More...
 
template<typename _Tp >
static Ptr< _Tp > loadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String. More...
 
template<typename _Tp >
static Ptr< _Tp > read (const FileNode &fn)
 Reads algorithm from the file node. More...
 

Detailed Description

Feature evaluation interface.

Member Function Documentation

virtual void cv::xobjdetect::FeatureEvaluator::assertChannels ( )
pure virtual
virtual int cv::xobjdetect::FeatureEvaluator::evaluate ( size_t  feature_ind) const
pure virtual

Evaluate feature value with given index for current channels and window position.

Parameters
feature_indindex of feature to be evaluated
virtual void cv::xobjdetect::FeatureEvaluator::evaluateAll ( OutputArray  feature_values) const
pure virtual

Evaluate all features for current channels and window position.

Parameters
feature_valuesmatrix-column of evaluated feature values
virtual void cv::xobjdetect::FeatureEvaluator::setChannels ( InputArrayOfArrays  channels)
pure virtual

Set channels for feature evaluation.

Parameters
channelsarray of channels to be set
virtual void cv::xobjdetect::FeatureEvaluator::setPosition ( Size  position)
pure virtual

Set window position to sample features with shift. By default position is (0, 0).

Parameters
positionposition to be set

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