ETcVnDataMatrixOptions
Offers Data Matrix code detection options.
Syntax
Definition:
enum ETcVnDataMatrixOptions : ULONGLONG
{
DMO_DEFAULT = 0,
DMO_BINARY_INPUT = 1,
DMO_GLOBAL_THRESHOLD = 2,
DMO_BINARY_GRID = 4,
DMO_STATIC_GRID = 8,
DMO_REGULAR_COLOR = 16,
DMO_INVERTED_COLOR = 32
};
Values
Name |
Description |
---|---|
DMO_DEFAULT |
Expects a graylevel image as input. Applies an adaptive local threshold and creates a dynamic grid based on the clock pattern. |
DMO_BINARY_INPUT |
Expects a binary image as input (all pixels must contain 0 or 255, disables internal preprocessing) |
DMO_GLOBAL_THRESHOLD |
Applies a global instead of an adaptive local threshold (requires uniform illumination) |
DMO_BINARY_GRID |
Create the dynamic grid based on the binary instead of the graylevel image |
DMO_STATIC_GRID |
Use an equally spaced static grid instead of a dynamic one |
DMO_REGULAR_COLOR |
Only search for regular color (dark code on light background) |
DMO_INVERTED_COLOR |
Only search for inverted color (light code on dark background) |