A classifier composed by a Feature Extractor and an Evaluation Policy A "Second Level" classifier, merging a feature extractor algorithm with a feature evaluation classifier.
More...
#include <BinaryClassifier.h>
Inherits FeatureExtractor, and Policy.
|
|
| BinaryClassifier (const FeatureExtractor &x) |
| |
| template<class R , class P1 > |
| | BinaryClassifier (const R &x, P1 p1) |
| |
| template<class R , class P1 , class P2 > |
| | BinaryClassifier (const R &x, P1 p1, P2 p2) |
| |
| template<class R , class P0 , class P1 , class P2 > |
| | BinaryClassifier (const R &x, P0 p0, P1 p1, P2 p2) |
| |
|
const char * | str () const |
| | return the "feature" name (for debug purpose)
|
| |
| template<class D1 , class D2 > |
| ReturnType | classify (const D1 d1, const D2 d2) const |
| |
| template<class D1 > |
| ReturnType | classify (const D1 d1) const |
| |
| template<class D1 , class D2 > |
| ReturnType | operator() (const D1 d1, const D2 d2) const |
| | classify wrapper. More...
|
| |
| template<class D1 > |
| ReturnType | operator() (const D1 d1) const |
| | classify wrapper. More...
|
| |
|
template<class D1 , class D2 > |
| void | test_and_evalute (int &value, ReturnType &test, const D1 d1, const D2 d2) const |
| | return both feature responde and classify hypothesis
|
| |
|
void | rescale (float sx, float sy) |
| | this function permits to change the geometry of haar feature: integral value should be used
|
| |
|
template<class FeatureType > |
| void | export_features (std::vector< FeatureType > &out) const |
| |
|
|
static std::string | signature () |
| | signature name is the name of provider (for simplicity)
|
| |
template<class FeatureExtractor, class Policy>
struct BinaryClassifier< FeatureExtractor, Policy >
A classifier composed by a Feature Extractor and an Evaluation Policy A "Second Level" classifier, merging a feature extractor algorithm with a feature evaluation classifier.
template<class FeatureExtractor, class Policy>
template<class R , class P1 >
template<class FeatureExtractor, class Policy>
template<class R , class P1 , class P2 >
template<class FeatureExtractor, class Policy>
template<class R , class P0 , class P1 , class P2 >
template<class FeatureExtractor, class Policy>
template<class D1 , class D2 >
Classify using a Decision Stump on FeatureExtractor response
- Returns
- {-1,+1), for example: true (+1) pedestrian, -1 non-pedestrian if parity=1 then +1 is returned if v < th, -1 otherwise ( v >= th ) if parity=-1 then +1 is returned if v > th, -1 otherwise ( v <= th )
template<class FeatureExtractor, class Policy>
template<class D1 >
classify (1 param version)
- See also
- other version
template<class FeatureExtractor, class Policy>
template<class D1 , class D2 >
template<class FeatureExtractor, class Policy>
template<class D1 >
The documentation for this struct was generated from the following file: