DominantWavelength: Converts xyY coordinates to wavelength

Description Usage Arguments Value Author(s) Source References Examples

View source: R/colorscience.R

Description

DominantWavelength Converts xyY coordinates to wavelength.

Usage

1
2
DominantWavelength(xyYmatrix, illuminant='D65',observer=2,
RefWhiteIllum=get("XYZperfectreflectingdiffuser", envir = environment())) 

Arguments

xyYmatrix

xyY matrix

illuminant

illuminant

observer

observer

RefWhiteIllum

Reference White

Value

Dominant Wavelength

Author(s)

Jose Gama

Source

Bruce Justin Lindbloom, 2013 http://www.brucelindbloom.com/index.html?ColorCalculator.html

References

Bruce Justin Lindbloom, 2013 http://www.brucelindbloom.com/index.html?ColorCalculator.html

Examples

1
DominantWavelength(c(0.59072, 0.85570, 0.80283))

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
[1] 568.864

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