Home > ISET > plots > plotScene.m

plotScene

PURPOSE ^

Gateway routine to plot scene radiance properties

SYNOPSIS ^

function udata = plotScene(scene,pType,xy)

DESCRIPTION ^

 Gateway routine to plot scene radiance properties

       udata = plotScene([scene],[pType='hlineluminance'],[xy])

   The scne plots show the radiance or luminance data in various formats.

 Example:
     scene = vcGetObject('SCENE'); 
     rows = round(sceneGet(scene,'rows')/2);
     plotScene(scene,'hlineradiance',[1,rows])
     uData = plotScene(scene,'ffthlineluminance',[1,rows])
     plotScene(scene,'radianceimagewithgrid')
     plotScene(scene,'illuminant')

 The values of the plot type (pType) are 

     {'hlineradiance'}          - Horizontal line radiance
     {'hlineluminance'}         - Horizontal line luminance
     {'hlineluminancefft'}      - Horizontal line luminance Fourier transform
     {'hlinecontrast'}          - Horizontal line contrast
     {'vlineradiance'}          - Vertical line radiance
     {'vlineluminance'}         - Vertical line luminance 
     {'vlineluminancefft'}      - Vertical line luminance Fourier transform
     {'vlinecontrast'}          - Vertical line contrast
     {'radiancefft'}            - Image spatial frequency amplitude(single wavelength)
     {'luminancefft'}           - 2D fft of scene luminance
     {'radianceimagewithgrid'}  - Render radiance image

     {'illuminant'}             - Multispectral scene illuminant
     
   When called from the sceneWindow callbacks, the user selects the
   horizontal or vertical position.  Because of difficulties in setting
   the focus for  ieGetXYCoords(scene), when called from the command line
   you set the (x,y) position in the calling argument.
 
 See also:  plotOI

 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