Class ContourScanner
Represents a contour scanning process.
Namespace: OpenCV.Net
Assembly: OpenCV.Net.dll
Syntax
public sealed class ContourScanner : SafeHandleZeroOrMinusOneIsInvalid
Methods
| Improve this Doc View SourceEndFindContours()
Finishes the scanning process.
Declaration
public Seq EndFindContours()
Returns
Type | Description |
---|---|
Seq | The first contour on the highest level. |
FindNextContour()
Finds the next contour in the image.
Declaration
public Seq FindNextContour()
Returns
Type | Description |
---|---|
Seq | The next contour in the image or null if there are no more contours. |
ReleaseHandle()
Executes the code required to free the native ContourScanner handle.
Declaration
protected override bool ReleaseHandle()
Returns
Type | Description |
---|---|
Boolean | true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false. |
SubstituteContour(Seq)
Replaces the currently retrieved contour.
Declaration
public void SubstituteContour(Seq newContour)
Parameters
Type | Name | Description |
---|---|---|
Seq | newContour | The substituting contour. |