DIPlib Documentation - ©1995-2008 Quantitative Imaging Group, Delft University of Technology.

IncoherentOTF

Generates an incoherent OTF

SYNOPSIS

#include "dip_microscopy.h"

dip_Error dip_IncoherentOTF ( out, defocus, xNyquist, amplitude, otf )

DATA TYPES

Output: sfloat

FUNCTION

This function implements the formulae for a (defocused) incoherent OTF as described by Castleman. When defocus is unequal to zero, either the Stokseth approximation or the Hopkins approximation is used. The defocus is defined a the maximum defocus path length error divided by the wave length (See Castleman for details). The summation over the Bessel functions in the Hopkins formluation, is stopped when the change is smaller than DIP_MICROSCOPY_HOPKINS_OTF_CUTOFF.

ARGUMENTS

Data typeNameDescription
dip_ImageoutOutput
dip_floatdefocusDefocus
dip_floatxNyquistOversampling
dip_floatamplitudeAmplitude
dipf_IncoherentOTFotfOtf approximation

The dipf_IncoherentOTF enumeration supports the following flags:

NameDescription
DIP_MICROSCOPY_OTF_STOKSETHStokseth OTF approximation
DIP_MICROSCOPY_OTF_HOPKINSHopkins OTF approximation

LITERATURE

K.R. Castleman, "Digital image processing, second edition", Prentice Hall, Englewood Cliffs, 1996.

SEE ALSO

IncoherentPSF

DIPlib on-line documentation | Function reference | Global function index