DataMatrix Recognizer - Help

Version 1.000

 

Introduction

 

Program DataMatrix Recognizer is intended for recognition, decoding and coding of codes DataMatrix. Support of graphics formats JPEG, GIF, BMP is carried out. Possibility of recognition of graphics files which turn out, for example, at shooting of the camera of a mobile phone is realised. In the presence of graphics files generated by encoders DataMatrix, they are simply decoded without usage of functions of recognition. Realised coding DataMatrix, covers all modes and the accessible sizes.

 

1. Description of the standard DataMatrix

 

Technology 2D DataMatrix codes allows to code before 1556 bytes, 2335 symbols of the latin alphabet and 3116 digital units. Exist 24 sizes square symbol and 6 sizes rectangle symbol DataMatrix with adjustment error Reed-Solomon, providing possibility of the damage of the code from 28 before 62%.

 

Tab. 1 - Square symbols DataMatrix

Nubmer

Size

Data Capacity

% Error correction

Num.

Alpha num.

Byte

1

10x10

6

3

1

62.5

2

12x12

10

6

3

58.3

3

14x14

16

10

6

55.6

4

16x16

24

16

10

50

5

18x18

36

25

16

43.8

6

20x20

44

31

20

45

7

22x22

60

43

28

40

8

24x24

72

52

34

40

9

26x26

88

64

42

38.9

10

32x32

124

91

60

36.7

11

36x36

172

127

84

32.8

12

40x40

228

169

112

29.6

13

44x44

288

214

142

28

14

48x48

348

259

172

28.1

15

52x52

408

304

202

29.2

16

64x64

560

418

277

28.6

17

72x72

736

550

365

28.1

18

80x80

912

682

453

29.6

19

88x88

1152

862

573

28

20

96x96

1392

1042

693

28.1

21

104x104

1632

1222

813

29.2

22

120x120

2100

1573

1047

28

23

132x132

2608

1954

1301

27.6

24

144x144

3116

2335

1556

28.5

 

Tab. 2 - Rectangle symbols DataMatrix

Nubmer

Size

Data Capacity

% Error correction

Num.

Alpha num.

Byte

25

8x18

10

6

3

58.3

26

8x32

20

13

8

52.4

27

12x26

32

22

14

46.7

28

12x36

44

31

20

45.0

29

16x36

64

46

30

42.9

30

16x48

98

72

47

36.4

 

The High level of the coding DataMatrix supports 6 different modes, herewith ASCII mode consists of 3 sub-mode.

 

Tab. 3 - Modes of the coding DataMatrix

Number

Mode

Comment

0

ASCII standard

ASCII extended

ASCII numeric

ASCII character 0-127

ASCII character 128-255

Digits

1

C40

Character 0-127

2

TEXT

Character 0-127

3

X12

Character 13, 32, 42, 48-57, 62, 65-90

4

EDIFACT

Character 32-94

5

BASE256

Character 0-255

 

2. The description of functions of the program DataMatrix Recognizer

 

2.1. Interface

 

The basic working window of the program is presented in drawing 1:

 

 

Fig. 1 – The basic working window of the program DataMatrix Recognizer

 

As a whole it is visible that the program consists of following blocks: the menu (1), blocks of recognition (2), decoding (3) and encodings (4), graphic blocks (5) and (6), the block of input-output of the text (7), status line (8).

The menu contains a few items which, nevertheless, cover all necessary operations:

«File → Open» – causes a window of opening of graphic files of formats JPEG, GIF, BMP. Successfully open file is loaded into the graphic block (5). At failure the error stands out.

«File → Save» – calls a window of saving of a graphics file in format BMP which transfers control of the function saving the maps of the graphics block (6). The result of recognition or coding can be the map in this block.

«File → Options» – causes a window of options of the program (fig. 2). Here only two options – language switching (Russian, English), a choice of the size of an element of a matrix at performance of operation of coding. The size of a cell of a matrix should lie in limits from 1 to 50 pixels.

 

 

Fig. 2 – Window of options of the program

 

Other elements of the menu are clear and do not represent interest. Blocks of recognition, decoding and coding will be described more low. It is necessary to notice, what a badge « in corners of each block by pressing it translates the user to a brief information window, for example fig. 3.

 

 

Fig.3 – Brief information window

 

Graphics blocks are intended for mapping: (5) – the entry graphics information; (6) – the output graphics information. The graphics files which received by means of operations of coding or have been removed by a videocamera concern the entry graphics information (for example, a mobile phone). Double click on each graphics block allows to change map scale – expanded or total size.

The block of input-output of the text (7) is intended for text entering for coding, and also output of the decoded text. The ToolTip shows quantity of characters in this block. The status bar (8) is intended for informing of the user on made operations and errors.

 

2.2. Recognition mode

 

The given mode supports recognition of any way turned images of code DataMatrix received by the chamber under a various corner with a plane. At recognition the width of a cell of a matrix should equal or exceed 3 pixels. The algorithm does not provide possibility to turn colour, to change black for the white. Procedure provides reception of the monochrome image in which great value has the task of level of the brightness dividing dark and light. Use of a mode of automatic definition of brightness in most cases suffices. If code DataMatrix is not found out, you can choose a mode of brightness or in general, to set him. In fig. 4 results of recognition are presented.

 

 

Fig. 4 – Results of recognition

 

2.3. Decoding mode

 

The decoding mode is intended for decoding of the vertical codes DataMatrix generated by this or other programs. The example is resulted in a figure 5.

 

 

Fig. 5 – Decoding DataMatrix

 

2.4. Encoding mode

 

The coding mode supports all described encodings and the sizes. At coding you can set them, for example, we will encode «Hello World» coding C40 (Fig. 6).

 

 

Fig. 6 – Encoding example