Click or drag to resize

Cv2ContourArea Method (IEnumerablePoint, Boolean)

Calculates the contour area

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static double ContourArea(
	IEnumerable<Point> contour,
	bool oriented = false
)

Parameters

contour
Type: System.Collections.GenericIEnumerablePoint
The contour vertices, represented by CV_32SC2 or CV_32FC2 matrix
oriented (Optional)
Type: SystemBoolean

[Missing <param name="oriented"/> documentation for "M:OpenCvSharp.Cv2.ContourArea(System.Collections.Generic.IEnumerable{OpenCvSharp.Point},System.Boolean)"]

Return Value

Type: Double

[Missing <returns> documentation for "M:OpenCvSharp.Cv2.ContourArea(System.Collections.Generic.IEnumerable{OpenCvSharp.Point},System.Boolean)"]

See Also