Click or drag to resize

MatMoments Method

Calculates all of the moments up to the third order of a polygon or rasterized shape. The input is a raster image (single-channel, 8-bit or floating-point 2D array).

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public Moments Moments(
	bool binaryImage = false
)

Parameters

binaryImage (Optional)
Type: SystemBoolean
If it is true, then all the non-zero image pixels are treated as 1’s

Return Value

Type: Moments

[Missing <returns> documentation for "M:OpenCvSharp.Mat.Moments(System.Boolean)"]

See Also