|
X-Boost
2.3.8
|
This generator, instead of exhaustive, use a Random sampling approach. More...
#include <HaarFeatureGenerators.h>
Inherits FeatureGenerator< Feature >.
Public Types | |
| typedef HaarFeature | FeatureType |
Public Types inherited from FeatureGenerator< Feature > | |
| typedef Feature | FeatureType |
| The feature type generate by this generator. | |
Public Member Functions | |
| JointSparseGranularFeatureGenerator (int n) | |
| unsigned int | Count () const |
| return the count of feature available | |
| void | SetGeometry (int mw, int mh) |
| void | SetFeatureMinArea (int minArea) |
| A constraint on minimum area of a feature (width x height > minArea) | |
| void | SetStep (int step) |
| searching step | |
| void | SetBorder (int border) |
| set a border around patch (in Haar normally have not meaning) | |
| unsigned int | W () const |
| Return the generator geometry. | |
| unsigned int | H () const |
| bool | Next (HaarFeature &out) |
| generate a Random Feature | |
| void | Reset () |
| reset any interal counters | |
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 | |
This generator, instead of exhaustive, use a Random sampling approach.
1.8.7