Home > ISET > vcamera > sensor > sensorShowImage.m

sensorShowImage

PURPOSE ^

Display the image in a scene structure.

SYNOPSIS ^

function sensorShowImage(ISA,dataType,gam,scaleMax)

DESCRIPTION ^

 Display the image in a scene structure.

    sensorShowImage(ISA,[dataType='dv'],[gam=1],[scaleMax=0])

 The display is shown as a r,g,b or c,m,y or monochrome array that
 indicates the values of individual pixels in the sensor, depending on
 the sensor type. 

 This is ordinarily used from within sensorImageWindow, not from the
 command line.  When called from the command line, a new window and axis
 appear.

 If digital values have been computed, these are displayed. Otherwise,
 the voltage (continuous) values are displayed. The display gamma
 parameter is read from the figure setting.
  
 The data are either scaled to a maximum of the voltage swing (default)
 or if scaleMax = 1 (Scale button is selected in the window) the image
 data are scaled to fill up the display range. This option is useful for
 small voltage values compared to the voltage swing, say in the
 simulation of human cone responses. 

 Examples:
   sensorShowImage(sensor,'dv',gam); 
   sensorShowImage(sensor,'voltage'); 

 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