spectra2CRIGAIFSCI {colorscience} | R Documentation |
CRI, GAI and FSCI from spectra
Description
spectra2CRIGAIFSCI
Color Rendering Index (CRI), Gamut Area
Index (GAI) and full spectrum index (FSCI) from spectra.
Usage
spectra2CRIGAIFSCI(SPD=NA, isoTempLinesTable=NA, CCT=NA,
CIETable = get("ciexyz31", envir = environment()), TCS = get("TCSdata",
envir = environment()))
Arguments
SPD |
light source spd |
isoTempLinesTable |
Iso temperature lines table |
CCT |
Correlated Color Temperature (CCT) |
CIETable |
reference data values |
TCS |
spectral reflectance data of 14 color test samples for CRI |
Value
CRI, GAI and FSCI
Author(s)
Jose Gama
Source
Rensselaer Polytechnic Institute Light Sources and Color Q & A Appendix B: MATLAB script for calculating measures of light source color: CCT, CRI, GA, and FSI https://www.lrc.rpi.edu/programs/nlpip/lightinganswers/pdf/print/lightsources.pdf
References
Rensselaer Polytechnic Institute Light Sources and Color Q & A Appendix B: MATLAB script for calculating measures of light source color: CCT, CRI, GA, and FSI https://www.lrc.rpi.edu/programs/nlpip/lightinganswers/pdf/print/lightsources.pdf
Examples
# illuminant A
## Not run:
SPD = illuminants[1:51*2-1,c('wlnm','A')] # every 10 nm
isoTempLinesTable <- createIsoTempLinesTable(SPD)
CCT <- spectra2CCT(SPD)
spectra2CRIGAIFSCI(SPD, isoTempLinesTable, CCT)
spectra2CRIGAIFSCI(SPD, isoTempLinesTable)
spectra2CRIGAIFSCI(SPD)
## End(Not run)