Home > ISET > vcamera > sensor > sensorDR.m

sensorDR

PURPOSE ^

Compute sensor dynamic range (in dB).

SYNOPSIS ^

function DR = sensorDR(ISA,integrationTime)

DESCRIPTION ^

Compute sensor dynamic range (in dB).  

   DR = sensorDR(ISA,integrationTime)

  This algorithm calculates the ratio of the maximum pixel current divided
  by the minimum voltage. 
     
      DR = 20 * log10(maxVoltage ./ minVoltage);
 
  The maximum voltage is determined by the voltage swing minus the
  darkvoltage.  

  The minimum voltage depends on the noise, sqrt(dkVariance + rnVariance +
  offsetSD.^2);    Noise is measured in electrons, because these noise
  terms are Poisson in electrons (but not in volts).
  
  The noise is calculated as if we randomly pick a single pixel from the
  image sensor array.  For this model, the single pixel has the noise
  inherent in the pixel and the noise inherent in the variation across the
  sensor array. In this model the sensor DR is smaller than the pixel DR.

  Another possible sensorDR model is to assume that we are averaging
  across some number of pixels.  In that case, the noise will go down
  because the spatial averaging will reduce the total noise.  This model,
  not calculated here, results in a sensor DR that exceeds the pixel DR
  (unless DSNU is very high).

  If non integrationTime is specified, the integration time from the
  currently selected sensor is used.  If no sensor is specified, the
  currently selected sensor is used.  If the sensor is set to
  auto-exposure or 0 integration time, an empty value is returned for DR.

 Example:
    DR = sensorDR(vcGetObject('sensor'),0.10)

 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