spectra2XYZ {colorscience}R Documentation

convert spectral data to tristimulus values

Description

spectra2XYZ convert spectral data to tristimulus values.

Usage

spectra2XYZ(spectraIn=NA, illuminantIn=NA, ciexyzIn=NA,wlIn=NA, wlInterval=NA) 

Arguments

spectraIn

spectral data

illuminantIn

illuminant

ciexyzIn

range of illuminant wavelengths

wlIn

range of spectral wavelengths

wlInterval

arbitrary wavelength interval to be applied to all series through interpolation

Value

XYZ coordinates

Author(s)

Jose Gama

Source

Andrew S. Glassner, 1995 Principles of digital image synthesis: Vol. 1 Kaufmann

References

Andrew S. Glassner, 1995 Principles of digital image synthesis: Vol. 1 Kaufmann

Examples

spectra2XYZ(MaterialReferenceData[,c('wavelength','BlueSky')])

[Package colorscience version 1.0.9 Index]