Home > ISET > vcamera > scene > Illumination > illuminantCreate.m

illuminantCreate

PURPOSE ^

Create a light source structure. Only used for Macbeth chart creation

SYNOPSIS ^

function lightSource = illuminantCreate(iName,temperature,luminance,spectrum)

DESCRIPTION ^

 Create a light source structure.  Only used for Macbeth chart creation

  lightSource = illuminantCreate(iName,temperature,luminance,spectrum)

 Create a lightSource data structure, containing information about an
 illuminant.  The lightSource is organized approximately as a scene
 structure and can be addressed using sceneGet.  But it has a unique
 status.  I don't think it is used anywhere else, so it has not been
 thoroughly tested.

 A few standard light sources are supported at present.  These are d65,
 d50, tungsten, fluorescene, blackbody's (over a range of color
 temperatures), 550nm.  See the internal routine, readIllumination (below). 

 Examples:
   lightSource = illuminantCreate('d65')
   lightSource = illuminantCreate('blackbody',3500,100)
   lightSource = illuminantCreate('blackbody',6500,100)

 Copyright ImagEval Consultants, LLC, 2005.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 14-Jan-2007 10:24:23 by m2html © 2003