EMovingAverage::SetSize

Initializes a moving average context with appropriate parameters.

Namespace: Euresys::Open_eVision

[C++]

void SetSize(
   OEV_UINT32 numberOfImages,
   int imageWidth,
   int imageHeight,
   bool internalAllocationScheme
)

Parameters

numberOfImages

Number of images on which to integrate. A power of 2 is recommended.

imageWidth

Image width.

imageHeight

Image height.

internalAllocationScheme

Buffer allocation scheme. When true, the moving average context provides the image to be acquired into (see member EMovingAverage::SrcImage).

EMovingAverage.SetSize

Initializes a moving average context with appropriate parameters.

Namespace: Euresys.Open_eVision

[C#]

void SetSize(
   uint numberOfImages,
   int imageWidth,
   int imageHeight,
   bool internalAllocationScheme
)

Parameters

numberOfImages

Number of images on which to integrate. A power of 2 is recommended.

imageWidth

Image width.

imageHeight

Image height.

internalAllocationScheme

Buffer allocation scheme. When true, the moving average context provides the image to be acquired into (see member EMovingAverage::SrcImage).