MAN page from RedHat Other XITE-3.3-3.i386.rpm
MEDIAN
Section: User Commands (1)
Updated: 16 Mar 1998
Index
NAME
median - noise reduction filtering
SYNTAX
median [-frac <fractile>] [-mask <maskfile>] [-mirror]
<inimage> <outimage> [<dx> [<dy>]]
DESCRIPTION
Median/fractal noise filtering with window
dx*
dy.For images with pixel type unsigned byte, the histogramupdate technique is used.
Default values for dxis 3, for dyit is dx.
OPTIONS
- -frac fractile
- fractiledetermines which output pixel is chosen from thedx* dywindow. fractileequal to 0.5 gives the median,fractileequal to 0.0 gives the minimum, fractileequalto 1.0 gives the maximum. Default: 0.5 (median).
- -mask maskfile
- Read a mask from an ascii file rather than using a rectangleof size dx* dy.
- -mirror
- Mirror the mask before using it.
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
SEE ALSO
pseudomedian3x3(1)
AUTHOR
Tor Lønnestad and Otto Milvang, BLAB, Ifi, Uio
EXAMPLES
median mona.img monaMed.img
median mona.img monaMed.img 7
median mona.img monaMed.img 7 5
median -f 0.25 -m filter.msk mona.img mona.25.img
filter.msk:
#
# Filter for mona
$size 5 5
0 1 1 1 0
1 1 1 1 1
1 1 2 1 1 ; count the center pixel twice
1 1 1 1 1
0 1 1 1 0
ID
$Id: median.c,v 1.23 1997/03/07 12:52:09 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- OPTIONS
- REFERENCE
- SEE ALSO
- AUTHOR
- EXAMPLES
- ID
This document was created byman2html,using the manual pages.