XYZ2Lab function

convert from XYZ coordinates to CIE Lab coordinates

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()))

Arguments

  • XYZmatrix: XYZ coordinates
  • illuminant: illuminant
  • observer: observer
  • RefWhite: Reference White

Returns

CIE Lab 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

Author(s)

Jose Gama

Examples

XYZ<-c(0.11465380, 0.08391198, 0.08222077) CIELMatrix<-XYZ2Lab(XYZ*100)
  • Maintainer: Glenn Davis
  • License: GPL (>= 3)
  • Last published: 2024-04-22

Useful links