|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.color.ICC_Profile
java.awt.color.ICC_ProfileGray
public class ICC_ProfileGray
ICC_ProfileGray - a special case of ICC_Profiles. The ICC_Profile.getInstance() method will return an instance of the ICC_ProfileGray subclass when all the following conditions are met: The device color space of the profile is TYPE_GRAY. The profile contains a gray TRCTag. The profile contains a mediaWhitePointTag. As per the ICC specification, the color space conversion can then be done through the following method: linearGray = grayTRC[deviceGray] Note that if the profile contains a CLUT for the color space conversion, it should be used instead, and the TRC information ignored.
Field Summary |
---|
Method Summary | |
---|---|
float |
getGamma()
Returns the TRC gamma value. |
float[] |
getMediaWhitePoint()
Returns the media white point of the profile. |
short[] |
getTRC()
Returns the TRC lookup table. |
Methods inherited from class java.awt.color.ICC_Profile |
---|
finalize, getColorSpaceType, getData, getData, getInstance, getInstance, getInstance, getInstance, getMajorVersion, getMinorVersion, getNumComponents, getPCSType, getProfileClass, readResolve, 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()
ProfileDataException
- if the TRC is described by a lookup
table and not a gamma value.public short[] getTRC()
ProfileDataException
- if the TRC is described by a gamma value
and not a lookup table.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |