| Package | Description | 
|---|---|
| org.openimaj.feature | |
| org.openimaj.image.model.patch | |
| org.openimaj.lsh.functions | |
| org.openimaj.ml.clustering.assignment.soft | 
| Modifier and Type | Method and Description | 
|---|---|
| static DoubleFVComparison | DoubleFVComparison. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static DoubleFVComparison[] | DoubleFVComparison. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| double | DoubleFV. compare(DoubleFV h,
       DoubleFVComparison method)Compare this FV to another with the given method. | 
| double | MultidimensionalDoubleFV. compare(MultidimensionalDoubleFV h,
       DoubleFVComparison method)Compare this FV to another with the given method. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected DoubleFVComparison | HistogramPatchModel. compare | 
| Modifier and Type | Method and Description | 
|---|---|
| DoubleFVComparison | HistogramPatchModel. getComparisonMeasure() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | HistogramPatchModel. setComparisonMeasure(DoubleFVComparison compare)Set the comparison measure used. | 
| Constructor and Description | 
|---|
| HistogramPatchModel(int patchWidth,
                   int patchHeight,
                   DoubleFVComparison compare,
                   int... nbins)Construct with the given patch size, comparison measure and ]
 number of histogram bins per dimension. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected DoubleFVComparison | DoubleCauchyFactory. fvDistanceFunction() | 
| protected DoubleFVComparison | DoubleHyperplaneCosineFactory. fvDistanceFunction() | 
| protected abstract DoubleFVComparison | DoubleHashFunctionFactory. fvDistanceFunction() | 
| protected DoubleFVComparison | DoubleHyperplaneL1Factory. fvDistanceFunction() | 
| DoubleFVComparison | DoubleHammingFactory. fvDistanceFunction() | 
| protected DoubleFVComparison | DoubleGaussianFactory. fvDistanceFunction() | 
| Constructor and Description | 
|---|
| DoubleKNNAssigner(CentroidsProvider<double[]> provider,
                 DoubleFVComparison comparison,
                 int numNeighbours)Construct the assigner using the given cluster data and 
 distance function. | 
| DoubleKNNAssigner(double[][] data,
                 DoubleFVComparison comparison,
                 int numNeighbours)Construct the assigner using the given cluster data and 
 distance function. |