Table of Contents

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 = 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;

ApproxTC89KCOS = 4

CHAIN_APPROX_TC89_KCOS - apply one of the flavors of Teh-Chin chain approximation algorithm.

ApproxTC89L1 = 3

CHAIN_APPROX_TC89_L1 - apply one of the flavors of Teh-Chin chain approximation algorithm.

Remarks