http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Calculates area of the whole contour or contour section.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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