Home > ISET > color > cct.m

cct

PURPOSE ^

Calculate correlated color temperature from CIE uv coordinates

SYNOPSIS ^

function Tc = cct(uvs)

DESCRIPTION ^

 Calculate  correlated color temperature from CIE uv coordinates

   correlatedColorTemperature = cct(uvArray)

 The CIE has defined methods for estimating the relationship between
 chromaticity coordinates (uv) and the color temperature of a blackbody
 radiator. This routine accepts 1960 UCS chromaticity coordinates, uv,
 and returns the color temperature in degrees Kelvin of the correlated
 blackbody radiators.

 This value is often used to summarize the properties of a light source.

 This routine requires the information in the file: cct.mat

 Reference: Wyszecki & Stiles pgs. 227-228

 correlatedColorTemperature
 UV  : [u1,u2,u3 ...; v1, v2, v3 ...] chromaticity coordinates as a column vector.

Example:
  colorTemp = cct([.31,.32]')

 Copyright ImagEval Consultants, LLC, 2003.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 20-Nov-2008 22:09:04 by m2html © 2003