- All Known Implementing Classes:
- CieXyzConverter, ClutProfileConverter, GrayProfileConverter, GrayScaleConverter, LinearRGBConverter, PyccConverter, RgbProfileConverter, SrgbConverter
- public interface ColorSpaceConverter
ColorSpaceConverter - used by java.awt.color.ICC_ColorSpace
Color space conversion can occur in several ways:
-Directly (for the built in spaces sRGB, linear RGB, gray, CIE XYZ and PYCC
-ICC_ProfileRGB works through TRC curves and a matrix
-ICC_ProfileGray works through a single TRC
-Everything else is done through Color lookup tables.
The different conversion methods are implemented through
an interface. The built-in colorspaces are implemented directly
with the relevant conversion equations.
In this way, we hopefully will always use the fastest and most
accurate method available.
toCIEXYZ
public float[] toCIEXYZ(float[] in)
fromCIEXYZ
public float[] fromCIEXYZ(float[] in)
toRGB
public float[] toRGB(float[] in)
fromRGB
public float[] fromRGB(float[] in)