ContourChain Enumeration OpenCvSharp Class Library
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.0 (1.0.0.0)
Syntax

public enum ContourChain
Members

  Member nameValueDescription
Code0 CV_CHAIN_CODE - output contours in the Freeman chain code. All other methods output polygons (sequences of vertices).
ApproxNone1 CV_CHAIN_APPROX_NONE - translate all the points from the chain code into points;
ApproxSimple2 CV_CHAIN_APPROX_SIMPLE - compress horizontal, vertical, and diagonal segments, that is, the function leaves only their ending points;
ApproxTC89L13 CV_CHAIN_APPROX_TC89_L1 - apply one of the flavors of Teh-Chin chain approximation algorithm.
ApproxTC89KCOS4 V_CHAIN_APPROX_TC89_KCOS - apply one of the flavors of Teh-Chin chain approximation algorithm.
LinkRuns5 CV_LINK_RUNS - use completely different contour retrieval algorithm via linking of horizontal segments of 1’s. Only CV_RETR_LIST retrieval mode can be used with this method.
See Also

Reference