X-Boost  2.3.8
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SoftCascadeStage< WeakClassifier > Struct Template Reference

#include <SoftCascade.h>

Inherits BoostableClassifier< WeakClassifier >.

Public Types

typedef SoftCascadeStage
< typename
WeakClassifier::OptimizedType > 
OptimizedType
 the optimized version of the SoftCascadeStage classifier
 
- Public Types inherited from BoostableClassifier< WeakClassifier >
typedef WeakClassifier WeakClassifierType
 

Public Member Functions

template<class R , class P1 , class P2 >
 SoftCascadeStage (bool dummy, const SoftCascadeStage< R > &src, P1 p1, P2 p2)
 
template<class R , class P1 , class P2 , class P3 >
 SoftCascadeStage (const SoftCascadeStage< R > &src, P1 scale, P2 offset, P3 stride)
 
 SoftCascadeStage (const WeakClassifier &weak, float a, float r)
 
- Public Member Functions inherited from BoostableClassifier< WeakClassifier >
 BoostableClassifier (const WeakClassifier &weak, float a)
 
template<class R , class P1 , class P2 >
 BoostableClassifier (const R &src, P1 p1, P2 p2)
 build and convert costructor with 2 parameters
 
template<class R , class P0 , class P1 , class P2 >
 BoostableClassifier (const R &src, P0 p0, P1 p1, P2 p2)
 build and convert costructor with 3 parameters
 
template<class DataType >
float operator() (const DataType data) const
 
template<class DataType , class TParam1 >
float operator() (const DataType data, TParam1 stride) const
 
float getAlpha () const
 

Static Public Member Functions

static std::string signature ()
 
- Static Public Member Functions inherited from BoostableClassifier< WeakClassifier >
static std::string signature ()
 

Public Attributes

float rejection
 
- Public Attributes inherited from BoostableClassifier< WeakClassifier >
float alpha
 Weight associated to this classifier.
 

Additional Inherited Members

- Static Public Attributes inherited from BoostableClassifier< WeakClassifier >
static const ClassifierType Type = RealClassifier
 BoostableClassifier convert a DiscreteClassifier in a RealClassifier.
 

Detailed Description

template<class WeakClassifier>
struct SoftCascadeStage< WeakClassifier >

A single classifier based on a single HaarFeature

Parameters
WeakClassifiera Weak Classifier type.

Constructor & Destructor Documentation

template<class WeakClassifier>
template<class R , class P1 , class P2 >
SoftCascadeStage< WeakClassifier >::SoftCascadeStage ( bool  dummy,
const SoftCascadeStage< R > &  src,
P1  p1,
P2  p2 
)
inline
Note
dummy to avoid missunderstood during function calling

Member Data Documentation

template<class WeakClassifier>
float SoftCascadeStage< WeakClassifier >::rejection

threshold of rejection of this step


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