Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

2-D order-statistic filtering

- example
`B = ordfilt2(A,order,domain)`

`B = ordfilt2(A,order,domain,S)`

`B = ordfilt2(___,padopt)`

filters `B`

= ordfilt2(___,`padopt`

)`A`

,
where `padopt`

specifies how `ordfilt2`

pads
the matrix boundaries.

Code Generation support: Yes.

MATLAB Function Block support: Yes.

[1] Haralick, Robert M., and Linda G. Shapiro, *Computer
and Robot Vision, *Volume I, Addison-Wesley, 1992.

[2] Huang, T.S., G.J.Yang, and G.Y.Tang. "A fast two-dimensional median filtering algorithm.", IEEE transactions on Acoustics, Speech and Signal Processing, Vol ASSP 27, No. 1, February 1979

Was this topic helpful?