public class ColorSpaceLab extends ColorSpace
CS_CIEXYZ, CS_GRAY, CS_LINEAR_RGB, CS_PYCC, CS_sRGB, TYPE_2CLR, TYPE_3CLR, TYPE_4CLR, TYPE_5CLR, TYPE_6CLR, TYPE_7CLR, TYPE_8CLR, TYPE_9CLR, TYPE_ACLR, TYPE_BCLR, TYPE_CCLR, TYPE_CMY, TYPE_CMYK, TYPE_DCLR, TYPE_ECLR, TYPE_FCLR, TYPE_GRAY, TYPE_HLS, TYPE_HSV, TYPE_Lab, TYPE_Luv, TYPE_RGB, TYPE_XYZ, TYPE_YCbCr, TYPE_Yxy
Constructor and Description |
---|
ColorSpaceLab()
Default Constructor.
|
ColorSpaceLab(PDTristimulus whitept,
PDTristimulus blackpt,
PDRange a,
PDRange b)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
float[] |
fromCIEXYZ(float[] colorvalue) |
float[] |
fromRGB(float[] rgbvalue) |
float[] |
toCIEXYZ(float[] colorvalue) |
float[] |
toRGB(float[] colorvalue) |
getInstance, getMaxValue, getMinValue, getName, getNumComponents, getType, isCS_sRGB
public ColorSpaceLab()
public ColorSpaceLab(PDTristimulus whitept, PDTristimulus blackpt, PDRange a, PDRange b)
whitept
- whitepoint valuesblackpt
- blackpoint valuesa
- range for value ab
- range for value bpublic float[] toRGB(float[] colorvalue)
toRGB
in class ColorSpace
public float[] fromRGB(float[] rgbvalue)
fromRGB
in class ColorSpace
public float[] toCIEXYZ(float[] colorvalue)
toCIEXYZ
in class ColorSpace
public float[] fromCIEXYZ(float[] colorvalue)
fromCIEXYZ
in class ColorSpace
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.