Retrieves contours from the binary image and returns the number of retrieved contours.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- storage
- Type: OpenCvSharpCvMemStorage
Container of the retrieved contours. - firstContour
- Type: OpenCvSharpCvSeqCvPoint
Output parameter, will contain the pointer to the first outer contour.
Return Value
Type: Int32The number of retrieved contours.
See Also