|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HistogramCorrelation
Defines an implementation of a histogram correlation or distance measure.
Method Summary | |
---|---|
double |
correlation(Histogram thisHistogram,
int displacement,
Histogram otherHistogram)
The implementation of a histogram correlation or distance measure. |
void |
plotCorrelation(Histogram thisHistogram,
int displacement,
Histogram otherHistogram,
java.lang.String fileName,
java.lang.String title)
Plots two histograms and the intersection between the two. |
Method Detail |
---|
double correlation(Histogram thisHistogram, int displacement, Histogram otherHistogram)
thisHistogram
- the first histogramdisplacement
- the value to displace the otherHistogram (e.g. for optimal
correlation, minimum distance between the two)otherHistogram
- the second (not displaced) histogram
void plotCorrelation(Histogram thisHistogram, int displacement, Histogram otherHistogram, java.lang.String fileName, java.lang.String title)
thisHistogram
- the first histogramdisplacement
- the value to displace the otherHistogram (e.g. for optimal
correlation between the two)otherHistogram
- the second (not displaced) histogramfileName
- Where to save the plot.title
- The title of the plot.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |