You are here: Start » AVL.NET » AVL.ReadSingleDataMatrix_Deprecated(AvlNet.Image, AvlNet.Rectangle2D?, AvlNet.CoordinateSystem2D?, bool, AvlNet.DataMatrixCodeType, int?, int?, AvlNet.DataMatrix?, AvlNet.Rectangle2D, AvlNet.Image)

AVL.ReadSingleDataMatrix_Deprecated(AvlNet.Image, AvlNet.Rectangle2D?, AvlNet.CoordinateSystem2D?, bool, AvlNet.DataMatrixCodeType, int?, int?, AvlNet.DataMatrix?, AvlNet.Rectangle2D, AvlNet.Image)

Detects and recognizes a single Data Matrix code.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void ReadSingleDataMatrix_Deprecated(
	AvlNet.Image inImage,
	AvlNet.Rectangle2D? inRoi,
	AvlNet.CoordinateSystem2D? inRoiAlignment,
	bool inAllowRectangular,
	AvlNet.DataMatrixCodeType inCodeType,
	int? inCodeColumnCount,
	int? inCodeRowCount,
	out AvlNet.DataMatrix? outDataMatrix,
	out AvlNet.Rectangle2D outAlignedRoi,
	out AvlNet.Image diagValues
)

Parameters

inImage
Type: AvlNet.Image
Input image
inRoi
Type: System.Nullable<AvlNet.Rectangle2D>
Range of pixels to be processed, or null.
inRoiAlignment
Type: System.Nullable<AvlNet.CoordinateSystem2D>
Adjusts the region of interest to the position of the inspected object, or null.
inAllowRectangular
Type: System.Boolean
Enables detecting rectangular Data Matrices
inCodeType
Type: AvlNet.DataMatrixCodeType
inCodeColumnCount
Type: System.Nullable<System.Int32>
Optional width of a Data Matrix, or null.
inCodeRowCount
Type: System.Nullable<System.Int32>
Optional height of a Data Matrix, or null.
outDataMatrix
Type: System.Nullable<AvlNet.DataMatrix>
outAlignedRoi
Type: AvlNet.Rectangle2D
diagValues
Type: AvlNet.Image
Image of decoded Data Matrix used by the reading algorithm

Description

This filter is a composition of DetectDataMatrices_Deprecated and RecognizeSingleDataMatrix_Deprecated filters.

Supported code types: ECC 200 and ECC 000-140.

Around datamatrix must be quiet zone. The minimum quiet zone is equal to the width of a module on all four sides. For applications with moderate to excessive reflected noise in close proximity to the symbol, a quiet zone of 2 to 4 module widths is recommended.

Examples

DataMatrix on blurry image.

Low quality DataMatrix code.

DataMatrix on chip.

Rectangular DataMatrix code.

Remarks

For more information about local coordinate systems please refer to the following article.

See also