Learn R Programming

colorscience (version 1.0.8)

spectra2XYZ: 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

References

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

Examples

Run this code
# NOT RUN {
spectra2XYZ(MaterialReferenceData[,c('wavelength','BlueSky')])
# }

Run the code above in your browser using DataLab