CvMomentsGetSpatialMoment Method OpenCvSharp Class Library
Retrieves spatial moment from moment state structure

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public double GetSpatialMoment(
	int x_order,
	int y_order
)

Parameters

x_order
Type: SystemInt32
x order of the retrieved moment, x_order >= 0
y_order
Type: SystemInt32
y order of the retrieved moment, y_order >= 0 and x_order + y_order <= 3

Return Value

Type: Double
Spatial moments
See Also

Reference