Calculates area of the whole contour or contour section.
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public static double cvContourArea( IntPtr contour, MCvSlice slice ) |
Visual Basic (Declaration) |
---|
Public Shared Function cvContourArea ( _ contour As IntPtr, _ slice As MCvSlice _ ) As Double |
Visual C++ |
---|
public: static double cvContourArea( IntPtr contour, MCvSlice slice ) |
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