Developer Reference

  • 2020
  • 07/15/2020
  • Public Content

Median Filter Functions

Median filters are nonlinear rank-order filters based on replacing each element of the source vector with the median value, taken over the fixed neighborhood (mask) of the processed element. These filters are extensively used in image and signal processing applications. Median filtering removes impulsive noise, while keeping the signal blurring to the minimum. Typically mask size (or window width) is set to odd value which ensures simple function implementation and low output signal bias. You can use an even mask size in function calls as well, but internally it will be changed to odd by subtracting 1.
Another specific feature of the median filter implementation in Intel IPP is that elements outside the source vector, which are needed to determine the median value for “border” elements,
are located in a delay line. If the delay line is absent, then they are set to be equal to the corresponding edge element of the source vector.

Product and Performance Information


Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804