Home > ISET > vcamera > sensor > sensorCCM.m

sensorCCM

PURPOSE ^

Compute best 3x3 color transform from sensor to linear display

SYNOPSIS ^

function L = sensorCCM(sensor,ccmMethod)

DESCRIPTION ^

Compute best 3x3 color transform from sensor to linear display

   L = sensorCCM(sensor,ccmMethod)

 At present, only the Macbeth ccmMethod is supported.  In this method we
 acquire a sensor image of the Macbeth CC.  The user selects the positions
 of the MCC (lower left = white, lower right = black, upper right, upper
 left).  The algorithm extracts the data and finds the 3x3 that maps the
 sensor values into an ideal MCC under d65 illuminant (linear srgb).

 This routine will need to be updated, modified, improved over time.  But
 it is pretty cool for a simple beginning.

 If there is no return argument, a series of graphs are produced.

 Examples:
   sensorCCM;        % Makes graphs and prints L into work space

   L = sensorCCM;   % Returns L, no graphs
   L = sensorCCM(vcGetObject('sensor'),'macbeth');

 Copyright ImagEval Consultants, LLC, 2003.

CROSS-REFERENCE INFORMATION ^

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