Home > ISET > imgproc > displayMaxContrast.m

displayMaxContrast

PURPOSE ^

Find the scalar the produces the maximum contrast for a signal given a

SYNOPSIS ^

function alpha = displayMaxContrast(signalDir,backDir)

DESCRIPTION ^

 Find the scalar the produces the maximum contrast for a signal given a
 background.

   alpha = displayMaxContrast(signalDir,backDir)

 With the scalar alpha applied to the signal, the total signal reaches
 one or the other display boundary in the equation.  This routine is
 useful, for example, in finding the maximum contrast cone-isolating
 stimulus that can be displayed on a particular monitor.

        0 <= alpha*signalDir + backDir 
            alpha*signalDir + backDir <= 1

 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