MtxExprInt.Median Method

Overload List

#SignatureDescription
1function Median(const X: TMtxVecInt): Double;Computes the Median from the source data.
2function Median(const Src: TVecInt; const MaskSize: Integer): VectorInt;Applies median filter with size Mask to data in Src and returns result.

Overload 1: function Median(const X: TMtxVecInt): Double;

Computes the Median from the source data.

#NameTypeDescription
1XTMtxVecInt

Returns: Double

Remarks:

Internally calls TVecInt.Median

Overload 2: function Median(const Src: TVecInt; const MaskSize: Integer): VectorInt;

Applies median filter with size Mask to data in Src and returns result.

#NameTypeDescription
1SrcTVecInt
2MaskSizeInteger

Returns: VectorInt

Remarks:

Median filter is a nonlinear filter which replaces each element from Src vector with the median value, calculated over a fixed range (mask) centered around that element and returns this as result.