MtxExprInt.Median Method

Overload List

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

Overload 1: Double Median(TMtxVecInt X)

Computes the Median from the source data.

#NameTypeDescription
1XTMtxVecIntsource TVecInt or TMtxInt

Returns: Double

Remarks:

Internally calls Dew.Math.TVecInt.Median

Overload 2: VectorInt Median(TVecInt Src, Int32 MaskSize)

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

#NameTypeDescription
1SrcTVecIntsource TVecInt
2MaskSizeInt32

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.