ETcVnContourApproximationMethod
Offers methods for contour approximation.
Syntax
Definition:
enum ETcVnContourApproximationMethod : LONG
{
CAM_NONE = 1,
CAM_SIMPLE = 2,
CAM_TC89_L1 = 3,
CAM_TC89_KCOS = 4
};
Values
Name |
Description |
---|---|
CAM_NONE |
No approximation, every single point is stored, i.e. two subsequent points are always direct neighbors (horizontal, vertical or diagonal). |
CAM_SIMPLE |
Lossless compression of segments that form straight lines in horizontal, vertical or diagonal direction leaving only their endpoints (For instance, an up-right rectangle is reduced to its four corner points.) |
CAM_TC89_L1 |
Compression using a Teh-Chin chain approximation algorithm (IEEE-paper C. Teh, R. Chin, On the Detection of Dominant Points on Digital Curves, 1989). |
CAM_TC89_KCOS |
Compression using a Teh-Chin chain approximation algorithm (IEEE-paper C. Teh, R. Chin, On the Detection of Dominant Points on Digital Curves, 1989). |