public final class BhattacharyaDistance extends java.lang.Object implements HistogramCorrelation
Constructor and Description |
---|
BhattacharyaDistance() |
Modifier and Type | Method and Description |
---|---|
double |
correlation(Histogram first,
int displacement,
Histogram second)
The implementation of a histogram correlation or distance measure.
|
public double correlation(Histogram first, int displacement, Histogram second)
HistogramCorrelation
correlation
in interface HistogramCorrelation
first
- the first histogramdisplacement
- the value to displace the otherHistogram (e.g. for optimal
correlation, minimum distance between the two)second
- the second (not displaced) histogram