Class SLMedian.TSLMedian
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabPkg
Unit: SLMedian
Inherits: TSLCommonRealFilter
Contents |
Syntax
Delphi:
type TSLMedian = class( TSLCommonRealFilter )
C++ Builder:
class TSLMedian : public TSLCommonRealFilter
Visual C++ (MFC):
class CTSLMedian : public CTSLCommonRealFilter
C# (.NET):
public ref class TSLMedian : Mitov.SignalLab.CommonRealFilter
Summary
Performs a Median Filter.
Description
Use this component to perform a Median Filter.
Median filters are nonlinear rank-order filters based on replacing each element of the input array 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. In the SignalLab median function implementation, the mask is always centered at the input element for which the median value is computed. 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 function implementation in the SignalLab is that elements outside the input array, which are needed to determine the median value for border elements, are set to be equal to the corresponding edge element of the input array, i.e. are padded by cloning the edge element.
Properties
Published
- Mask - The Median Mask Size.