Next: maxloc, Previous: maxdir, Up: Internal Routines [Contents][Index]
maxfilter(x [[, axes], widths])
Applies a maximum filter to one or more dimensions axes
of
x
, over widths
elements. If axes
is not specified, then x
is treated as a 1d array.
widths
must be a scalar or an array with the same number of
elements as widths
and must contain only positive numbers.
widths
defaults to scalar 3
. For elements too close
to the edge to yield full-width results, the nearest full-width result
is returned.
ordfilter(/maximum)
yields the same results as
maxfilter()
, but is much slower.
See also: minfilter
, ordfilter
, medfilter