OpenCV
3.0.0
Open Source Computer Vision
|
Feature evaluation interface. More...
#include "xobjdetect.hpp"
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... | |
Feature evaluation interface.
|
pure virtual |
|
pure virtual |
Evaluate feature value with given index for current channels and window position.
feature_ind | index of feature to be evaluated |
|
pure virtual |
Evaluate all features for current channels and window position.
feature_values | matrix-column of evaluated feature values |
|
pure virtual |
Set channels for feature evaluation.
channels | array of channels to be set |
|
pure virtual |
Set window position to sample features with shift. By default position is (0, 0).
position | position to be set |