The function replaces the retrieved contour, that was returned from the preceding call of cvFindNextContour and stored inside the contour scanner state, with the user-specified contour. The contour is inserted into the resulting structure, list, two-level hierarchy, or tree, depending on the retrieval mode. If the parameter new contour is IntPtr.Zero, the retrieved contour is not included in the resulting structure, nor are any of its children that might be added to this structure later.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvSubstituteContour(
	IntPtr scanner,
	IntPtr newContour
)
Public Shared Sub cvSubstituteContour ( _
	scanner As IntPtr, _
	newContour As IntPtr _
)
public:
static void cvSubstituteContour(
	IntPtr scanner, 
	IntPtr newContour
)

Parameters

scanner
IntPtr
Contour scanner initialized by cvStartFindContours
newContour
IntPtr
Substituting contour

See Also