contour retrieval mode

C# | Visual Basic | Visual C++ |
public enum RETR_TYPE
Public Enumeration RETR_TYPE
public enum class RETR_TYPE

Member | Description |
---|---|
CV_RETR_EXTERNAL |
retrive only the extreme outer contours
|
CV_RETR_LIST |
retrieve all the contours and puts them in the list
|
CV_RETR_CCOMP |
retrieve all the contours and organizes them into two-level hierarchy: top level are external boundaries of the components, second level are bounda boundaries of the holes
|
CV_RETR_TREE |
retrieve all the contours and reconstructs the full hierarchy of nested contours
|