Learn R Programming

SpecHelpers (version 0.3.1)

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)

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.

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").

Author

Bryan A. Hanson, DePauw University. hanson@depauw.edu

See Also

plotCIEchrom for examples of this function in use.