ETcVnContourApproximationMethod

Offers methods for contour approximation.

Syntax

Definition:

TYPE ETcVnContourApproximationMethod :
(
    TCVN_CAM_NONE      := 1,
    TCVN_CAM_SIMPLE    := 2,
    TCVN_CAM_TC89_L1   := 3,
    TCVN_CAM_TC89_KCOS := 4
)DINT;
END_TYPE

Values

Name

Description

TCVN_CAM_NONE

No approximation, every single point is stored, i.e. two subsequent points are always direct neighbors (horizontal, vertical or diagonal).

TCVN_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.)

TCVN_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).

TCVN_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).

Weiterführende Informationen

Über diesen Typ wird angegeben, ob - und wenn ja - wie die eine Kontur beschreibenden Punkte vereinfacht werden sollen.

Verwandte Funktionen