xyY2XYZ: Convert xyY coordinates to XYZ

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/conversions.R

Description

xyY2XYZ Converts xyY coordinates to XYZ.

Usage

1
xyY2XYZ( xyY ) 

Arguments

xyY

a numeric Nx3 matrix with CIE xyY coordinates in the rows, or a vector that can be converted to such a matrix, by row.

Value

a numeric Nx3 matrix with XYZ coordinates in the rows. The rownames are copied from input to output.

Note

An input Y=0 is treated as a special case. In this case x and y are ignored, and all XYZ are set to 0.

Author(s)

Jose Gama and Glenn Davis

References

Wikipedia. CIE 1931 color space. https://en.wikipedia.org/wiki/CIE_1931_color_space

Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/

See Also

XYZ2xyY()

Examples

1
xyY2XYZ(c(0.310897, 0.306510, 74.613450))

munsellinterpol documentation built on June 8, 2018, 1:14 a.m.