Click or drag to resize
CvInvokecvGetCentralMoment Method
http://www.emgu.com
Retrieves the central moment, which in case of image moments is defined as: mu_{x_order,y_order}=sum_{x,y}(I(x,y)*(x-x_c)^{x_order} * (y-y_c)^{y_order}), where x_c=M10/M00, y_c=M01/M00 - coordinates of the gravity center

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public static double cvGetCentralMoment(
	ref MCvMoments moments,
	int xOrder,
	int yOrder
)

Parameters

moments
Type: Emgu.CV.StructureMCvMoments
Reference to the moment state structure
xOrder
Type: SystemInt32
x order of the retrieved moment, xOrder >= 0.
yOrder
Type: SystemInt32
y order of the retrieved moment, yOrder >= 0 and xOrder + y_order <= 3

Return Value

Type: Double
The center moment
See Also