vImageRGBPrimaries
A representation of the chromaticity of primaries that define a color space.
Declaration
struct vImageRGBPrimariesOverview
The x and y values define the chromaticity of each color primary RGB and the white point according to the CIE 1931 color space. For example, the following code defines the RGB primaries for ITU-R BT.709-5:
var rgbPrimaries = vImageRGBPrimaries(
red_x: 0.64,
green_x: 0.3,
blue_x: 0.15,
white_x: 0.3127,
red_y: 0.33,
green_y: 0.6,
blue_y: 0.06,
white_y: 0.329)