public enum ColorSpace extends Enum<ColorSpace> implements MediaEnumerationValue
Specifies a kind of color space, such as "RGB" or "YCrCb". For more information, see the
Enum Constant Summary
Enum Constant and Description
CMYK
HSI
HSV
RGB
YCrCb
YDrDb
YIQ
YUV
Method Summary
Modifier and Type
Method and Description
StringcolorSpaceName()
Stringsymbol()
longvalue()
static ColorSpacevalueOf(String name)
static ColorSpace[]values()
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface tv.amwa.maj.industry.MediaEnumerationValue
name
public static final ColorSpace RGB
Uses additive color mixing to describe what kind of light needs to be emitted to produce a given color.
public static final ColorSpace YUV
Used in PAL television representing a luminance value with two
chrominance values. Similar to YIQ except it is rotated through 33 degrees.
public static final ColorSpace YIQ
Formerly used in NTSC television broadcasts representing a luminance value with two chrominance values, corresponding approximately to the amounts of blue and red in the color.
public static final ColorSpace HSI
Hue, saturation and intensity with the lightness of a pure color equal to the lightness of a medium gray.
public static final ColorSpace HSV
Hue, saturation and value with the lightness of a pure color equal to the brightness of white.
public static final ColorSpace YCrCb
Family of color spaces used in video and digital photography with Y representing the luma component, Cr the the color difference red component and Cb the color different blue component. YCrCb provides an efficient means for the representation and transmission of RGB color data.
public static final ColorSpace YDrDb
public static final ColorSpace CMYK
Uses subtractive color mixing as it describes what kind of inks need to be applied so the light reflected from the substrate and through the inks to produce a given color.
public static ColorSpace[] values()
for (ColorSpace c : ColorSpace.values()) System.out.println(c);
public static ColorSpace valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Int64 public long value()
MediaEnumerationValueReturns the unique integer value associated with an enumeration value, either according to the AAF specification and/or the current AAF meta dictionary.
value in interface MediaEnumerationValuepublic String colorSpaceName()
Returns the name of this color space, for example "RGB".
public String symbol()
MediaEnumerationValueProvides a name for the enumeration value that can be used in XML serialisation. The name is unique within the namespace of the owning type.
As an example, the ChannelStatusModeType value ChannelStatusModeType.Fixed
value has the name "Fixed" and symbol "ChannelStatusMode_Fixed".
symbol in interface MediaEnumerationValue(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.