psf2otf
Convert point-spread function to optical transfer function
Description
Examples
Input Arguments
Output Arguments
Tips
To ensure that
OTF
is not altered because ofPSF
off-centering,psf2otf
postpadsPSF
(down or to the right) with0
s to match dimensions specified insz
. Thenpsf2otf
circularly shifts the values ofPSF
up (or to the left) until the central pixel reaches (1,1) position.This function is used in image convolution and deconvolution when the operations involve the FFT.