Retrieves the central moment, which in case of image moments is defined as:
Mu xOrder,yOrder=sumx,y(I(x,y) * (x-xc)xOrder *(y-yc)yOrder),
where xc=M10/M00, yc=M01/M00 - coordinates of the gravity center

C# | Visual Basic | Visual C++ |
public static double cvGetCentralMoment( ref MCvMoments moments, int xOrder, int yOrder )
Public Shared Function cvGetCentralMoment ( _ ByRef moments As MCvMoments, _ xOrder As Integer, _ yOrder As Integer _ ) As Double
public: static double cvGetCentralMoment( MCvMoments% moments, int xOrder, int yOrder )

- moments ( MCvMoments %)
- Pointer to the moment state structure
- xOrder (Int32)
- x order of the retrieved moment, xOrder >= 0.
- yOrder (Int32)
- y order of the retrieved moment, yOrder >= 0 and xOrder + y_order <= 3

The center moment