|
X-Boost
2.3.8
|
This generator, instead of exhaustive, use a Random sampling approach. More...
#include <IntegralChannelFeatureGenerators.h>
Inherits BaseIntegralChannelFeatureGenerator.
Public Member Functions | |
| RandomIntegralChannelFeatureGenerator (int nFeat) | |
| unsigned int | Count () const |
| return the count of feature available | |
| bool | Next (IntegralChannelFeature &out) |
| void | Reset () |
| reset any interal counters | |
Public Member Functions inherited from BaseIntegralChannelFeatureGenerator | |
| 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 bool | Next (Feature &out)=0 |
| return the next feature, or return false | |
Additional Inherited Members | |
Public Types inherited from BaseIntegralChannelFeatureGenerator | |
| typedef IntegralChannelFeature | FeatureType |
Public Types inherited from FeatureGenerator< Feature > | |
| typedef Feature | FeatureType |
| The feature type generate by this generator. | |
Public Attributes inherited from BaseIntegralChannelFeatureGenerator | |
| 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 | |
This generator, instead of exhaustive, use a Random sampling approach.
1.8.7