Learn R Programming

colorscience (version 1.0.0)

XYZ2Luv: convert from XYZ coordinates to CIE Luv coordinates

Description

XYZ2Luv convert from XYZ coordinates to CIE Luv coordinates.

Usage

XYZ2Luv(XYZmatrix,illuminant='D65',observer=2,RefWhite=XYZperfectreflectingdiffuser)

Arguments

XYZmatrix
XYZ coordinates
illuminant
illuminant
observer
observer
RefWhite
Reference White

Value

  • CIE Luv coordinates

source

Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html

References

Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html

Examples

Run this code
XYZ<-c(0.11465380, 0.08391198, 0.08222077)
CIELuvMatrix<-xyz2luv(XYZ*100)

Run the code above in your browser using DataLab