convert from XYZ coordinates to CIE Lab coordinates
XYZ2Lab
convert from XYZ coordinates to CIE Lab coordinates.
XYZ2Lab(XYZmatrix,illuminant='D65',observer=2, RefWhite=get("XYZperfectreflectingdiffuser", envir = environment()))
XYZmatrix
: XYZ coordinatesilluminant
: illuminantobserver
: observerRefWhite
: Reference WhiteCIE Lab coordinates
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Jose Gama
XYZ<-c(0.11465380, 0.08391198, 0.08222077) CIELMatrix<-XYZ2Lab(XYZ*100)
Useful links