Yuv2XYZ: convert from Yuv coordinates to XYZ coordinates

Description Usage Arguments Value Author(s) Source References Examples

View source: R/colorscience.R

Description

Yuv2XYZ convert from Yuv coordinates to XYZ coordinates.

Usage

1
Yuv2XYZ(Yu.v.matrix) 

Arguments

Yu.v.matrix

Yuv coordinates

Value

XYZ 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
Yuv <- c(0.08391198, 0.2830965, 0.4661789)
Yuv2XYZ(Yuv)

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

             X          Y          Z
[1,] 0.1146538 0.08391198 0.08222074

colorscience documentation built on May 29, 2017, 2:34 p.m.