1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! Defines the named standard illuminants for both 2 and 10 degree observers
//!
//! White point is used in many situations when dealing with color, as color perception changes
//! depending on the lighting of the object being viewed. A white point is needed to define
//! a color space (and thus go to XYZ) as well as to go from XYZ to Lab and Luv.
//!
//! CIE defines two "standard observers", which are used to construct the XYZ space. The 2 degree
//! observer is the most often used, and corresponds to the perception in the center 2 degree field
//! of view of the eye. A later 10 degree observer was created to model perception in a 10 degree
//! field of view excluding the inner 2 degrees. It is recommended for use when a larger field of view
//! needs to be considered. The 2 degree observer white points are re-exported. Note that the 2 and 10
//! degree standard observers use fundamentally different color-matching functions, which means that
//! they yield different XYZ spaces. It is not valid (without spectrographic data) to convert between
//! a 2 degree standard observer XYZ space and a 10 degree standard observer XYZ space.
//!
//! The standard illuminants are slightly different between the two, so prisma provides two modules
//! containing them `deg_2` and `deg_10`. If you don't know which to use, use `deg_2`.
use crateXyY;
use crateXyz;
/// A named standard illuminant, expressed as XYZ coordinates
/// A `WhitePoint` which carries no data
pub use *;