CIE1931xy2CIE1976uv: Convert CIE 1931 xy color space to CIE 1976 uv color space

Description Usage Arguments Value Author(s) Source References Examples

View source: R/colorscience.R

Description

CIE1931xy2CIE1976uv Converts CIE 1931 xy color space to CIE 1976 uv color space.

Usage

1

Arguments

xymatrix

xy coordinates

Value

CIE 1976 uv 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
xyY <- cbind(0.4083308, 0.2988462, 0.08391198)
CIE1931xy2CIE1976uv(xyY)

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

             u         v
[1,] 0.2830965 0.4661789

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