Package | Description |
---|---|
org.gicentre.utils.colour |
Colour-related utilities for use with Processing.
|
Modifier and Type | Method and Description |
---|---|
static ColourConverter.WhitePoint |
ColourConverter.WhitePoint.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColourConverter.WhitePoint[] |
ColourConverter.WhitePoint.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static double[] |
ColourConverter.getLab(java.awt.Color colour,
ColourConverter.WhitePoint wp)
Finds the CIELab triplet representing the given colour.
|
static double[] |
ColourConverter.getLuv(java.awt.Color colour,
ColourConverter.WhitePoint wp)
Finds the CIELuv triplet representing the given colour.
|
static double[] |
ColourConverter.labToRGB(double L,
double a,
double b,
ColourConverter.WhitePoint wp)
Finds the colour corresponding to the given CIELab triplet.
|
static double[] |
ColourConverter.luvToRGB(double L,
double u,
double v,
ColourConverter.WhitePoint wp)
Finds the colour corresponding to the given CIELuv triplet.
|
Constructor and Description |
---|
CIELab(ColourConverter.WhitePoint wp)
Creates a CIELab converter using the given reference calibration settings.
|