DataMatrixCodeParams

Description

Specifies range of possible data matrix codes.

Structure Fields

Type fields and default values (if defined) are described below:

Name Type Default Description
Polarity CodePolarity* Any Specifies whether code is darker or brighter than the background
MinRowCount Integer 8 Minimal number of module rows
MaxRowCount Integer 72 Maximal number of module rows
MinColumnCount Integer 8 Minimal number of module columns
MaxColumnCount Integer 72 Maximal number of module columns
MinModuleSize Real 4 Minimal size of a module in pixels
MaxModuleSize Real 40 Maximal size of a module in pixels
ExpectedGapSize DataMatrixGapSize* Small Highest distance between neighboring marks in the Finder Pattern
MaxRectangleRatio Real* 4.0f Length ratio between the longer and the shorter side of the code's bounding rectangle
MaxSlant Real 20.0f Maximal deviation from the right angle in the corner of the Finder Pattern
AllowPerspective Bool true Allows codes with perspective distortion (up to a certain level)
AllowOversizedModules Bool true Allows codes with foreground modules overlapping background modules
AllowRotation Bool true Allows codes rotated in relation to the axes of the input image
AllowDistortion DataMatrixDistortionLevel* Low Allows codes which are distorted
AllowBrokenTiming Bool true Tries to decode a candidate even if there is no correct Timing Pattern
AllowBrokenFinder Bool true Tries to create a candidate even if there are gaps in the Finder Pattern
AllowMirrored Bool false Allows codes to be mirrored/transposed.