org.dcm4che2.image
Class SimpleYBRColorSpace

java.lang.Object
  extended by java.awt.color.ColorSpace
      extended by org.dcm4che2.image.SimpleYBRColorSpace
All Implemented Interfaces:
java.io.Serializable

public final class SimpleYBRColorSpace
extends java.awt.color.ColorSpace

Version:
$Revision$ $Date$
Author:
gunter.zeilinger@tiani.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.color.ColorSpace
CS_CIEXYZ, CS_GRAY, CS_LINEAR_RGB, CS_PYCC, CS_sRGB, TYPE_2CLR, TYPE_3CLR, TYPE_4CLR, TYPE_5CLR, TYPE_6CLR, TYPE_7CLR, TYPE_8CLR, TYPE_9CLR, TYPE_ACLR, TYPE_BCLR, TYPE_CCLR, TYPE_CMY, TYPE_CMYK, TYPE_DCLR, TYPE_ECLR, TYPE_FCLR, TYPE_GRAY, TYPE_HLS, TYPE_HSV, TYPE_Lab, TYPE_Luv, TYPE_RGB, TYPE_XYZ, TYPE_YCbCr, TYPE_Yxy
 
Method Summary
static java.awt.color.ColorSpace createYBRFullColorSpace(java.awt.color.ColorSpace rgbCS)
           
static java.awt.color.ColorSpace createYBRPartialColorSpace(java.awt.color.ColorSpace rgbCS)
           
 boolean equals(java.lang.Object o)
           
 float[] fromCIEXYZ(float[] xyzvalue)
           
 float[] fromRGB(float[] rgb)
           
 int hashCode()
           
static void main(java.lang.String[] args)
           
 float[] toCIEXYZ(float[] colorvalue)
           
 float[] toRGB(float[] ybr)
           
 
Methods inherited from class java.awt.color.ColorSpace
getInstance, getMaxValue, getMinValue, getName, getNumComponents, getType, isCS_sRGB
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createYBRFullColorSpace

public static java.awt.color.ColorSpace createYBRFullColorSpace(java.awt.color.ColorSpace rgbCS)

createYBRPartialColorSpace

public static java.awt.color.ColorSpace createYBRPartialColorSpace(java.awt.color.ColorSpace rgbCS)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toRGB

public float[] toRGB(float[] ybr)
Specified by:
toRGB in class java.awt.color.ColorSpace

fromRGB

public float[] fromRGB(float[] rgb)
Specified by:
fromRGB in class java.awt.color.ColorSpace

toCIEXYZ

public float[] toCIEXYZ(float[] colorvalue)
Specified by:
toCIEXYZ in class java.awt.color.ColorSpace

fromCIEXYZ

public float[] fromCIEXYZ(float[] xyzvalue)
Specified by:
fromCIEXYZ in class java.awt.color.ColorSpace

main

public static void main(java.lang.String[] args)


Copyright © 2011 dcm4che. All Rights Reserved.