http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static double cvGetCentralMoment( ref MCvMoments moments, int xOrder, int yOrder ) |
Visual Basic |
---|
Public Shared Function cvGetCentralMoment ( _ ByRef moments As MCvMoments, _ xOrder As Integer, _ yOrder As Integer _ ) As Double |
Visual C++ |
---|
public: static double cvGetCentralMoment( MCvMoments% moments, int xOrder, int yOrder ) |
Parameters
- moments
- Type: Emgu.CV.Structure..::..MCvMoments%
Reference to the moment state structure
- xOrder
- Type: System..::..Int32
x order of the retrieved moment, xOrder >= 0.
- yOrder
- Type: System..::..Int32
y order of the retrieved moment, yOrder >= 0 and xOrder + y_order <= 3