MatrixInt::Median Method

Overload List

#SignatureDescription
1TMtxVecInt *Median(const int MaskSize, const int Index, const int Len) const;Applies median filter with size Mask to the calling vector elements [Index.. Index+Len-1].
2TMtxVecInt *Median(TMtxVecInt *Src, const int MaskSize, const int SrcIndex, const int Index, const int Len) const;Applies median filter with size Mask to Src object elements [SrcIndex..SrcIndex+Len-1] and stores the result in the calling vector elements [Index..Index+Len-1].

Overload 1: TMtxVecInt *Median(const int MaskSize, const int Index, const int Len) const;

Applies median filter with size Mask to the calling vector elements [Index.. Index+Len-1].

#NameTypeDescription
1MaskSizeconst int
2Indexconst int
3Lenconst int
Remarks:

Median filter is a nonlinear filter which replaces each element of the calling vector with the median value, calculated over the fixed range (mask) centered around that element.

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

Overload 2: TMtxVecInt *Median(TMtxVecInt *Src, const int MaskSize, const int SrcIndex, const int Index, const int Len) const;

Applies median filter with size Mask to Src object elements [SrcIndex..SrcIndex+Len-1] and stores the result in the calling vector elements [Index..Index+Len-1].

#NameTypeDescription
1SrcTMtxVecInt *
2MaskSizeconst int
3SrcIndexconst int
4Indexconst int
5Lenconst int
Remarks:

Median filter is a nonlinear filter which replaces each element of the Src vector with the median value, calculated over the fixed range (mask) centered around that element and stores the result in the calling vector.

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