MCvMomentsGetCentralMoment 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.StructureAssembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic double GetCentralMoment(
int xOrder,
int yOrder
)
Public Function GetCentralMoment (
xOrder As Integer,
yOrder As Integer
) As Double
public:
double GetCentralMoment(
int xOrder,
int yOrder
)
member GetCentralMoment :
xOrder : int *
yOrder : int -> float
Parameters
- xOrder
- Type: SystemInt32
x order of the retrieved moment, x_order >= 0. - yOrder
- Type: SystemInt32
y order of the retrieved moment, y_order >= 0 and x_order + y_order <= 3
Return Value
Type:
DoubleThe center moment
See Also