You are here: Symbol Reference > AbstractMtxVecInt Namespace > Classes > TMtxVecInt Class > public > Median Method > TMtxVecInt.Median Method (TMtxVecInt, integer, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVecInt.Median Method (TMtxVecInt, integer, integer, integer, integer)

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].

Pascal
function Median(const Src: TMtxVecInt; MaskSize: integer; SrcIndex: integer; Index: integer; Len: integer): TMtxVecInt; overload;

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.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!