public class CIELAB extends ColorSpaceDescriptor
CIE L*a*b* (CIELAB) is the most complete color model used conventionally to describe all the colors visible to the human eye. It was developed for this specific purpose by the International Commission on Illumination (Commission Internationale d'Eclairage, hence its CIE initialism). The * after L, a and b are part of the full name, since they represent L*, a* and b*, derived from L, a and b.
The three parameters in the model represent the lightness of the color (L*, L*=0 yields black and L*=100 indicates white), its position between magenta and green (a*, negative values indicate green while positive values indicate magenta) and its position between yellow and blue (b*, negative values indicate blue and positive values indicate yellow).
CIE 1976 L*a*b* is based directly on the CIE 1931 XYZ color space as an attempt to linearize the perceptibility of color differences, using the color difference metric described by the MacAdam ellipse. The non-linear relations for L*, a*, and b* are intended to mimic the logarithmic response of the eye. Coloring information is referred to the color of the white point of the system, subscript n.
The ISBN for "Measuring Color" is 0-86343-387-1.Constructor and Description |
---|
CIELAB(CIEColor color)
Creates a new instance of CIELAB
|
Modifier and Type | Method and Description |
---|---|
double |
get_aStar()
Getter for aStar, the color value on a red-green axis.
|
double |
get_bStar()
Getter for bStar, the color value on a blue-yellow axis.
|
double |
getChroma()
Getter for chroma, the intensity or saturation level of a particular hue,
defined as the of departure of a chromatic color from the neutral (gray)
color with the same value.
|
static ColorSpaceValue[] |
getColorSpaceValues()
Returns an array of ColorSpaceValue objects, each of which can be
displayed in a widget (e.g.
|
double |
getHue()
Getter for hue, the value of color by means of which a color is perceived
to be red, yellow, green, blue, purple, etc.
|
double |
getLStar()
Getter for LStar, the value that represents luminance or lightness.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
getAllColorSpaceDescriptors
public CIELAB(CIEColor color) throws ColorConversionException
color
- the CIEColor base color class.ColorConversionException
- is thrown when a problem occurs attempting to convert from one color
space to another.public double getLStar()
public double get_aStar()
public double get_bStar()
public double getHue()
public double getChroma()
public static ColorSpaceValue[] getColorSpaceValues()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2004-2006 Ocean Optics, Inc. All Rights Reserved.