Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.java.awt.color
Interface ColorSpaceConverter  view ColorSpaceConverter download ColorSpaceConverter.java

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.


Method Summary
 float[] fromCIEXYZ(float[] in)
           
 float[] fromRGB(float[] in)
           
 float[] toCIEXYZ(float[] in)
           
 float[] toRGB(float[] in)
           
 

Method Detail

toCIEXYZ

public float[] toCIEXYZ(float[] in)

fromCIEXYZ

public float[] fromCIEXYZ(float[] in)

toRGB

public float[] toRGB(float[] in)

fromRGB

public float[] fromRGB(float[] in)