ECodedElement::GetMoment

Computes the raw, two-dimensional moment of order (p,q).

Namespace: Euresys::Open_eVision

[C++]

double GetMoment(
   OEV_UINT32 p,
   OEV_UINT32 q
)

Parameters

p

Order of the moment along the X-axis.

q

Order of the moment along the Y-axis.

Remarks

<latex>M_{pq} = \sum_x \sum_y x^p y^q I(x,y)</latex>

ECodedElement.GetMoment

Computes the raw, two-dimensional moment of order (p,q).

Namespace: Euresys.Open_eVision

[C#]

double GetMoment(
   uint p,
   uint q
)

Parameters

p

Order of the moment along the X-axis.

q

Order of the moment along the Y-axis.

Remarks

<latex>M_{pq} = \sum_x \sum_y x^p y^q I(x,y)</latex>