Home > ISET > vcamera > sensor > sensorSet.m

sensorSet

PURPOSE ^

Set ISET sensor parameters.

SYNOPSIS ^

function isa = sensorSet(isa,param,val,varargin);

DESCRIPTION ^

Set ISET sensor parameters.

   isa = sensorSet(isa,param,val,varargin);

 This routine sets the ISET sensor parameters.  See sensorGet for the
 longer list of derived parameters.

 Examples:
    isa = sensorSet(isa,'ColorOrder',colorOrder);
    isa = sensorSet(isa,'PIXEL',pixel);
    ise = sensorSet(isa,'autoExposure',1);   ('on' and 'off' work, too)
    isa = sensorSet(isa,'sensorComputeMethod',baseName);

 General  
      {'name'} - This sensor's identifier
      {'rows'} - number of rows
      {'cols'} - number of cols
      {'size'} - [rows,cols]

 Color 
      {'color'}  - structure containing color information
        {'filterspectra'}    - color filter transmissivities
        {'filternames'}      - color filter names
        {'infraredfilter'}   - IR filter transmissivity
      {'spectrum'}           - wavelength spectrum structure
        {'wavelength'}       - wavelength samples
      {'colorfilterarray'}   - color filter array structure 
        {'cfapattern'}       - color filter pattern
        {'cfaunitblock'}     - basic color block

 Electrical and imaging 
      {'data'}               - data structure
        {'volts'}            - voltage responses
        {'digitalvalues'}    - digital values
      {'roi'}                - region of interest information 
      {'exposuretime'}       - exposure time in seconds
      {'autoexposure'}       - auto-exposure flag, 1 or 0, 'on' and 'off' OK
      {'cds'}                - correlated double sampling flat
      {'quantizationmethod'} - method used for quantization
      {'dsnuimage'}          - Dark signal non uniformity (DSNU) image
      {'prnuimage'}          - Photo response non uniformity (PRNU) image
      {'dsnulevel'}          - dark signal nonuniformity (std dev)
      {'prnulevel'}          - photoresponse nonuniformity (std dev)
      {'columnfpnparameters'}- column fpn parameters, both offset and gain
      {'colgainfpnvector'}   - column gain fpn data
      {'coloffsetfpnvector'} - column offset fpn data
      {'shotNoiseFlag'}      - include shot noise or not (default is yes)
              
 Pixel
      {'pixel'}
 
 Optics
      {'pixelvignetting'}
      {'microlens'}
      {'sensoretendue'}
      {'microlensoffset'}  - used with microlens window toolbox

 Computational method
      {'sensorcomputemethod'}- algorithm used to compute
      {'ngridsamples'}       - number of spatial grid samples within a pixel

 Check for consistency between GUI and data
      {'consistency'}

 Private
      {'editfilternames'} 

 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