A Universal Algorithm for Discretizing Bichromatic Two-Dimensional Graphic Codes

Mathematical foundations and algorithms for recognizing bichromatic two-dimensional graphic codes, regardless of their type (QR codes, DataMatrix, GridMatrix, etc.) are presented. The stages of achieving the result include detecting the code, localizing it within an arbitrary quadrilateral, transforming the quadrilateral to a canonical square, constructing a grid of elements (modules) of the square code, and filling it with a sequence of bits. It is shown that perspective transformation formulas make it possible to transform localized quadrangular regions to canonical squares with an acceptable error level for further processing. A flat grid of square code elements is formed based on the search for extrema of the derivatives of the pixel intensity distribution of the square image along the axes x and y. The algorithm for filling grid cells (code modules) with a sequence of zeros and ones uses information about the average intensity of each such cell. At the end of the paper, the algorithms are tested on a variety of real images of two-dimensional codes, and the limitations of the proposed algorithms are examined.

Authors

Institutions

Publication Details

Journal
Programming and Computer Software
Published
2024-09-26
DOI
https://doi.org/10.1134/s0361768824700178
Primary Topic
QR Code Applications and Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Universal Algorithm for Discretizing Bichromatic Two-Dimensional Graphic Codes

Maksim Shadrin, А. А. Трубицын, S. I. Kholkin
Programming and Computer Software
QR Code Applications and Technologies
article

A Universal Algorithm for Discretizing Bichromatic Two-Dimensional Graphic Codes

Maksim Shadrin, А. А. Трубицын, S. I. Kholkin
article en

Abstract

Mathematical foundations and algorithms for recognizing bichromatic two-dimensional graphic codes, regardless of their type (QR codes, DataMatrix, GridMatrix, etc.) are presented. The stages of achieving the result include detecting the code, localizing it within an arbitrary quadrilateral, transforming the quadrilateral to a canonical square, constructing a grid of elements (modules) of the square code, and filling it with a sequence of bits. It is shown that perspective transformation formulas make it possible to transform localized quadrangular regions to canonical squares with an acceptable error level for further processing. A flat grid of square code elements is formed based on the search for extrema of the derivatives of the pixel intensity distribution of the square image along the axes x and y. The algorithm for filling grid cells (code modules) with a sequence of zeros and ones uses information about the average intensity of each such cell. At the end of the paper, the algorithms are tested on a variety of real images of two-dimensional codes, and the limitations of the proposed algorithms are examined.

Programming and Computer SoftwareVol. 50(5)
Ryazan State Radio Engineering University (RU), Research Institute "Quantum" (RU), Moscow Polytechnic University (RU)
Openalex Percentile: Top 75%
QR Code Applications and Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Universal Algorithm for Discretizing Bichromatic Two-Dimensional Graphic Codes — Maksim Shadrin, А. А. Трубицын, et al. · Programming and Computer Software (2024) | TGRS Research Map | TGRS