You are here: Symbol Reference > MtxExprInt Namespace > Classes > VectorInt Record > public > Median Method > VectorInt.Median Method (TMtxVecInt, integer, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
VectorInt.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; const MaskSize: integer; const SrcIndex: integer; const Index: integer; const 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-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!