Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

2-D adaptive noise-removal filtering

**The syntax wiener2(I,[m n],[mblock nblock],noise) has
been removed. Use the wiener2(I,[m n],noise) syntax
instead.**

`J = wiener2(I,[m n],noise)`

[J,noise] = wiener2(I,[m n])

`wiener2`

lowpass-filters a grayscale image
that has been degraded by constant power additive noise. `wiener2`

uses
a pixelwise adaptive Wiener method based on statistics estimated from
a local neighborhood of each pixel.

`J = wiener2(I,[m n],noise)`

filters
the image `I`

using pixelwise adaptive Wiener filtering,
using neighborhoods of size `m`

-by-`n`

to
estimate the local image mean and standard deviation. If you omit
the `[m n]`

argument, `m`

and `n`

default
to 3. The additive noise (Gaussian white noise) power is assumed to
be `noise`

.

`[J,noise] = wiener2(I,[m n])`

also
estimates the additive noise power before doing the filtering. `wiener2`

returns
this estimate in `noise`

.

The input image `I`

is a two-dimensional image
of class `uint8`

, `uint16`

, `int16`

, `single`

,
or `double`

. The output image `J`

is
of the same size and class as `I`

.

For an example, see Remove Noise By Adaptive Filtering.

[1] Lim, Jae S., *Two-Dimensional Signal and Image
Processing*, Englewood Cliffs, NJ, Prentice Hall, 1990,
p. 548, equations 9.26, 9.27, and 9.29.

Was this topic helpful?