Click or drag to resize

ImageTColor, TDepthGetMoments Method

http://www.emgu.com
Calculates spatial and central moments up to the third order and writes them to moments. The moments may be used then to calculate gravity center of the shape, its area, main axises and various shape characteristics including 7 Hu invariants.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public Moments GetMoments(
	bool binary
)

Parameters

binary
Type: SystemBoolean
If the flag is true, all the zero pixel values are treated as zeroes, all the others are treated as 1's

Return Value

Type: Moments
spatial and central moments up to the third order
See Also