ETcVnDataMatrixOptions

Offers Data Matrix code detection options.

Syntax

Definition:

TYPE ETcVnDataMatrixOptions :
(
    TCVN_DMO_DEFAULT          := 0,
    TCVN_DMO_BINARY_INPUT     := 1,
    TCVN_DMO_GLOBAL_THRESHOLD := 2,
    TCVN_DMO_BINARY_GRID      := 4,
    TCVN_DMO_STATIC_GRID      := 8,
    TCVN_DMO_REGULAR_COLOR    := 16,
    TCVN_DMO_INVERTED_COLOR   := 32
)ULINT;
END_TYPE

Values

Name

Description

TCVN_DMO_DEFAULT

Expects a graylevel image as input. Applies an adaptive local threshold and creates a dynamic grid based on the clock pattern.

TCVN_DMO_BINARY_INPUT

Expects a binary image as input (all pixels must contain 0 or 255, disables internal preprocessing)

TCVN_DMO_GLOBAL_THRESHOLD

Applies a global instead of an adaptive local threshold (requires uniform illumination)

TCVN_DMO_BINARY_GRID

Create the dynamic grid based on the binary instead of the graylevel image

TCVN_DMO_STATIC_GRID

Use an equally spaced static grid instead of a dynamic one

TCVN_DMO_REGULAR_COLOR

Only search for regular color (dark code on light background)

TCVN_DMO_INVERTED_COLOR

Only search for inverted color (light code on dark background)