Function File: psf2otf (psf)
Function File: psf2otf (psf, outsize)

Compute OTF from PSF.

Returns the Optical Transfer Function (OTF) of the Point Spread Function psf.

The optional argument outsize defines the size of the computed otf. The input psf is post-padded with zeros previous to the OTF computation.

See also: circshift, fft2, fftn, otf2psf.

Package: image