Learn R Programming

munsellinterpol (version 2.0.1)

xyz2luv: Convert XYZ coordinates to CIE Luv

Description

Convert XYZ coordinates to CIE Luv

Usage

xyz2luv( XYZ, white=c(95.047,100,108.883) )

Arguments

XYZ

a numeric Nx3 matrix with CIE XYZ 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-degree observer

Value

An Nx3 matrix with the CIE Luv 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.

Luv Color Space. https://en.wikipedia.org/wiki/Luv_color_space

See Also

luv2xyz()

Examples

Run this code
# NOT RUN {
xyz2luv(  c(90.310897, 99.306510, 74.613450) )
# }

Run the code above in your browser using DataLab