摘要 |
Provided is a digital information decoding method capable of speedily and surely reading digital information recorded as a two-dimensional pattern by giving a mark to each of matrix meshes set virtually. The two-dimensional pattern is converted into image data composed of image bits. A center position of each mesh is calculated, and a value of the image bit in the calculated center position is read as a value of the mesh. If there is a read error, at least one of first through third analyzing methods is executed to perform re-reading. According to the first analyzing method, the position to be examined is shifted by a specified amount from the center position in the mesh. According to the second analyzing method, a sum of weighted values of the image bits included in the mesh is calculated and compared with a specified threshold value. According to the third analyzing method, based on a distance between a boundary of the mesh being examined and its calculated center position, the calculated center position of the adjacent mesh is corrected to coincide with a true center position of the adjacent mesh.
|