Structure

vImageRGBPrimaries

A structure that represents the chromaticity of primaries defining a color space.

Declaration

struct vImageRGBPrimaries

Overview

The chromaticity of each color primary RGB, and the white point, is defined by the x and y values according to the CIE 1931 color space.

Topics

Initializers

init(red_x: Float, green_x: Float, blue_x: Float, white_x: Float, red_y: Float, green_y: Float, blue_y: Float, white_y: Float)

Creates a structure that represents the specified chromaticity of primaries defining a color space.

Color Primary Properties

var red_x: Float

The red x value according to the CIE 1931 color space.

var green_x: Float

The green x value according to the CIE 1931 color space.

var blue_x: Float

The blue x value according to the CIE 1931 color space.

var white_x: Float

The white point x value according to the CIE 1931 color space.

var red_y: Float

The red y value according to the CIE 1931 color space.

var green_y: Float

The green y value according to the CIE 1931 color space.

var blue_y: Float

The blue y value according to the CIE 1931 color space.

var white_y: Float

The white point y value according to the CIE 1931 color space.

See Also

Creating Core Graphics Image Formats

struct vImage_CGImageFormat

The description of a Core Graphics image.

struct vImageWhitePoint

A structure that represents a white point according to the CIE 1931 color space.

struct vImageTransferFunction

A structure that represents a transfer function to convert from linear to nonlinear RGB.