public static enum RGBToHSXConverter.ColorChannel extends Enum<RGBToHSXConverter.ColorChannel>
Enum Constant and Description |
---|
BLUE
Blue Color Channel.
|
BRIGHTNESS
Brightness Color Channel.
|
GREEN
Green Color Channel.
|
HUE
Hue Color Channel.
|
INTENSITY
Intensity Color Channel.
|
RED
Red Color Channel.
|
SATURATION
Saturation Color Channel.
|
VALUE
Value Color Channel.
|
Modifier and Type | Field and Description |
---|---|
private int |
index |
private int |
max |
private int |
min |
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
The index of this channel.
|
int |
getMax()
The maximum value of this channel.
|
int |
getMin()
The minimum value of this channel.
|
static RGBToHSXConverter.ColorChannel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RGBToHSXConverter.ColorChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RGBToHSXConverter.ColorChannel RED
public static final RGBToHSXConverter.ColorChannel GREEN
public static final RGBToHSXConverter.ColorChannel BLUE
public static final RGBToHSXConverter.ColorChannel HUE
public static final RGBToHSXConverter.ColorChannel SATURATION
public static final RGBToHSXConverter.ColorChannel INTENSITY
public static final RGBToHSXConverter.ColorChannel VALUE
public static final RGBToHSXConverter.ColorChannel BRIGHTNESS
public static RGBToHSXConverter.ColorChannel[] values()
for (RGBToHSXConverter.ColorChannel c : RGBToHSXConverter.ColorChannel.values()) System.out.println(c);
public static RGBToHSXConverter.ColorChannel 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 int getIndex()
public int getMin()
public int getMax()
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.