mode
[ XITE Reference Manual | XITE home ]
Name
mode - noise removal and edge sharpening
Syntax
mode <inimage> <outimage> [<dx> [<dy>]]
Description
mode noise filtering with window dx x dy
using histogram updating technique. The pixel
value occurring most frequently within the window
becomes the new pixel value in the window center.
dx is the horisontal window size, default value 3.
dy is the vertical window size, default value dx.
Restrictions
Input image bands must have pixel type unsigned byte.
See also
median(1), pseudomedian3x3(1), sigma(1), snn(1), knn(1),
kncn(1), convolve(1)
Author
Tor Lønnestad, BLAB, Ifi, UiO
Examples
mode mona.img monamode.img
mode mona.img monamode.img 5
mode mona.img monamode.img 5 7
Id
$Id: mode.c,v 1.23 1997/01/10 16:07:52 svein Exp $