http://www.emgu.com
Initializes and returns a pointer to the contour scanner. The scanner is used in cvFindNextContour to retrieve the rest of the contours.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public static IntPtr cvStartFindContours(
	IntPtr image,
	IntPtr storage,
	int headerSize,
	RETR_TYPE mode,
	CHAIN_APPROX_METHOD method,
	Point offset
)
Visual Basic
Public Shared Function cvStartFindContours ( _
	image As IntPtr, _
	storage As IntPtr, _
	headerSize As Integer, _
	mode As RETR_TYPE, _
	method As CHAIN_APPROX_METHOD, _
	offset As Point _
) As IntPtr
Visual C++
public:
static IntPtr cvStartFindContours(
	IntPtr image, 
	IntPtr storage, 
	int headerSize, 
	RETR_TYPE mode, 
	CHAIN_APPROX_METHOD method, 
	Point offset
)

Parameters

image
Type: System..::..IntPtr
The 8-bit, single channel, binary source image
storage
Type: System..::..IntPtr
Container of the retrieved contours
headerSize
Type: System..::..Int32
Size of the sequence header, >=sizeof(CvChain) if method=CV_CHAIN_CODE, and >=sizeof(CvContour) otherwise
mode
Type: Emgu.CV.CvEnum..::..RETR_TYPE
Retrieval mode
method
Type: Emgu.CV.CvEnum..::..CHAIN_APPROX_METHOD
Approximation method (for all the modes, except CV_RETR_RUNS, which uses built-in approximation).
offset
Type: System.Drawing..::..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

Return Value

Pointer to the contour scaner

See Also