X-Boost  2.3.8
Public Types | Public Member Functions | Public Attributes | List of all members
BaseIntegralChannelFeatureGenerator Struct Reference

Base Feature Generator for IntegralChannelFeatureGenerators. More...

#include <IntegralChannelFeatureGenerators.h>

Inherits FeatureGenerator< Feature >.

Inherited by BruteForceIntegralChannelFeatureGenerator, and RandomIntegralChannelFeatureGenerator.

Public Types

typedef IntegralChannelFeature FeatureType
 
- Public Types inherited from FeatureGenerator< Feature >
typedef Feature FeatureType
 The feature type generate by this generator.
 

Public Member Functions

void SetGeometry (unsigned int mw, unsigned int mh, unsigned int n)
 Width Height Channels.
 
void SetFeatureMinArea (int minArea)
 A constraint on minimum area of a feature (width x height > minArea)
 
void SetFeatureMinWidth (int minWidth)
 Set the minimum feature size.
 
void SetStep (int step)
 Set the search step.
 
void SetBorder (int border)
 Set a skip border.
 
unsigned int W () const
 Return the generator geometry.
 
unsigned int H () const
 
unsigned int N () const
 
unsigned int Size () const
 
void SetParams (int nchn, int w, int h)
 
- Public Member Functions inherited from FeatureGenerator< Feature >
virtual bool CanBePrecomputed () const
 Test if the feature generator can be precomputed. In this case Count must be valid.
 
virtual unsigned int Count () const =0
 return the count of feature available
 
virtual bool Next (Feature &out)=0
 return the next feature, or return false
 
virtual void Reset ()=0
 reset any interal counters
 

Public Attributes

unsigned int m_mw
 rectangle geometry
 
unsigned int m_mh
 
unsigned int m_nchannel
 number of channel
 
unsigned int m_minFeatArea
 dimensione minima
 
unsigned int m_minWidth
 min Width/Height
 
unsigned int m_step
 Search Step.
 
unsigned int m_border
 a Border where skip elements
 

Detailed Description

Base Feature Generator for IntegralChannelFeatureGenerators.


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