X-Boost  2.3.8
Public Types | Public Member Functions | Static Public Member Functions | List of all members
RealToDiscrete< Classifier > Struct Template Reference

#include <RealToDiscrete.h>

Inherits Classifier.

Public Types

typedef Classifier FeatureType
 

Public Member Functions

 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 Public Member Functions

static std::string signature ()
 signature name is the name of provider (for simplicity)
 

Detailed Description

template<class Classifier>
struct RealToDiscrete< Classifier >

convert a Real Classifier in a Dicrete One using a fixed threshold

Member Function Documentation

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

classify wrapper.

See also
classify

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