Calculates all of the moments
up to the third order of a polygon or rasterized shape.
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- array
- Type: System.Collections.GenericIEnumerablePoint2f
Array of 2D points - 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.CPlusPlus.Cv2.Moments(System.Collections.Generic.IEnumerable{OpenCvSharp.CPlusPlus.Point2f},System.Boolean)"]
See Also