public static enum HueStats.ToneAttr extends Enum<HueStats.ToneAttr>
Enum Constant and Description |
---|
BLACK_AND_WHITE
Black and white image.
|
COLOR
Colour image
|
SEPIA
Sepia toned image.
|
Modifier and Type | Method and Description |
---|---|
static HueStats.ToneAttr |
getAttr(double mean,
double var)
Estimate the tone from the given mean and variance of the hue.
|
static HueStats.ToneAttr |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HueStats.ToneAttr[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HueStats.ToneAttr SEPIA
public static final HueStats.ToneAttr BLACK_AND_WHITE
public static final HueStats.ToneAttr COLOR
public static HueStats.ToneAttr[] values()
for (HueStats.ToneAttr c : HueStats.ToneAttr.values()) System.out.println(c);
public static HueStats.ToneAttr 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 static HueStats.ToneAttr getAttr(double mean, double var)
mean
- the mean huevar
- the variance in hue