21 #ifndef _INTEGRAL_CHANNEL_FEATURE_GENERATORS_H
22 #define _INTEGRAL_CHANNEL_FEATURE_GENERATORS_H
62 void SetGeometry(
unsigned int mw,
unsigned int mh,
unsigned int n);
83 unsigned int W()
const {
86 unsigned int H()
const {
89 unsigned int N()
const {
92 unsigned int Size()
const {
96 void SetParams(
int nchn,
int w,
int h)
109 unsigned int m_featCount;
112 std::vector< rect> m_rects;
void SetGeometry(unsigned int mw, unsigned int mh, unsigned int n)
Width Height Channels.
Feature FeatureType
The feature type generate by this generator.
Definition: FeatureGenerator.h:41
A library able to generate any IC Feature.
Definition: IntegralChannelFeatureGenerators.h:108
Types involved in boosting.
unsigned int W() const
Return the generator geometry.
Definition: IntegralChannelFeatureGenerators.h:83
Definition: FeatureGenerator.h:36
void SetStep(int step)
Set the search step.
Definition: IntegralChannelFeatureGenerators.h:73
unsigned int m_border
a Border where skip elements
Definition: IntegralChannelFeatureGenerators.h:51
unsigned int m_step
Search Step.
Definition: IntegralChannelFeatureGenerators.h:48
unsigned int m_mw
rectangle geometry
Definition: IntegralChannelFeatureGenerators.h:36
bool Next(IntegralChannelFeature &out)
Provide a new feature, or return false.
void SetFeatureMinArea(int minArea)
A constraint on minimum area of a feature (width x height > minArea)
Definition: IntegralChannelFeatureGenerators.h:65
this file declare the virtual feature generator for Integral Channel Features
void SetBorder(int border)
Set a skip border.
Definition: IntegralChannelFeatureGenerators.h:78
void Reset()
reset any interal counters
Sum of a rectangular area, implemented on top of Integral Image.
Definition: IntegralChannelFeature.h:42
unsigned int Count() const
return the count of feature available
Definition: IntegralChannelFeatureGenerators.h:121
void SetFeatureMinWidth(int minWidth)
Set the minimum feature size.
Definition: IntegralChannelFeatureGenerators.h:69
This generator, instead of exhaustive, use a Random sampling approach.
Definition: IntegralChannelFeatureGenerators.h:130
unsigned int m_minFeatArea
dimensione minima
Definition: IntegralChannelFeatureGenerators.h:42
unsigned int Count() const
return the count of feature available
Definition: IntegralChannelFeatureGenerators.h:142
void Reset()
reset any interal counters
unsigned int m_nchannel
number of channel
Definition: IntegralChannelFeatureGenerators.h:39
unsigned int m_minWidth
min Width/Height
Definition: IntegralChannelFeatureGenerators.h:45
Base Feature Generator for IntegralChannelFeatureGenerators.
Definition: IntegralChannelFeatureGenerators.h:32