| ContourApproximationModes Enumeration |
Approximation method (for all the modes, except CV_RETR_RUNS, which uses built-in approximation).
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public enum ContourApproximationModes
Public Enumeration ContourApproximationModes
public enum class ContourApproximationModes
type ContourApproximationModes
Members
| Member name | Value | Description |
---|
| ApproxNone | 1 |
CHAIN_APPROX_NONE - translate all the points from the chain code into points;
|
| ApproxSimple | 2 |
CHAIN_APPROX_SIMPLE - compress horizontal, vertical, and diagonal segments, that is, the function leaves only their ending points;
|
| ApproxTC89L1 | 3 |
CHAIN_APPROX_TC89_L1 - apply one of the flavors of Teh-Chin chain approximation algorithm.
|
| ApproxTC89KCOS | 4 |
CHAIN_APPROX_TC89_KCOS - apply one of the flavors of Teh-Chin chain approximation algorithm.
|
See Also