Next: , Previous: , Up: Internal Routines   [Contents][Index]

15.5.371 medfilter

medfilter(x [[, axes], width])

Applies a median filter to dimensions axes of x, over width elements. axes may be a scalar or an array. 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.

See also: ordfilter, minfilter, maxfilter