You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Vector Structure > Vector Methods > PixelDownSample Method > Vector.PixelDownSample Method (int, TVec, TVec, TVec, TEquidistantSample)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Vector.PixelDownSample Method (int, TVec, TVec, TVec, TEquidistantSample)

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

Syntax
C#
Visual Basic
public void PixelDownSample(int Width, TVec Y, TVec X, TVec NX, TEquidistantSample Equidistant);

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-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!