maxSimilar3x3
[ XITE Reference Manual | XITE home ]
Name
maxSimilar3x3 - maximum similarity 3x3 noise reduction
Syntax
maxSimilar3x3 <input image> <output image>
Description
For every pixel p, calculate the five 3x3 averages:
x x x x x x x x x x x p p x x
x x x x x x x p x x x x x x x
x x p p x x x x x x x x x x x
Replace p in the output image with the average that
is closest to p. The 1 pixel wide edge of the image
is copied from input without modification. The next
line/sample is partly processed.
Reference
W. Niblack: "Digital Image Processing", Prentice/Hall, p80.
See also
Restrictions
Bands must have pixel type UNS_BYTE.
Author
Tor Lønnestad, BLAB, Ifi, UiO
Examples
maxSimilar3x3 mona.img monaSim.img
Id
$Id: maxSimilar3x3.c,v 1.22 1997/01/10 16:14:33 svein Exp $