contour approximation method
Namespace:
Emgu.CV.CvEnumAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
| C# |
|---|
public enum CHAIN_APPROX_METHOD |
| Visual Basic (Declaration) |
|---|
Public Enumeration CHAIN_APPROX_METHOD |
| Visual C++ |
|---|
public enum class CHAIN_APPROX_METHOD |
Members
| Member name | 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
|