CvMoments Constructor (CvArr, Boolean) OpenCvSharp Class Library
Initialize by cvMoments

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

public CvMoments(
	CvArr arr,
	bool binary
)

Parameters

arr
Type: OpenCvSharpCvArr
Image (1-channel or 3-channel with COI set) or polygon (CvSeq of points or a vector of points).
binary
Type: SystemBoolean
(For images only) If the flag is non-zero, all the zero pixel values are treated as zeroes, all the others are treated as 1’s.
See Also

Reference