XYZ2Lab: convert from XYZ coordinates to CIE Lab coordinates

Description Usage Arguments Value Author(s) Source References Examples

View source: R/colorscience.R

Description

XYZ2Lab convert from XYZ coordinates to CIE Lab coordinates.

Usage

1
2
XYZ2Lab(XYZmatrix,illuminant='D65',observer=2, 
    RefWhite=get("XYZperfectreflectingdiffuser", envir = environment())) 

Arguments

XYZmatrix

XYZ coordinates

illuminant

illuminant

observer

observer

RefWhite

Reference White

Value

CIE Lab coordinates

Author(s)

Jose Gama

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

1
2
XYZ<-c(0.11465380, 0.08391198, 0.08222077)
CIELMatrix<-xyz2lab(XYZ*100)

colorscience documentation built on May 31, 2017, 2:30 a.m.