Initializes and returns a pointer to the contour scanner. The scanner is used in
cvFindNextContour to retrieve the rest of the contours.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- image
- IntPtr
The 8-bit, single channel, binary source image
- storage
- IntPtr
Container of the retrieved contours
- headerSize
- Int32
Size of the sequence header, >=sizeof(CvChain) if method=CV_CHAIN_CODE, and >=sizeof(CvContour) otherwise
- mode
- RETR_TYPE
Retrieval mode
- method
- CHAIN_APPROX_METHOD
Approximation method (for all the modes, except CV_RETR_RUNS, which uses built-in approximation).
- offset
- Point
Offset, by which every contour point is shifted. This is useful if the contours are extracted from the image ROI and then they should be analyzed in the whole image context