DataMatrixCodeParams

Description

Specifies range of possible data matrix codes.

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

  • Polarity Polarity = Any - Specifies whether code is darker or brighter than the background
  • int MinRowCount = 8 - Minimal number of module rows
  • int MaxRowCount = 32 - Maximal number of module rows
  • int MinColumnCount = 8 - Minimal number of module columns
  • int MaxColumnCount = 32 - Maximal number of module columns
  • float MinModuleSize = 4 - Minimal size of a module in pixels
  • float MaxModuleSize = 40 - Maximal size of a module in pixels
  • DataMatrixGapSize ExpectedGapSize = Small - Highest distance between neighboring marks in the Finder Pattern
  • float MaxRectangleRatio = 4.0f - Length ratio between the longer and the shorter side of the code's bounding rectangle
  • float MaxSlant = 20.0f - Maximal deviation from the right angle in the corner of the Finder Pattern
  • bool AllowPerspective = true - Allows codes with perspective distortion (up to a certain level)
  • bool AllowOversizedModules = true - Allows codes with foreground modules overlapping background modules
  • bool AllowRotation = true - Allows codes rotated in relation to the axes of the input image
  • DataMatrixDistortionLevel AllowDistortion = Low - Allows codes which are distorted