- All Implemented Interfaces:
Illuminant
,Serializable
,Comparable<StandardIlluminant>
,java.lang.constant.Constable
Enumeration of selected standard illuminants. See Sec. 14.1.3 of [1] for details.
[1] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction, 3rd ed, Springer (2022).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIncandescent tungsten (2856K).Obsolete, direct sunlight at noon (4874K).Obsolete, north sky daylight (6774K).D50 standard illuminant (5000K).D55 standard illuminant (5500K).D65 standard illuminant used for television and sRGB color space (6500K).D75 standard illuminant (7500K).Narrow Band White Fluorescent (4000K).Cool White Fluorescent CWF (4200K).Broad-Band Daylight Fluorescent (6500K).Equal energy illuminant, neutral point (5400K). -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
getXy()
Returns the illuminant's 2D coordinate in 2D CIE-xy space.double[]
getXYZ()
Returns the illuminant's 3D coordinate in CIE-XYZ color space.static StandardIlluminant
Returns the enum constant of this type with the specified name.static StandardIlluminant[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
N
Equal energy illuminant, neutral point (5400K). -
D50
D50 standard illuminant (5000K). -
D55
D55 standard illuminant (5500K). -
D65
D65 standard illuminant used for television and sRGB color space (6500K). -
D75
D75 standard illuminant (7500K). -
A
Incandescent tungsten (2856K). -
B
Obsolete, direct sunlight at noon (4874K). -
C
Obsolete, north sky daylight (6774K). -
F2
Cool White Fluorescent CWF (4200K). -
F7
Broad-Band Daylight Fluorescent (6500K). -
F11
Narrow Band White Fluorescent (4000K).
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getXYZ
Description copied from interface:Illuminant
Returns the illuminant's 3D coordinate in CIE-XYZ color space.- Specified by:
getXYZ
in interfaceIlluminant
- Returns:
- the XYZ-coordinate
-
getXy
Description copied from interface:Illuminant
Returns the illuminant's 2D coordinate in 2D CIE-xy space.- Specified by:
getXy
in interfaceIlluminant
- Returns:
- the xy-coordinate
-