http://www.emgu.com
Calculates area of the whole contour or contour section.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public static double cvContourArea(
	IntPtr contour,
	MCvSlice slice,
	int oriented
)
Visual Basic
Public Shared Function cvContourArea ( _
	contour As IntPtr, _
	slice As MCvSlice, _
	oriented As Integer _
) As Double
Visual C++
public:
static double cvContourArea(
	IntPtr contour, 
	MCvSlice slice, 
	int oriented
)

Parameters

contour
Type: System..::..IntPtr
Seq (sequence or array of vertices).
slice
Type: Emgu.CV.Structure..::..MCvSlice
Starting and ending points of the contour section of interest, by default area of the whole contour is calculated
oriented
Type: System..::..Int32
If zero, the absolute area will be returned. Otherwise the returned value mighted be negative

Return Value

The area of the whole contour or contour section

See Also