Enum ContourApproximationModes
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Approximation method (for all the modes, except CV_RETR_RUNS, which uses built-in approximation).
[SuppressMessage("Microsoft.Design", "CA1717: Only FlagsAttribute enums should have plural names")]
public enum ContourApproximationModes
Fields
ApproxNone = 1CHAIN_APPROX_NONE - translate all the points from the chain code into points;
ApproxSimple = 2CHAIN_APPROX_SIMPLE - compress horizontal, vertical, and diagonal segments, that is, the function leaves only their ending points;
ApproxTC89KCOS = 4CHAIN_APPROX_TC89_KCOS - apply one of the flavors of Teh-Chin chain approximation algorithm.
ApproxTC89L1 = 3CHAIN_APPROX_TC89_L1 - apply one of the flavors of Teh-Chin chain approximation algorithm.