Correlated Color Temperature (CCT) from spectra
spectra2CCT
Correlated Color Temperature (CCT) from spectra.
spectra2CCT(SPD=NA, isoTempLinesTable=NA, CIETable = get("ciexyz31", envir = environment()), TCS = get("TCSdata", envir = environment()))
SPD
: light source spdisoTempLinesTable
: Iso temperature lines tableCIETable
: reference data valuesTCS
: spectral reflectance data of 14 color test samples for CRICorrelated Color Temperature (CCT)
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
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
Jose Gama
# illuminant A SPD = illuminants[1:51*2-1,c('wlnm','A')] # every 10 nm CCT <- spectra2CCT(SPD) CCT
Useful links