Calculates area of the whole contour or contour section.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- contour
- Type: OpenCvSharpCvArr
Contour (sequence or array of vertices). - slice
- Type: OpenCvSharpCvSlice
Starting and ending points of the contour section of interest, by default area of the whole contour is calculated.
Return Value
Type: Double[Missing <returns> documentation for "M:OpenCvSharp.Cv.ContourArea(OpenCvSharp.CvArr,OpenCvSharp.CvSlice)"]
See Also