EBW32Vector::WeightedMoment

Returns the first order geometric moment (weighted gravity center).

Namespace: Euresys::Open_eVision

[C++]

float WeightedMoment(
   OEV_UINT32 from,
   OEV_UINT32 to
)

Parameters

from

First element of the vector portion for which the weighted moment will be calculated. By default, this is the first element of the vector.

to

Last element of the vector portion for which the weighted moment will be calculated. By default, this is the last element of the vector.

EBW32Vector.WeightedMoment

Returns the first order geometric moment (weighted gravity center).

Namespace: Euresys.Open_eVision

[C#]

float WeightedMoment(
   uint from,
   uint to
)

Parameters

from

First element of the vector portion for which the weighted moment will be calculated. By default, this is the first element of the vector.

to

Last element of the vector portion for which the weighted moment will be calculated. By default, this is the last element of the vector.