void MedianInit(int MaskSize, TMedianState &State, const TMtxFloatPrecision FloatPrecision);
Initialize a median filter.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | MaskSize | int | |
| 2 | State | TMedianState & | |
| 3 | FloatPrecision | const TMtxFloatPrecision |
Remarks:
Initialize the median filter by initializing the State variable. The MaskSize defines the size of the mask of the median filter. An even MaskSize is incremented to the next odd value. The delay line holding the MaskSize most recent samples is initialized to zero. An exception is raised if MaskSize is smaller than zero.
See Also: SignalUtils::MedianFilter, SignalUtils::MedianFree
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler