


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.