contour approximation method

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

Member | Description |
---|---|
CV_CHAIN_CODE |
output contours in the Freeman chain code. All other methods output polygons (sequences of vertices).
|
CV_CHAIN_APPROX_NONE |
translate all the points from the chain code into points;
|
CV_CHAIN_APPROX_SIMPLE |
compress horizontal, vertical, and diagonal segments, that is, the function leaves only their ending points;
|
CV_CHAIN_APPROX_TC89_L1 | |
CV_CHAIN_APPROX_TC89_KCOS |
apply one of the flavors of Teh-Chin chain approximation algorithm
|
CV_LINK_RUNS |
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
|