|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.color.ICC_Profile | +--java.awt.color.ICC_ProfileGray
ICC_Profile.getInstance(byte[])
method will
return an ICC_ProfileGray object when the above conditions are
met. The advantage of this class is that it provides a lookup
table that Java or native methods may be able to use directly to
optimize color conversion in some cases.
To transform from a GRAY device profile color space to the CIEXYZ Profile Connection Space, the device gray component is transformed by a lookup through the tone reproduction curve (TRC). The result is treated as the achromatic component of the PCS.
PCSY = grayTRC[deviceGray]The inverse transform is done by converting the PCS Y components to device Gray via the inverse of the grayTRC.
Method Summary | |
float | getGamma()
Returns a gamma value representing the tone reproduction curve (TRC). |
float[] | getMediaWhitePoint()
Returns a float array of length 3 containing the X, Y, and Z components of the mediaWhitePointTag in the ICC profile. |
short[] | getTRC()
Returns the TRC as an array of shorts. |
Methods inherited from class java.awt.color.ICC_Profile | |
finalize , getColorSpaceType , getData , getData , getInstance , getInstance , getInstance , getInstance , getMajorVersion , getMinorVersion , getNumComponents , getPCSType , getProfileClass , setData , write , write |
Methods inherited from class java.lang.Object | |
clone , equals , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
Method Detail |
public float[] getMediaWhitePoint()
public float getGamma()
gamma PCSY = deviceGray
public short[] getTRC()
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |