Next: orientation, Previous: or, Up: Internal Routines [Contents][Index]
ordfilter( [order=order,] x [[, axes],
width, /median, /minimum, /maximum])
Applies an order filter to dimensions axes
of
x
, over width
elements. /median
selects a median filter, /minimum
a minimum filter, and
/maximum
a maximum filter. order
selects a filter
that returns the element that has fraction order
or less of
the inspected elements below it. If axes
is not specified,
then the filter spans all dimensions of x
. If
width
is even then one is subtracted from it.
width
defaults to 3
. The filter is applied only to
those elements of x
for which all elements to be considered
by the filter exist. For elements that are too close to the edge, the
original value is retained.