Home > ISET > human > humanConeContrast.m

humanConeContrast

PURPOSE ^

Calculate cone contrast of signalSPD superimposed on backgroundSPD

SYNOPSIS ^

function coneContrast = humanConeContrast(signalSPD,backgroundSPD,wave,units,mpDensity)

DESCRIPTION ^

Calculate  cone contrast of signalSPD superimposed on backgroundSPD

   maxConeContrast = humanConeContrast(signalSPD,backgroundSPD,wave,[units='energy'],[mpDensity=[]])

   The signal and background are in radiance units of energy
   (watts/sr/m2/nm) or photons (q/sr/m2/nm).  The sample wavelengths are
   specified in wave (nm). The Stockman cones with a specified macular
   pigment density mpDensity are used for the calculation.  

 Example:
   coneContrast = humanConeContrast(signalSPD,backgroundSPD,[400:1:700],'photons')
   coneContrast = humanConeContrast(signalSPD,backgroundSPD,[380:4:730],'energy')
   coneContrast = humanConeContrast(signalSPD,backgroundSPD,[380:4:730],'energy',0)

 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