Learn R Programming

munsellinterpol (version 2.0.1)

lab2xyz: Convert CIE Lab coordinates to XYZ

Description

lab2xyz Converts CIE Lab coordinates to XYZ.

Usage

lab2xyz( Lab, white=c(95.047,100,108.883) )

Arguments

Lab

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

white

XYZ for the reference white. The default is Illuminant=D65, 2 observer

Value

An Nx3 matrix with the CIE XYZ coordinates in the rows. The rownames of the input are copied to the output.

References

CIE 15: Technical Report: Colorimetry. CIE 15:2004. 3rd edition. ISBN 3901906339.

Lab Color Space. https://en.wikipedia.org/wiki/Lab_color_space

See Also

xyz2lab()

Examples

Run this code
# NOT RUN {
lab2xyz( c(17,-12,12) )
# }

Run the code above in your browser using DataLab