public interface Classifier
| Modifier and Type | Method and Description |
|---|---|
float |
classify(SummedSqTiltAreaTable sat,
float wvNorm,
int x,
int y)
Get the classification score for the window at (x, y) with the size
defined by scale.
|
void |
updateCaches(StageTreeClassifier cascade)
Update the caches for a given scale (given by the
cachedScale of the StageTreeClassifier). |
float classify(SummedSqTiltAreaTable sat, float wvNorm, int x, int y)
sat - the summed area tables (integral images)wvNorm - the normalisation based on the current window variancex - the x-ordinate of the top-left of the window being testedy - the y-ordinate of the top-left of the window being testedvoid updateCaches(StageTreeClassifier cascade)
cachedScale of the StageTreeClassifier).cascade - the tree of stages