MAN page from RedHat Other XITE-3.3-3.i386.rpm
MEDIAN
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
median - noise reduction filtering
SYNTAX
#include <
xite/median.h>
int median( IBAND input, IBAND output, int dx,
int dy );
DESCRIPTION
Filters the input band into the output bandusing a median filter with window size
dxx
dy.Even values of
dxand
dyare increased by one.Uses histogram updating when moving horizontallyfrom pixel to pixel.
RESTRICTIONS
inputand
outputmust both have pixel type unsigned byte.
REFERENCE
Huang, Yang and Tang:"A Fast Two-Dimensional Median Filtering Algorithm"IEEE Trans. Ac., Speech, and Signal Proc, Vol ASSP-27,No.1, Feb.1979.
RETURN VALUE
0 => ok
1 => bad pixel value input band
2 => bad pixel value output band
3 => bad dx value (less than 1 or greater than xsize)
4 => bad dy value (less than 1 or greater than ysize)
AUTHOR
Tor Lønnestad, BLAB, Ifi, UiO
ID
$Id: median.c,v 1.23 1997/03/07 12:52:09 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RESTRICTIONS
- REFERENCE
- RETURN VALUE
- AUTHOR
- ID
This document was created byman2html,using the manual pages.