ColorSpace
to enable ColorModel
for image data which do not have an innate color representation.
Access | Constructor and Description |
---|---|
public | BogusColorSpace(int
The number of components in the
numComponents)ColorSpace .Constructs a bogus |
Modifier and Type | Method and Description |
---|---|
public float[] | fromCIEXYZ(float[]
a float array with length of at least 3 xyzvalue)Implements abstract java. Transforms a color value assumed to be in the |
public float[] | fromRGB(float[]
a float array with length of at least 3 rgbvalue)Implements abstract java. Transforms a color value assumed to be in the default |
private static int | getType(int
The number of components in the
numComponents)ColorSpace .Return the type given the number of components. |
public float[] | toCIEXYZ(float[]
a float array with length of at least the number of
components in this colorvalue)ColorSpace Implements abstract java. Transforms a color value assumed to be in this |
public float[] | toRGB(float[]
a float array with length of at least the number of
components in this colorvalue)ColorSpace Implements abstract java. Transforms a color value assumed to be in this |
BogusColorSpace | back to summary |
---|---|
public BogusColorSpace(int numComponents) Constructs a bogus
|
fromCIEXYZ | back to summary |
---|---|
public float[] fromCIEXYZ(float[] xyzvalue) Implements abstract java. Doc from java. Transforms a color value assumed to be in the
This method transforms color values using relative colorimetry, as
defined by the International Color Consortium standard. This means that
the XYZ argument values taken by this method are represented relative to
the D50 white point of the
|
fromRGB | back to summary |
---|---|
public float[] fromRGB(float[] rgbvalue) Implements abstract java. Doc from java. Transforms a color value assumed to be in the default
This method transforms color values using algorithms designed to produce
the best perceptual match between input and output colors. In order to do
colorimetric conversion of color values, you should use the
|
getType | back to summary |
---|---|
private static int getType(int numComponents) Return the type given the number of components.
|
toCIEXYZ | back to summary |
---|---|
public float[] toCIEXYZ(float[] colorvalue) Implements abstract java. Doc from java. Transforms a color value assumed to be in this
This method transforms color values using relative colorimetry, as
defined by the International Color Consortium standard. This means that
the XYZ values returned by this method are represented relative to the
D50 white point of the
|
toRGB | back to summary |
---|---|
public float[] toRGB(float[] colorvalue) Implements abstract java. Doc from java. Transforms a color value assumed to be in this
This method transforms color values using algorithms designed to produce
the best perceptual match between input and output colors. In order to do
colorimetric conversion of color values, you should use the
|