You are here: Symbol Reference > MtxExpr Namespace > Classes > Vector Record > public > PixelDownSample Method > Vector.PixelDownSample Method (integer, TVec, TVec, TVec, TEquidistantSample)
MtxVec VCL
ContentsIndex
PreviousUpNext
Vector.PixelDownSample Method (integer, TVec, TVec, TVec, TEquidistantSample)

Downsample the vectors Y and (optionaly) X starting at position Index and for Len samples.

Pascal
procedure PixelDownSample(Width: integer; Y: TVec; X: TVec = nil; NX: TVec = nil; Equidistant: TEquidistantSample = eqsXEquidistant); overload;

Store result for Y in the calling vector and the result for X in the NX vector. If X axis is equidistant, you can omit X and NX parameters. Set Width to the number of target pixels. An exception is reaised, if any of the vectors is complex or if array borders are overrun/underrun.

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