CCT2XYZ: Convert CCT to XYZ

Description Usage Arguments Value Author(s) Source References Examples

View source: R/colorscience.R

Description

CCT2XYZ Converts correlated color temperature (CCT) to CIE tristimulus XYZ.

Usage

1
CCT2XYZ(CCTmatrix) 

Arguments

CCTmatrix

CCT values

Value

CIE tristimulus XYZ

Author(s)

Jose Gama

Source

Bruce Justin Lindbloom, 2013 Color Calculator www.brucelindbloom.com

References

Bruce Justin Lindbloom, 2013 Color Calculator www.brucelindbloom.com

Examples

1
CCT2XYZ(c(0.310897, 0.306510, 74.613450))

Example output

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

Attaching package: 'Hmisc'

The following objects are masked from 'package:base':

    format.pval, round.POSIXt, trunc.POSIXt, units

Loading required package: munsellinterpol
Loading required package: geometry
Loading required package: magic
Loading required package: abind
Loading required package: pracma

Attaching package: 'pracma'

The following object is masked from 'package:munsellinterpol':

    hypot

The following objects are masked from 'package:geometry':

    dot, polyarea

The following object is masked from 'package:magic':

    magic

The following object is masked from 'package:Hmisc':

    ceil

Loading required package: sp

Attaching package: 'colorscience'

The following objects are masked from 'package:munsellinterpol':

    XYZ2xyY, xyY2XYZ

Warning message:
In CCTmatrix * dWavelengthM :
  longer object length is not a multiple of shorter object length

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