Home > ISET > vcamera > optics > defocusMTF.m

defocusMTF

PURPOSE ^

Compute the diffraction limited MTF at a particular wavelength for a given defocus

SYNOPSIS ^

function OTF = defocusMTF(optics,frequencySupport,defocus)

DESCRIPTION ^

 Compute the diffraction limited MTF at a particular wavelength for a given defocus

 OTF = defocusMTF(optics,frequencySupport,defocus)
 
  This routine has not been used in quite some time.  

  The main application of the routine will be to calculating images
  produced by objects at different distances from the focal distance.  At
  present, we always compute assuming that the scene is at optical
  infinity, or equivalently that the scene is in the perfect focal plane.
 
 -- Old notes ---
  We specify all frequencies in cycles per degree. We will convert for
  people from linepairs/mm to cycles per degree. We specify the MTF for an
  object at infinity, assuming the image plane is at the focal distance.
  Obviously, if there is defocus (the object is not at infinity), then
  this MTF needs to be recalculated. 
 
  We will put in a hook so that if we decide to have a different object
  distance (and thus a different image distance), we can recalculate. 
 
   We expect this routine to be very quick so we can quickly get the 2D
   MTF of the lens and multiply it with the spectrum of the image (freq by
   freq).  We may end up using some indexing/rounding and table-lookup to
   make this go faster. 
 
 INPUT  : optics [structure]
          wavelength [array]
          frequencySupport [nRows x nCols x 2]

 OUTPUT : optics [structure]
          - the following field(s) will be generated :
            -- optics.OTF.OTF [nRows x nCols x nWaves]
 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