XYZ2HunterLab: convert from XYZ coordinates to Hunter Lab coordinates

Description Usage Arguments Value Author(s) Source References Examples

View source: R/colorscience.R

Description

XYZ2HunterLab convert from XYZ coordinates to Hunter Lab coordinates.

Usage

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

Arguments

XYZmatrix

XYZ coordinates

illuminant

illuminant

observer

observer

RefWhite

Reference White

Value

Hunter 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)
XYZ2HunterLab(XYZ)

Example output

Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2

Attaching package:HmiscThe following objects are masked frompackage:base:

    format.pval, units

Loading required package: pracma

Attaching package:pracmaThe following object is masked frompackage:Hmisc:

    ceil

Loading required package: sp
          L        a         b
Y2 28.96756 2.363884 0.4821515

colorscience documentation built on Oct. 30, 2019, 9:33 a.m.