Emgu CV Library Documentation
cvGetSpatialMoment Method (moments, xOrder, yOrder)
NamespacesEmgu.CVCvInvokecvGetSpatialMoment(MCvMoments%, Int32, Int32)

www.emgu.com/wiki
Retrieves the spatial moment, which in case of image moments is defined as: MxOrder,yOrder=sumx,y(I(x,y) * xxOrder * yyOrder) where I(x,y) is the intensity of the pixel (x, y).
Declaration Syntax
C#Visual BasicVisual C++
public static double cvGetSpatialMoment(
	ref MCvMoments moments,
	int xOrder,
	int yOrder
)
Public Shared Function cvGetSpatialMoment ( _
	ByRef moments As MCvMoments, _
	xOrder As Integer, _
	yOrder As Integer _
) As Double
public:
static double cvGetSpatialMoment(
	MCvMoments% moments, 
	int xOrder, 
	int yOrder
)
Parameters
moments ( MCvMoments %)
The moment state
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
Return Value
The spatial moment

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)