www.pudn.com > 医学算法.rar > median


.TH MEDIAN 1 "Ultrasonics Lab"
.SH NAME
median - one dimensional median filter
.SH SYNOPSIS
.B
median [if=file] [of=file] [m=#] [n=#] [k=#] [-r]
.SH DESCRIPTION
.PP
This program filters a projection file using a one dimensional
median filter.
Each projection is filtered separately.
The input and output from this program consists of 
binary single precision floating point numbers.
.PP
There are several options.
They are:
.TP 12
.B if=stdin
The projection data is taken from the indicated file.
The default is standard input.
.TP
.B of=stdout
The filtered data is placed into the indicated file.
If an output file is not specified then the data is sent
to standard output.
.TP
.B m=3
specifies the length of the window.
This parameter must be an odd number.
.TP 
.B n=100
specifies the size of each projection.
This parameter must be less than 1000.
.TP
.B k=1
is the number of projections.
This program does not change
the values at the
beginning and the end of each projection.
If this is not specified then only one projection
is read (n numbers).
.TP
.B -r
recursively filter the data.
As each point is filtered, the
resulting value is included in the sequence
for the windows that follow.
Doing this results in the signal
approaching the root signal faster.
.TP
.B -p
do not output the program statistics.
.SH DIAGNOSTICS
All cases of bad input options are flagged.
An error warning is given if there isn't enough data.
.SH SEE ALSO
Gallagher, Neal, paper in ASSP.