http://www.emgu.com
contour approximation method

Namespace: Emgu.CV.CvEnum
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public enum CHAIN_APPROX_METHOD
Visual Basic
Public Enumeration CHAIN_APPROX_METHOD
Visual C++
public enum class CHAIN_APPROX_METHOD

Members

Member nameValueDescription
CV_CHAIN_CODE0 output contours in the Freeman chain code. All other methods output polygons (sequences of vertices).
CV_CHAIN_APPROX_NONE1 translate all the points from the chain code into points;
CV_CHAIN_APPROX_SIMPLE2 compress horizontal, vertical, and diagonal segments, that is, the function leaves only their ending points;
CV_CHAIN_APPROX_TC89_L13
CV_CHAIN_APPROX_TC89_KCOS4 apply one of the flavors of Teh-Chin chain approximation algorithm
CV_LINK_RUNS5 use completely different contour retrieval algorithm via linking of horizontal segments of 1s. Only CV_RETR_LIST retrieval mode can be used with this method

See Also