DataMatrixDescriptionOptions

NI Vision for LabWindows/CVI Function

DataMatrixDescriptionOptions

Specifies the description options the function uses when searching for the Data Matrix barcode in the image.

Elements

Name

Type

Description

aspectRatio float Specifies the ratio of the width of each Data Matrix barcode cell (in pixels) to the height of the Data Matrix barcode (in pixels). Setting this value to 0 indicates the function should determine the aspect ratio.
rows unsigned int Specifies the number of rows in the Data Matrix barcode. Setting this value to 0 indicates the function should determine the number of rows.
columns unsigned int Specifies the number of columns in the Data Matrix barcode. Setting this value to 0 indicates the function should determine the number of columns.
rectangle int Set this element to TRUE to specify that the Data Matrix barcode is rectangular. Set this element to FALSE to specify that the Data Matrix barcode is square. If both rows and columns are non-zero, the function will ignore this element.
ecc DataMatrixECC Specifies the ECC used for this Data Matrix barcode.
polarity DataMatrixPolarity Specifies the data-to-background contrast for the Data Matrix barcode.
cellFill DataMatrixCellFillMode Specifies the fill percentage for a cell of the Data Matrix barcode that is in the "ON" state.
minBorderIntegrity float Specifies the minimum percentage of the border (locator pattern and timing pattern) the function should expect in the Data Matrix barcode. During the location phase, the function will ignore possible Data Matrix barcode candidates that do not have at least this level of border integrity.
mirrorMode DataMatrixMirrorMode Specifies if the Data Matrix barcode appears normally in the image or if the barcode appears mirrored in the image.