[This is preliminary documentation and is subject to change.]
The function GetSpatialMoment retrieves the spatial moment, which in case of image moments is defined as:
Mx_order,y_order=sumx,y(I(x,y)?x_order?y_order)
where I(x,y) is the intensity of the pixel (x, y).
Namespace:
Emgu.CV.StructureAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- x_order
- Int32
x order of the retrieved moment, x_order >= 0
- y_order
- Int32
y order of the retrieved moment, y_order >= 0 and x_order + y_order <= 3