Table of Contents

Enum ChainApproxMethod

Namespace
Emgu.CV.CvEnum
Assembly
Emgu.CV.dll

contour approximation method

public enum ChainApproxMethod

Fields

ChainApproxNone = 1

translate all the points from the chain code into points;

ChainApproxSimple = 2

compress horizontal, vertical, and diagonal segments, that is, the function leaves only their ending points;

ChainApproxTc89Kcos = 4

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

ChainApproxTc89L1 = 3
ChainCode = 0

output contours in the Freeman chain code. All other methods output polygons (sequences of vertices).

LinkRuns = 5

use completely different contour retrieval algorithm via linking of horizontal segments of 1s. Only LIST retrieval mode can be used with this method