|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CorrelationMeasure>
be.hogent.tarsos.util.histogram.CorrelationMeasure
public enum CorrelationMeasure
Defines a correlation measure for histograms. See On measuring the distance between histograms: Sung-Hyuk Chaa, Sargur N. Sriharib (2002) CorrelationMeasure is a bit of a strange name: also distance measures are defined. Side note: java enums are nice.
Enum Constant Summary | |
---|---|
BHATTACHARYA
Another distance measure, with an impressive sounding name... |
|
CITY_BLOCK
Is a distance measure using city block distances. |
|
CROSSCORRELATION
Another correlation measure, seems to work also, TODO Write better description. |
|
EUCLIDEAN
A direct euclidean distance. |
|
INTERSECTION
The intersection computes the matching areas under the curve. |
Method Summary | |
---|---|
HistogramCorrelation |
getHistogramCorrelation()
|
static CorrelationMeasure |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CorrelationMeasure[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CorrelationMeasure CITY_BLOCK
public static final CorrelationMeasure EUCLIDEAN
public static final CorrelationMeasure INTERSECTION
public static final CorrelationMeasure BHATTACHARYA
public static final CorrelationMeasure CROSSCORRELATION
Method Detail |
---|
public static CorrelationMeasure[] values()
for (CorrelationMeasure c : CorrelationMeasure.values()) System.out.println(c);
public static CorrelationMeasure valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic HistogramCorrelation getHistogramCorrelation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |