Enum ContourApproximation
Specifies the available contour approximation methods.
Namespace: OpenCV.Net
Assembly: OpenCV.Net.dll
Syntax
public enum ContourApproximation : int
Fields
Name | Description |
---|---|
ChainApproxNone | Specifies that all the elements of the chain code should be translated into points. |
ChainApproxSimple | Specifies that all horizontal, vertical, and diagonal segments should be compressed, leaving only their end points. |
ChainApproxTC89KCos | Specifies that Teh-Chin's K cosines chain approximation algorithm should be used. |
ChainApproxTC89L1 | Specifies that Teh-Chin's L1 chain approximation algorithm should be used. |
ChainCode | Specifies that contours should be output in the Freeman chain code. |
LinkRuns | Specifies a completely different contour retrieval algorithm by linking horizontal segments of ones. Only the List retrieval mode can be used with this method. |