MtxExprInt::Median Function

Overload List

#SignatureDescription
1double Median(TMtxVecInt *X);Computes the Median from the source data.
2VectorInt Median(TVecInt *Src, const int 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
1XTMtxVecInt *
Remarks:

Internally calls TVecInt::Median

Declared in Dew::Math::Units::MtxExprInt · Dew.Math/Units.MtxExprInt.h · Cross-compiler

Overload 2: VectorInt Median(TVecInt *Src, const int MaskSize);

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

#NameTypeDescription
1SrcTVecInt *
2MaskSizeconst int
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.

Declared in Dew::Math::Units::MtxExprInt · Dew.Math/Units.MtxExprInt.h · Cross-compiler