#include <RealToDiscrete.h>
Inherits Classifier.
|
|
typedef Classifier | FeatureType |
| |
|
|
| RealToDiscrete (const Classifier &x) |
| |
|
const char * | str () const |
| | return the "feature" name (for debug purpose)
|
| |
| int | classify (const unsigned int *pIntImage, int stride) const |
| |
| int | operator() (const unsigned int *pIntImage, int stride) const |
| | classify wrapper. More...
|
| |
|
|
static std::string | signature () |
| | signature name is the name of provider (for simplicity)
|
| |
template<class Classifier>
struct RealToDiscrete< Classifier >
convert a Real Classifier in a Dicrete One using a fixed threshold
template<class Classifier >
| int RealToDiscrete< Classifier >::classify |
( |
const unsigned int * |
pIntImage, |
|
|
int |
stride |
|
) |
| const |
|
inline |
Classify using a Decision Stump on Classifier response
- Returns
- {-1,+1) esempio: true (+1) pedone, -1 non pedone
template<class Classifier >
| int RealToDiscrete< Classifier >::operator() |
( |
const unsigned int * |
pIntImage, |
|
|
int |
stride |
|
) |
| const |
|
inline |
The documentation for this struct was generated from the following file: