|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ColorSpace>
tv.amwa.maj.enumeration.ColorSpace
public enum ColorSpace
Specifies a kind of color space, such as "RGB" or "YCrCb". For more information, see the Richard Cartwright
Enum Constant Summary | |
---|---|
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. |
|
HSI
Hue, saturation and intensity with the lightness of a pure color equal to the lightness of a medium gray. |
|
HSV
Hue, saturation and value with the lightness of a pure color equal to the brightness of white. |
|
RGB
Uses additive color mixing to describe what kind of light needs to be emitted to produce a given color. |
|
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. |
|
YDrDb
|
|
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. |
|
YUV
Used in PAL television representing a luminance value with two chrominance values. |
Method Summary | |
---|---|
String |
colorSpaceName()
Returns the name of this color space, for example "RGB". |
long |
value()
Returns the unique integer value associated with an enumeration value, either according to the AAF specification and/or the current AAF meta dictionary. |
static ColorSpace |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ColorSpace[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface tv.amwa.maj.enumeration.AAFEnumerationValue |
---|
name |
Enum Constant Detail |
---|
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.
Method Detail |
---|
public static final 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 name@Int64 public long value()
AAFEnumerationValue
Returns 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 AAFEnumerationValue
public String colorSpaceName()
Returns the name of this color space, for example "RGB".
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |