TVecInt::Median Method

Overload List

#SignatureDescription
1TMtxVecInt *Median(int MaskSize, int Index, int Len);Applies median filter with size Mask to the calling vector elements [Index.. Index+Len-1].
2TMtxVecInt *Median(TMtxVecInt *Src, int MaskSize, int SrcIndex, int Index, int Len);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].
3int Median(int Index, int Len);Calculate median value for calling vector elements [Index]..[Index+Len-1].
4int Median();Median.
5TVecInt *Median(int MaskSize);Applies median filter with size Mask to the calling vector.
6TVecInt *Median(TMtxVecInt *Src, int MaskSize);Applies median filter with size Mask to data in Src and stores the result in the calling vector.

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

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

#NameTypeDescription
1MaskSizeint
2Indexint
3Lenint
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::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

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

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 *
2MaskSizeint
3SrcIndexint
4Indexint
5Lenint
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::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 3: int Median(int Index, int Len);

Calculate median value for calling vector elements [Index]..[Index+Len-1].

#NameTypeDescription
1Indexint
2Lenint
Remarks:

An exception is raised if TVecInt::ConditionCheck is true and array borders are overrun.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 4: int Median();

Median.

Remarks:

Calculate median value for all calling object elements.

See Also: Mean
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 5: TVecInt *Median(int MaskSize);

Applies median filter with size Mask to the calling vector.

#NameTypeDescription
1MaskSizeint
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::TVecInt · Dew.Math/MtxVecInt.h · Cross-compiler

Overload 6: TVecInt *Median(TMtxVecInt *Src, int MaskSize);

Applies median filter with size Mask to data in Src and stores the result in the calling vector.

#NameTypeDescription
1SrcTMtxVecInt *
2MaskSizeint
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 and stores the result in the calling vector.

Declared in Dew::Math::TVecInt · Dew.Math/MtxVecInt.h · Cross-compiler