integralhistogram
Interface HistDistance
- All Known Implementing Classes:
- HistogramDistance
public interface HistDistance
generic interface for an histograms distance's computing class.
histogram distance is the heart of the search process and you will decide the matching politic by implementing this class.
(we used the histograms bins's distance, check it out, we called it: HistogramDistance)
- Author:
- Giovanni Tarducci,Alessio Barducci
Method Summary |
float |
computeDistance(float binIntersectionValue,
int bin)
|
void |
init()
use init() method to initialize your varibles (this method have to be called at every new histogram intersection test) |
computeDistance
float computeDistance(float binIntersectionValue,
int bin)
- Parameters:
binIntersectionValue
- current bin's intersection value (computed with the Integral Histogram method)bin
- current bin
- Returns:
- float
return the updated distance
init
void init()
- use init() method to initialize your varibles (this method have to be called at every new histogram intersection test)
processing library integralhistogram by Giovanni Tarducci, Alessio Barducci. (c) 2009