void MedianInit(Int32 MaskSize, ref TMedianState State, TMtxFloatPrecision FloatPrecision)
Initialize a median filter.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | MaskSize | Int32 | |
| 2 | State | TMedianState (ref) | |
| 3 | FloatPrecision | TMtxFloatPrecision |
Result: stored in self (calling object)
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