Interface IHistoComparator
-
- All Known Implementing Classes:
BhattacharyyaHistoComparator
,CorrelationHistoComparator
,IntersectionHistoComparator
public interface IHistoComparator
The interface for classes that compare histograms.- Author:
- Dustin Kempton, Data Mining Lab, Georgia State University
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
compareHist(int[] hist1, int[] hist2)
Compares two single dimensional histograms and returns the value computed by their comparison.float
compareHists(int[][] hists1, int[][] hists2)
Compares two multi-dimensional histograms and returns the value computed by their comparison.
-
-
-
Method Detail
-
compareHist
float compareHist(int[] hist1, int[] hist2)
Compares two single dimensional histograms and returns the value computed by their comparison.- Parameters:
hist1
- The first histogram in the comparison.hist2
- The second histogram in the comparison.- Returns:
- The value computed by the comparison of the two input histograms.
-
compareHists
float compareHists(int[][] hists1, int[][] hists2)
Compares two multi-dimensional histograms and returns the value computed by their comparison.- Parameters:
hists1
- The first histogram in the comparison.hists2
- The second histogram in the comparison.- Returns:
- The value computed by the comparison of the two input histograms.
-
-