snn
[ XITE Reference Manual | XITE home ]
Name
snn - symmetric nearest neighbour noise reduction
Syntax
#include <xite/snn.h>
int snn( IBAND input, IBAND output, int dx,
int dy );
Description
snn performs symmetric nearest neighbour noise
reduction and edge sharpening. Uses rectangular
processing window of size dx * dy.
Restrictions
input and output must have pixel type unsigned byte or
unsigned short. The types must be identical.
Even values of dx and dy are increased by one.
Return value
0 => ok
1 => Bands have different pixel types
2 => Bad pixel types
3 => Bad dx value
4 => Bad dy value
Author
Tor Lønnestad, BLAB, Ifi, UiO
Id
$Id: snn.c,v 1.29 1997/01/10 19:42:14 svein Exp $