public interface FeatureToWordHistogram<Desc extends boofcv.struct.feature.TupleDesc>
process() is called and the histogram computed. The returned histogram
will be normalized such that it sums up to one. This normalization makes it more tolerant to images of
different sized and sampling frequency. Call reset() when the next image is ready.| Modifier and Type | Method and Description |
|---|---|
void |
addFeature(Desc feature)
Adds a feature to the histogram
|
double[] |
getHistogram()
Histogram of word frequencies.
|
int |
getTotalWords()
Number of elements in the histogram.
|
void |
process()
No more features are being added.
|
void |
reset()
Must be called before
addFeature(boofcv.struct.feature.TupleDesc) is called. |
void reset()
addFeature(boofcv.struct.feature.TupleDesc) is called.void addFeature(Desc feature)
feature - A feature which is to be matched to words. Not modified.void process()
double[] getHistogram()
int getTotalWords()