Learn R Programming

SpecHelpers (version 0.2.7)

getGamutValues: Look up gamut and white point values in the 1931 CIE system

Description

These functions provide a simple way of storing white point and gamut data for use in drawing CIE chromaticity diagrams.

Usage

getGamutValues(gamut)

getWhiteValues(white)

Arguments

gamut

A character string giving the name of the desired gamut. One of c("Apple", "CIE", "Adobe", "sRGB", "NTSC", "SWOP").

white

The desired white point value. One of c("D65", "E", "C", "D50").

Value

A data frame with columns x, y containing the vertices of the requested gamut in CIE chromaticity coordinates, or, for a white point, a data frame containing the coordinates of the requested white point.

See Also

plotCIEchrom for examples of this function in use.