Click or drag to resize
CvInvokeContourArea Method
http://www.emgu.com
Calculates area of the whole contour or contour section.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public static double ContourArea(
	IInputArray contour,
	bool oriented = false
)

Parameters

contour
Type: Emgu.CVIInputArray
Input vector of 2D points (contour vertices), stored in std::vector or Mat.
oriented (Optional)
Type: SystemBoolean
Oriented area flag. If it is true, the function returns a signed area value, depending on the contour orientation (clockwise or counter-clockwise). Using this feature you can determine orientation of a contour by taking the sign of an area. By default, the parameter is false, which means that the absolute value is returned.

Return Value

Type: Double
The area of the whole contour or contour section
See Also