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.10.1935 (2.4.10.1935)

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
)
F#
static member cvContourArea : 
        contour : IntPtr * 
        slice : MCvSlice * 
        oriented : int -> float 

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

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

See Also