Enum ContourApproximationModes
Approximation method (for all the modes, except CV_RETR_RUNS, which uses built-in approximation).
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public enum ContourApproximationModes
Remarks
Fields
Name | Description |
---|---|
ApproxNone | CHAIN_APPROX_NONE - translate all the points from the chain code into points; |
ApproxSimple | CHAIN_APPROX_SIMPLE - compress horizontal, vertical, and diagonal segments, that is, the function leaves only their ending points; |
ApproxTC89KCOS | CHAIN_APPROX_TC89_KCOS - apply one of the flavors of Teh-Chin chain approximation algorithm. |
ApproxTC89L1 | CHAIN_APPROX_TC89_L1 - apply one of the flavors of Teh-Chin chain approximation algorithm. |