| Cv2ContourArea Method (InputArray, Boolean) |
Calculates the contour area
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static double ContourArea(
InputArray contour,
bool oriented = false
)
Public Shared Function ContourArea (
contour As InputArray,
Optional oriented As Boolean = false
) As Double
public:
static double ContourArea(
InputArray^ contour,
bool oriented = false
)
static member ContourArea :
contour : InputArray *
?oriented : bool
(* Defaults:
let _oriented = defaultArg oriented false
*)
-> float
Parameters
- contour
- Type: OpenCvSharpInputArray
The contour vertices, represented by CV_32SC2 or CV_32FC2 matrix - oriented (Optional)
- Type: SystemBoolean
[Missing <param name="oriented"/> documentation for "M:OpenCvSharp.Cv2.ContourArea(OpenCvSharp.InputArray,System.Boolean)"]
Return Value
Type:
Double[Missing <returns> documentation for "M:OpenCvSharp.Cv2.ContourArea(OpenCvSharp.InputArray,System.Boolean)"]
See Also