Calculates area of the whole contour or contour section.

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

Syntax

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

Parameters

contour
IntPtr
Seq (sequence or array of vertices).
slice
MCvSlice
Starting and ending points of the contour section of interest, by default area of the whole contour is calculated

Return Value

The area of the whole contour or contour section

See Also