#include <Histogram.h>
Inheritance diagram for prapi::IntegerHistogram:

Public Methods | |
| IntegerHistogram (int length=0) | |
| Create a new IntegerHistogram feature extractor with the maximum length of histogram set to length. | |
| List< int > | getFeatureVector (const Matrix< int > &mat) throw (FeatureExtractionException&) |
| Create the histogram. | |
| void | setLength (int length) |
| Set the length of the produced histograms. | |
| int | getLength (void) const |
| Get the length of the histograms this extractor produces. | |
|
|
Create a new IntegerHistogram feature extractor with the maximum length of histogram set to length. If the length is not set, then the length of the produced histograms will equal to maximum value found in an matrix plus one. |
|
|
Set the length of the produced histograms. 0 = automatic. If a value larger than length is found in the matrix, the length of the histogram will exceed length. |