public static enum ColourDescriptor.ColourDescriptorType extends Enum<ColourDescriptor.ColourDescriptorType>
ColourDescriptor
computes them all.Enum Constant and Description |
---|
MEAN
The mean colour.
|
MEDIAN
The median colour.
|
MODE
The modal colour.
|
RANGE
The range of the colours in the image.
|
VARIANCE
The variance of the colours in the image.
|
Modifier and Type | Method and Description |
---|---|
abstract DoubleFV |
getFeatureVector(ColourDescriptor desc)
Extract the feature for the given descriptor.
|
static ColourDescriptor.ColourDescriptorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColourDescriptor.ColourDescriptorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColourDescriptor.ColourDescriptorType MEAN
public static final ColourDescriptor.ColourDescriptorType MODE
public static final ColourDescriptor.ColourDescriptorType MEDIAN
public static final ColourDescriptor.ColourDescriptorType RANGE
public static final ColourDescriptor.ColourDescriptorType VARIANCE
public static ColourDescriptor.ColourDescriptorType[] values()
for (ColourDescriptor.ColourDescriptorType c : ColourDescriptor.ColourDescriptorType.values()) System.out.println(c);
public static ColourDescriptor.ColourDescriptorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract DoubleFV getFeatureVector(ColourDescriptor desc)
desc
- the descriptor to extract from