Image Processing Toolbox User's Guide Previous page   Next Page
deconvwnr

Restore image using the Wiener filter

Syntax

Description

J = deconvwnr(I,PSF) restores image I that was degraded by convolution with a point-spread function PSF and possibly by additive noise. The algorithm is optimal in a sense of least mean square error between the estimated and the true image, and uses the correlation matrices of image and noise. In the absence of noise, the Wiener filter reduces to the ideal inverse filter.

J = deconvwnr(I,PSF,NSR), where NSR is the noise-to-signal power ratio. NSR could be a scalar or an array of the same size as I. The default value is 0.

J = deconvwnr(I,PSF,NCORR,ICORR), where NCORR and ICORR are the autocorrelation functions of the noise and the original image, respectively. NCORR and ICORR can be of any size or dimension not exceeding the original image. An N-dimensional NCORR or ICORR array corresponds to the autocorrelation within each dimension. A vector NCORR or ICORR represents an autocorrelation function in the first dimension if PSF is a vector. If PSF is an array, the 1-D autocorrelation function is extrapolated by symmetry to all nonsingleton dimensions of PSF. A scalar NCORR or ICORR represents the power of the noise or the image.

Class Support

I can be of class uint8, uint16, int16, double, or single. Other inputs have to be of class double. J has the same class as I.

Example

See Also

deconvblind, deconvlucy, deconvreg, otf2psf, padarray, psf2otf


Previous page  deconvreg decorrstretch Next page

© 1994-2005 The MathWorks, Inc.