Home > ISET > vcamera > opticalImage > oiCalculateOTF.m

oiCalculateOTF

PURPOSE ^

Calculate the optical transfer function for the optical image

SYNOPSIS ^

function [otf,fSupport] = oiCalculateOTF(oi,wave,unit)

DESCRIPTION ^

Calculate the optical transfer function for the optical image

   [otf,fSupport] = oiCalculateOTF(oi,[wave],[unit = 'cyclesPerDegree'])

 The optical transfer function (OTF) is derived from the optics parameters
 of an optical image.  The frequency units are cycles per degree by
 default.  However, by setting the variable unit='millimeter' or 'micron'
 the frequency units can be changed to cycles/{millimeter,micron}. 

 This routine is used for diffraction limited, shift-invariant, or the
 human otf. Calculations of OTF for ray trace dat are handled in the ray
 trace routines, rtPlot or rtOTF, and they don't use this routine.

 Examples:
   [otf,fSupport] = oiCalculateOTF(oi);
   [otf,fsmm] = oiCalculateOTF(oi,'wave','mm');

 See also:  applyOTF, oiCalculateOTF, oiCompute, dlMTF, dlCore

 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