CIE1931XYZ2CIE1931xyz: Convert CIE 1931 XYZ color space to CIE 1931 xyz color space

Description Usage Arguments Value Author(s) Source References Examples

View source: R/colorscience.R

Description

CIE1931XYZ2CIE1931xyz Converts CIE 1931 XYZ color space to CIE 1931 xyz color space.

Usage

1

Arguments

XYZmatrix

XYZ coordinates

Value

CIE 1931 xyz coordinates

Author(s)

Jose Gama

Source

Wikipedia, 2014 CIE 1931 color space http://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space

References

Wikipedia, 2014 CIE 1931 color space http://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space

Examples

1
2
XYZ<-c(0.11465380, 0.08391198, 0.08222077)
CIE1931XYZ2CIE1931xyz(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: 'Hmisc'

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

    format.pval, units

Loading required package: pracma

Attaching package: 'pracma'

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

    ceil

Loading required package: sp
             x         y        z
[1,] 0.4083308 0.2988462 0.292823

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