Next Article in Journal
The Adjugate Method: Reassignment with System Classification
Next Article in Special Issue
Real-Time Defect Detection Model in Industrial Environment Based on Lightweight Deep Learning Network
Previous Article in Journal
Few-Shot Air Object Detection Network
Previous Article in Special Issue
Enhancing CNNs Performance on Object Recognition Tasks with Gabor Initialization
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Fast Adaptive Binarization Method for QR Code Images Based on Dynamic Illumination Equalization

1
School of Computer Science, Guangdong Polytechnic Normal University, Guangzhou 510665, China
2
Guangxi Key Lab of Multi-Source Information Mining & Security, Guangxi Normal University, Guilin 541004, China
*
Authors to whom correspondence should be addressed.
Electronics 2023, 12(19), 4134; https://doi.org/10.3390/electronics12194134
Submission received: 6 September 2023 / Revised: 30 September 2023 / Accepted: 2 October 2023 / Published: 4 October 2023
(This article belongs to the Special Issue Convolutional Neural Networks and Vision Applications - Volume III)

Abstract

:
The advancement of Internet of Things (IoT) has enhanced the extensive usage of QR code images in various computer vision applications. Nonetheless, this has also brought forth several technical challenges. In particular, the logistics sorting system often encounters issues such as a low recognition rate and slow processing speed when dealing with QR code images under complex lighting conditions like uneven illumination. To address these difficulties, a method that focuses on achieving a fast adaptive binarization of QR code images through dynamic illumination equalization was proposed. First, an algorithm based on edge enhancement to obtain the position detection patterns within QR code images was applied, which enabled the acquisition of structural features in uneven illumination. Subsequently, QR code images with complex lighting conditions can achieve a fast adaptive binarization through dynamic illumination equalization. As for method validation, the experiments were performed on the two datasets that include QR code images influenced by strong light, weak light, and different shadow degrees. The results disclosed the benefits of the proposed method compared to the previous approaches; it produced superior recognition rates of 78.26–98.75% in various cases through commonly used decoders (Wechat and Zxing), with a faster processing speed of 0.0164 s/image, making it a proper method to satisfy real-time requirements in practical applications, such as a logistics sorting system.

1. Introduction

Recently, the development of wireless networks and computer vision has expanded the applications of Internet of Things (IoT) technology to various domains, including medicine, manufacturing, communications, and so on [1]. Within the IoT framework, the technology of QR codes has emerged as a critical component of the perception layer, playing a pivotal role in its overall advancement. Typically, a QR code possesses several advantages over other types of barcodes, such as ease of identification, simplicity in production, and robust error correction capabilities [2]. These characteristics make QR code images particularly well suited to fulfill the demanding requirements of information transmission. For instance, QR code images are useful in asset management as they enable quick and accurate data capture via scanning, improving inventory tracking and maintenance processes [3]. A QR code-based mobile payment reduces the reliance on physical payment methods. This manner empowers individuals and businesses with a cashless solution that can be adopted across various industries, enhancing financial inclusion and driving the digital economy forward [4]. QR code images are vital in logistics sorting as they help with package tracking and sorting. By attaching QR code images to packages, logistics companies can quickly scan and identify each item, ensuring proper routing and delivery, minimizing errors, and improving overall operational efficiency [5]. The importance of QR code images in food tracking lies in their ability to enhance transparency and traceability in the food supply chain. By scanning QR code images on food packaging, consumers can access detailed information about the origin, ingredients, production processes, and safety certifications. Hence, it further promotes food safety and builds consumer trust [6]. Chemical sensors with QR code images also play a key role in safety applications, as users can identify hazardous substances and detect specific chemical properties, assisting in rapid responses to potential risks and making them valuable in environmental applications [7].
The recognition of QR code images encompasses various critical issues, including image localization, rotation and skew correction, distortion rectification, motion blur handling, damage restoration, and uneven illumination correction [8]. Particularly, the localization of a QR code is carried out after image binarization. It constitutes a distinct segment of the process [9]. Within the process, the successful repair of unevenly illuminated QR code images is essential, as even with accurate image localization, failure to address the illumination could result in unreadable images. Therefore, the repair and recognition of unevenly illuminated QR code images hold significant research value, much like the QR code localization problem. Based on that, this work concentrates on unevenly illuminated QR code images.
Usually, complex lighting conditions like uneven illumination during the logistics sorting process pose big challenges, as they render QR code images difficult or even impossible to identify accurately. Figure 1 illustrates a typical logistics sorting system in the field of IoT, where its efficiency closely relies on the recognition rate and processing speed. In this regard, several previous studies focused on using binarization methods. Di et al. [10] proposed an enhanced thresholding method based on the Wellner approach to identify unevenly illuminated QR code images on packaging in an automatic classification system. However, this method suffers from the drawback of a prolonged image processing time. Yao et al. [11] developed an improved algorithm that combines the Niblack algorithm and the Otsu algorithm, accomplishing a faster processing speed. However, it exhibits shortcomings in meeting the requirements of binarization recognition for QR code images under uneven illumination. Mustafa et al. [12] presented an enhanced Sauvola algorithm, but it only improves the threshold selection in the binarization process and fails to conduct adaptive binarization. Inspired by the idea of cognitive modeling, Chen et al. [13] used adaptive block window selection for QR code images, enabling better local binarization effects for unevenly illuminated images. However, it has a slow processing speed. Later, Chen et al. [14] designed a method that adaptively selects the binary window size based on QR code features and applies the integral image calculation block’s sum of gray values to perform the adaptive binarization. Although this approach demonstrates a better image repair quality and good processing speed, it encounters difficulties in accurately detecting the appropriate binarization window size under uneven illumination.
In summary, the current main issues in binarizing unevenly illuminated QR code images are as follows:
  • The loss of vital decoding information during the binarization process;
  • An inadequate processing speed that fails to satisfy real-time requirements for practical applications, such as a logistics sorting system;
  • The limited adaptability of the binarization approach to complex lighting conditions.
To solve the above issues, a method that aims to achieve the fast adaptive binarization of QR code images through dynamic illumination equalization is proposed in this work, which initially uses an image detection approach derived from edge enhancement to identify the structural features of the position detection patterns impacted by uneven illumination. Subsequently, the structural features are applied to perform equalization through illumination feature extraction based on adaptive morphological closing, which can effectively minimize the contrast, brightness, and color discrepancies between different regions of unevenly illuminated QR code images. Moreover, by adopting the structural features, an adaptive binarization window is constructed, facilitating adaptive binarization processing on equalized images accordingly. As for method evaluation, the experiments are conducted through two commonly used decoders (Wechat and Zxing), along with a comparative study with the previous methods. Therefore, an impressive recognition rate and faster processing speed for binarizing unevenly illuminated QR codes can be validated.
The rest of this work is organized as follows: Section 2 reviews the related work in the field of QR code images. Section 3 describes the proposed fast adaptive binarization method. Section 4 shows the experimental results from various cases with a comparative study. Section 5 presents the discussions of the proposed method in different aspects. Finally, Section 6 summarizes this work.

2. Related Work

QR code images are generated by binary information, where dark modules represent 0 and light modules denote 1, thereby constructing the functional areas within the image [15]. Moreover, the functional areas encompass several essential components, including position detection patterns, timing patterns, alignment patterns, and so on [16]. These patterns mainly incorporate vital characteristics of the image, such as the version format, decoding direction, and the start and end points of decoding [17]. Typically, a QR code can be categorized into four levels in terms of error correction, level L (7%), level M (15%), level Q (20%), and level H (30%) [18], which have pivotal roles in the repair and recognition of a QR code that has been subjected to light damage.
On the other hand, the repair and recognition of unevenly illuminated QR code images mainly use binarization techniques, which are divided into global binarization and local binarization [19]. Global binarization involves partitioning the pixel attributes of the entire image through a specific procedure. Generally, it produces satisfactory results when applied to images with relatively simple uneven illumination. Nonetheless, due to the necessity of a global image threshold, complex unevenly illuminated images that are processed employing this method suffer from a loss of image details in the resulting binarized image. Mathematically, the global binarization of 8-bit images is
g x , y = 255 , f x , y > T 0 , f x , y T
where each input image pixel f(x,y) is converted to the output image pixel g(x,y) based on the threshold value T [20].
Regarding local binarization, the image is initially divided into several regions using a window with the size of w × w. Then, the average gray value of each region is calculated and applied to (2) to obtain the standard deviation σ(x,y) corresponding to each average gray value. After that, the pixel threshold of each area is acquired by (3). Finally, the pixel threshold of each region is used to convert the unevenly illuminated QR code into a local binary image, achieving a more detailed binary result than the global binarization.
σ x , y = 1 w 2 i = x w 2 x + w 2 j = y w 2 y + w 2 f i , j m x , y 2
T x , y = m x , y 1 + k σ x , y R 1
where m(x,y) represents the gray mean value in the w × w neighborhood, k is a user-defined modified parameter and its range is (0,1), and R denotes the dynamic range of the standard variance, and if the input image is an 8-bit gray image, R = 128. Here, (2) is used to compute the standard deviation within a w × w neighborhood. Assuming that the current coordinate point is denoted as (x,y), the neighborhood centered around this point spans w × w. Consequently, the ranges of the pixel coordinates i and j in (2) encompass from xw/2 to x + w/2.
In addition to the aforementioned global and local binarization techniques, several studies have focused on addressing the challenges posed by unevenly illuminated QR code images. Zhang et al. [21] proposed a binarization algorithm based on background grayscale. Their approach involves dividing the image into multiple regions and adjusting the overall grayscale using the background grayscale of each region, which helps to reduce information loss during the image binarization process. However, its limited adaptability arises from dividing the image based on the image size rather than the size of the QR code itself. He et al. [22] presented double windows to characterize image contrast and offered adaptive window search capabilities. Their method adopts multiple rules to screen the threshold to distinguish the foreground and background and accommodate various lighting conditions. But it relies on the version size of the QR code and the size of a single module, which is prone to erroneous window size detection, resulting in suboptimal binarization effects, especially under uneven illumination. By improving the Sauvola algorithm, Zhou et al. [23] estimated the optimal R value based on the image size, which enhances the decoding accuracy of QR code images during image processing. Unfortunately, this algorithm requires precise version information and the module size of the images, making it impractical in complex lighting conditions. Jing et al. [24] designed a technique that combines molecular blocks and the Otsu algorithm to address the issue of missing details after processing QR code images under uneven illumination. However, its segmentation condition is relatively strict, limiting its universal applicability. Finally, Yang et al. [25] provided an algorithm that selects different thresholds that adopt various rules to achieve binarization after grayscale processing and Gaussian smoothing filtering. Although the results demonstrated that this solution yields more complete images with reduced noise, its binarization efficiency still requires improvement under uneven illumination.

3. Proposed Method

The previous techniques primarily address the challenges of low recognition rates and slow processing speeds associated with unevenly illuminated QR code images through binarization techniques. However, conventional binarization methods usually suffer from pixel classification errors when applied to such images, resulting in the loss of vital decoding information [26]. To overcome these limitations, a method for the fast adaptive binarization of QR code images through dynamic illumination equalization is proposed in this work. Its core is the identification of structural features within the position detection patterns that are impacted by uneven illumination. This task can be accomplished using an edge-enhancement-based position detection pattern algorithm. Then, by accurately identifying the structural features, the difficulties associated with structural element construction in adaptive image enhancement, as well as the window construction issue in adaptive binarization, can be solved. As a result, a fast and effective adaptive binarization effect of QR code images with uneven illumination is realized.

3.1. Unevenly Illuminated Position Detection Pattern Algorithm

In this work, the position detection pattern algorithm for unevenly illuminated QR code images is obtained from a lossless position detection pattern algorithm, which contains two main steps. The first involves extracting the edge information from the lossless QR code images, and the second entails screening the results that adhere to the structural features of the position detection patterns from the extracted edge information. Nonetheless, unevenly illuminated QR code images are usually susceptible to the loss of vital edge information during the extraction process, incurring difficulties or even impossibility in recognition [27]. To this end, the position detection pattern algorithm based on edge fusion is considered, as illustrated in Figure 2.
A QR code image with uneven illumination is presented in Figure 2a. The Canny algorithm [28] is adopted to extract edge 1, as denoted in Figure 2b. However, it is evident that edge 1 fails to capture the complete edge information of the unevenly illuminated QR code image. Thus, a global histogram equalization process is conducted, and the result is shown in Figure 2c. Next, the Canny algorithm is applied to this equalized image again, generating edge 2, as drawn in Figure 2d. Please note that edge 1 and edge 2 are not overlapping with each other so they can be fused, yielding a combined image with edge 3, accordingly, as depicted in Figure 2e. Such a fusion contains a more comprehensive representation of the edge information, which facilitates the reliability of the subsequent processing steps [29]. Mathematically, the global histogram equalization is expressed as
  s k = j = 0 k n j n , k = 0 , 1 , 2 , , L 1  
where n is the sum of pixels in the image, nj is the number of pixels in the gray level, and L is the total number of gray levels in the image.
Moreover, the image fusion is achieved by
I 3 = β I 1 + I 2 + ε
where I1, I2, and I3 are edge 1, edge 2, and edge 3, respectively, and ε is the offset.
Once edge 3 is obtained, an information screening process based on the structural features of the position detection patterns is applied, which can be characterized by an edge group with black and white modules arranged in a specific length ratio of 1:1:3:1:1. Here, the presence of the black and white modules group is typically limited to the area within the position detection patterns. Usually, during the coding stage, the QR code is designed to mask the regions outside of the position detection patterns, ensuring that the black and white modules group is confined to the area. As a result, the location of the position detection patterns can be determined by examining the distance ratios between six adjacent edge points along the same row or column, and by screening these ratios, the precise coordinates of the position detection patterns are retrieved. This screening process enables the accurate localization of the position detection patterns based on their distinctive structural features, as listed below:
P 1 P 2 9 11 < T P 2 P 3 11 27 < T P 3 P 4 27 11 < T P 4 P 5 11 9 < T
The definitions of P1 to P5 are depicted in Figure 3. Assuming that the length of a single module is 9, the corresponding ratio of P1:P2:P3:P4:P5 is derived as 9:11:27:11:9. This ratio aligns with the proportional relationship of the black and white modules group, which is 1:1:3:1:1. Then, to identify a group of edge patterns that conform to this proportional relationship, T is applied. Based on empirical observations, it is set to 0.2. Hence, this threshold serves as a criterion for screening edge groups that exhibit the 9:11:27:11:9 ratio, facilitating the localization of the position detection patterns.
Meanwhile, to optimize the screening results, the following restrictions should be included:
14 < w i n < I S 3
I S = W + H 2  
where W and H are the width and height of the image, respectively, and win denotes the average of the length and width of the smallest black rectangle in the position detection patterns.
Concerning the QR code images, the minimum size is 21 × 21 modules, and the size of position detection patterns is 7 × 7 modules, so in an image containing a complete QR code, the size of the position detection patterns will not exceed 21 × 21 modules, and the minimum is no less than 2 × 7 × 7 modules. Following the above restrictions, the black and white modules group in edge 3 can be screened, and the win values can be acquired. Hence, a final win value is determined by lowering these win values through a multiple of 7 and then conducting mode collection. In summary, a flow chart that describes the position detection pattern algorithm is presented in Figure 4.

3.2. Fast Adaptive Binarization Method

The information on the position detection patterns reflects the structural features of the QR code images, such as the size of a single module, the version number, and so on, which provides the criterion for selecting the kernel size of the subsequent morphological closing [30]. Additionally, before the morphological closing, it is necessary to perform mean filtering on the unevenly illuminated image to remove noise [31], as expressed below:
f m x , y = 1 M x , y s x y g s , t
M = w i n × w i n
where sxy denotes the center point of the filtering region at (x,y), M represents the filter window, g(s,t) refers to the original image, and fm(x,y) is the image obtained after mean filtering. Here, M is used to filter the pixel area within each module size range in the QR code.
After acquiring the mean filtering result of the QR code image with uneven illumination, the next step is to restore the contrast, brightness, and color discrepancies. To this end, an illumination feature extraction method based on morphological closing is performed on the previous mean filtering result. Mathematically, this method is denoted as
E c l o s i n g ( f ) = f ÷ ( f ° b ) × C
where ° means the morphological closing operation through the structural element b, C is the constant, and f is the input image. Moreover, the morphological closing operation is defined as
f ° b = ( f b ) b
where means the morphological dilation operation on f through the structural element b, and denotes the morphological erosion operation on f through the structural element b, as presented below:
f b x , y = m i n f x + s , y + t , s , t b
f b x , y = m a x f x s , y t , s , t b
When the kernel size falls within a certain range, the morphological closing operation corresponds to the uneven illumination feature of the robust image, achieving an image enhancement effect accordingly. Additionally, from (13) and (14), it can be indicated that the erosion at any location is determined by the minimum value in the region where b coincides with f, while the dilation at any location is decided by the maximum value in the region where b coincides with f. When b > win, the unevenly illuminated feature can be extracted in the morphological closing operation. Then, by dividing the uneven illumination feature from the original image, the restored QR code image eliminates the contrast, brightness, and color discrepancies in each region of the image:
T x , y = 1 r 2 i = x r / 2 x + r / 2 j = y r / 2 y + r / 2 f i , j  
where T(x,y) is the mean value of pixels in the r × r neighborhood of the point (x,y), and f(i,j) is the gray value of point (x,y).
To conclude the above operations, a flow chart about the fast adaptive binarization method is illustrated in Figure 5, and the pseudo-code is summarized as Algorithm 1.
Algorithm 1: Pseudo-code of fast adaptive binarization method.
Input: QR code image with uneven illumination
Output: Binary QR code image
  • Filter1 ← Perform grayscale and median filter on the Input
  • Close1 ← Perform morphological closing operation on Filter1
  • Equ ← Perform global histogram equalization on the Close1
  • Canny ← Perform marginalization based on the Canny operator on Close1 and Equ, and merge the results
  • If there is a group of pixels P1 to P5 in the Canny with a spacing ratio of 1:1:3:1:1 then Size = P4–P3
  • Filter2 ←Perform grayscale and Gaussian filter on the Input
  • Close2 ←Use Size as the structural element size to perform a closing operation on the Filter2
  • Equalization ← Input ÷ Close2 × 200
  • Binarization ← Use Size as the window size and perform adaptive binarization operations on the Equalization

3.3. Effective Principle Analysis

An effective principle analysis is performed to validate the efficiency of utilizing the structural features of the position detection patterns, which can determine the window size in the morphological closing operation of the image equalization method. To this end, a QR code image impacted by uneven illumination is selected and investigated, as shown in Figure 6a. Then, it is processed using the proposed method with varying window sizes, and the corresponding Peak Signal-to-Noise Ratio (PSNR) results are plotted as a curve in Figure 6b:
As seen in Figure 6b, when the window size is larger than 20, the PSNR of the binary image reaches the highest value, and the size of the smallest rectangular block in the position detection patterns with uneven illumination is 30 × 30. Now, to verify the correlation between the smallest rectangular block of the unevenly illuminated position detection patterns and the image equalization, five different types of unevenly illuminated QR code images are analyzed, as presented in Figure 7, where the size of these images is 300 × 300. Then, the PSNR results of different sizes (300 × 300, 600 × 600, and 900 × 900) for the five types of QR code images are illustrated in Figure 8.
When the sizes of the unevenly illuminated QR code images in Figure 7 are adjusted to 300 × 300, 600 × 600, and 900 × 900, the sizes of the smallest rectangle of the corresponding unevenly illuminated position detection patterns are 30 × 30, 60 × 60, and 90 × 90, respectively. The PSNR results in Figure 8 reveal that the proposed method achieves the best value for the repaired image when the selected window size aligns with the minimum black rectangle size of the unevenly illuminated position detection patterns. Such a finding highlights the importance of an appropriate window size in achieving optimal image repair results. Hence, the proposed method is closely related to the size information of the smallest black rectangle in the position detection patterns. Additionally, the above consideration remains applicable irrespective of alterations made to the size or type of the unevenly illuminated image. It offers a foundation for selecting the window size in the morphological closing operation of adaptive image enhancement, ensuring a well-founded choice that contributes to faster image processing.

4. Experimental Results

To fully validate the proposed method, the recognition rate and processing speed are employed as the evaluation metrics. The recognition rate measures the binarization quality of QR code images impacted by uneven illumination, and the processing speed reflects the efficiency of binarizing such images in real-time applications. Additionally, the PSNR and Structural Similarity Index Measure (SSIM) are used to assess the binarization of the unevenly illuminated QR code images. Generally, higher PSNR and SSIM values mean superior binarization results [32]. Furthermore, a comparative study of the previous works is conducted, and two popular decoders, Wechat and Zxing, are applied.
First, the dataset provided by Chen et al. [13] is used. It includes version 7 of the QR code image, a module size of 29 × 29, an error correction level (Q), and is composed of 30 strong light images and 50 weak light images. Compared to the QR code images subjected to genuine uneven illumination, the simulated images often tend to be more idealized, indicating that simply changing the contrast or brightness or fusing images with masks to create unevenly illuminated QR code images are improper methods for constructing datasets. Thus, the materials sourced from real-world uneven illumination scenarios are considered. The experimental configuration is summarized in Table 1 and Table 2.
The performance of each method on various types of unevenly illuminated QR code images is drawn in Figure 9, Figure 10, Figure 11, Figure 12 and Figure 13. In detail, Figure 9 shows the effect of each method on the QR code image with strong local illumination in the coding area (Type I). Figure 10 displays the processing of each method on the QR code image with strong local illumination in the position pattern area (Type II). Figure 11 depicts the outcome of each method on the QR code image with a mixture of strong local illumination and weak local illumination (Type III). Figure 12 presents the result of each method on the QR code image with weak global illumination (Type IV). Lastly, Figure 13 exhibits the result of each method on the QR code image with strong global illumination (Type V).
As seen in Figure 9, Figure 10, Figure 11, Figure 12 and Figure 13, the experimental results reveal differences in terms of the performances. Specifically, the proposed method shows superior image binarization results by effectively preserving the image details. In contrast, the approaches based on Yao et al. [11], Di et al. [10], and Chen et al. [13] exhibit binarization outcomes characterized by a loss of vital details. Furthermore, to conduct a quantitative comparison with Chen et al. [14], a thorough investigation is conducted based on the PSNR and SSIM across the aforementioned cases. Such metrics can provide a more in-depth evaluation of the performances, shedding light on their abilities to represent the original image while handling uneven illumination. The PSNR and SSIM results of the various methods are presented in Figure 14, and the details are summarized in Table 3, where the best result for each type is underlined.
Figure 14 and Table 3 indicate that the proposed method and its binarization achieve superior PSNR and SSIM results in all types of unevenly illuminated QR code images. Meanwhile, to achieve a deeper comparative study of the method performance, further assessments of all the methods in terms of the recognition rates and processing speeds are conducted, as shown in Table 4, where the best result in each case is underlined. Please note that “none” here means that the unevenly illuminated QR code images were recognized without using any processing methods, directly employing Wechat and Zxing.
Table 4 indicates that the proposed method outperforms the compared approaches in terms of the recognition rates. Specifically, it realizes the highest recognition rate of 98.75% when using Wechat. In this regard, the best previous method achieves a recognition rate of 97.50%. In addition, the proposed method exhibits an impressive processing speed with 0.0164 s/image, faster than the previous speed of 0.0199 s/image. Such comparisons disclose that the proposed method is more suitable for real-time applications than the previous studies.
Finally, a public dataset provided by Szentandrasi et al. [33] is investigated. Please note that the simple process of cropping and the necessary perspective transformation of the images were performed in this dataset, as the images themselves had serious tilt distortion in addition to uneven lighting. The results are displayed in Table 5, where the best result in each case is underlined. From Table 5, it can be found that the recognition rate of the unevenly illuminated QR code image processed using the proposed method increases to 78.26% and 82.60% when decoding through Zxing and Wechat, respectively, which also reveals the robustness of the proposed method when applying it to various conditions.

5. Discussion

First, based on the tight distribution structure of the black and white modules in QR code images, the illumination characteristics of the images can be obtained via dynamic morphometric operation, so the proposed method approximates the division of the closing operation result from the original image, which can effectively remove the unevenly illuminated background. This outcome offers a high-quality image equalization effect and subsequently enhances the performance of the image binarization process. Given the characteristics of the method, its robustness at the lowest error correction level, level L, can be ensured, as it remains unaffected by factors like the version of the QR code, data encoding, and the error correction level.
Second, in order to avoid unnecessary interference, the dataset selection is tailored to eliminate factors beyond uneven illumination. From experiments and previous works, it is evident that the commonly used methods, such as the Otsu algorithm and the Sauvola algorithm, have not yielded remarkable results in unevenly illuminated QR code images [34,35,36]. Similarly, the binarization methods proposed by Di et al. [10] and Yao et al. [11] have not achieved impressive outcomes. This highlights the ongoing innovation in the field, exemplified by recent contributions like the fast adaptive thresholding method proposed by Chen et al. [14], to address unevenly illuminated QR code images. Therefore, it is clear that the research landscape is continuously evolving in pursuit of more appropriate solutions for the repair and recognition of unevenly illuminated QR code images.
Third, the motivation of this work is different from previous studies [13,14], which adopted the structural features of QR code images to optimize the region division determination in the local binarization method, achieving a better binarization effect of unevenly illuminated QR code images. In contrast, this work primarily explores how the structural features of QR code images effectively improve the image enhancement process before binarization. In practice, QR code images consist of tightly packed black and white modules. By comprehending the dimensions of individual QR code modules, the proposed method enhances the extraction and elimination of illumination discrepancies during dynamic image equalization based on illumination feature extraction, which subsequently provides a robust foundation for image binarization. In short, although these studies concentrate on unevenly illuminated QR code images, the relevant concerns are entirely different.
Additionally, in general, the process of QR code image recognition can be divided into image preprocessing and image decoding, where effective image preprocessing can significantly enhance the quality of the decoding process for QR code information [37], while embedding additional elements on QR code images can reduce the decoding error tolerance, thereby elevating the risk of decoding failure. In such cases, image preprocessing becomes vital, as it outputs complete and accurate data from the QR code image, even under challenging conditions. This aspect underscores the importance of the unevenly illuminated QR code image recognition method presented in this work.
Finally, this work aims to repair and recognize the unevenly illuminated QR code image, and its main advantage is that the image enhancement method based on the morphological closing operation can convert the unevenly illuminated QR code image into a light-balanced image, which is more convenient for fast and high-quality binarization operation. In previous studies, such as the study by Yao et al. [11], which belongs to the class of the global binarization method, numerous details of binarization images were easily lost due to their globally uniform threshold. On the other side, several local binarization methods, such as those used by Chen et al. [13] and Chen et al. [14], can achieve better results, but they have not fully considered the importance of light equalization in the binary process of unevenly illuminated QR code images, so the performances are not the best. Now, the experimental results demonstrate that adopting the dimension-adaptive method based on the morphological closing operation to pre-equalize an unevenly illuminated QR code image can effectively enhance the binarization effect after equalization, which has not been investigated in previous studies. However, the limitation is that the proposed method relies on the dimensional features of a single module of a QR code image. Consequently, it is necessary to use an excellent object detection method to detect a single module of a QR code image. Although the object detection method is not the main focus of this work, an image detection method based on edge enhancement will be further designed to solve this limitation in the future.

6. Conclusions

To address the challenge of recognizing unevenly illuminated QR code images, a fast adaptive binarization method through dynamic illumination equalization is proposed, which is initiated by extracting structural features from the position detection patterns under uneven illumination and using an edge-enhancement-based position detection pattern algorithm. Such structural features are then employed to enhance the image through adaptive structural element selection and local binarization based on adaptive window selection. The method evaluations were conducted through experimental datasets. The performances disclose that better image binarization results can be obtained by employing a photoequalized image based on the dynamic morphological closing operation, and indicate its superiority regarding the processing speed and efficiency in recognizing QR code images with uneven illumination compared to the previous works. Hence, it exhibits advantages for the binarization of QR code images under complex lighting conditions and satisfies practical applications, such as a logistics sorting system.
In the future, to achieve the integration of the proposed method into embedded devices, the algorithm will be implemented into the QR code decoder. Additionally, to further enhance the edge detection to improve the image recognition rate, several advanced methods in related fields, such as the end-to-end cross band 2D attention network [38], multiscale superpixelwise prophet model [39], self-attention enhanced deep residual network [40], and multistage stepwise discrimination with compressed MobileNet [41], will be investigated.

Author Contributions

Conceptualization, R.C., Y.H., K.L., J.L. and X.L.; funding acquisition, R.C., J.L., L.W. and H.Z.; methodology, R.C., Y.H., K.L., J.L. and L.W.; project administration, R.C., Y.H., L.W. and H.Z.; resources, R.C., J.L., H.Z. and X.L.; software, Y.H., K.L., Y.R. and X.H.; validation, R.C., Y.H., K.L., Y.R. and X.H.; writing—original draft, Y.H., K.L., J.L. and X.H.; writing—review and editing, R.C., Y.H., K.L., J.L., Y.R., H.Z. and X.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the National Natural Science Foundation of China under Grants 62072122 and 62176067, in part by the Special Projects in Key Fields of Ordinary Universities of Guangdong Province under Grant 2021ZDZX1087, in part by the Guangzhou Science and Technology Plan Project under Grants 2023B03J1327 and 2023A04J0361, in part by the Research Fund of the Guangxi Key Lab of Multi-source Information Mining & Security under Grant MIMS22-02, in part by the Guangdong Province Ordinary Colleges and Universities Young Innovative Talents Project under Grant 2023KQNCX036, in part by the Special Project Enterprise Sci-tech Commissioner of Guangdong Province under Grant GDKTP2021033100, in part by the Key Discipline Improvement Project of Guangdong Province under Grant 2022ZDJS015, and in part by the Research Fund of Guangdong Polytechnic Normal University under Grants 22GPNUZDJS17, 2022SDKYA015, and 2023SDKYA004.

Data Availability Statement

The datasets generated and/or analyzed during the current study are available from the corresponding authors upon reasonable request.

Acknowledgments

The authors appreciate the special contributions from Digital Content Processing & Security Technology of Guangzhou Key Laboratory.

Conflicts of Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

References

  1. Hassan, R.; Qamar, F.; Hasan, M.K.; Aman, A.H.M.; Ahmed, A.S. Internet of things and its applications: A comprehensive survey. Symmetry 2020, 12, 1674. [Google Scholar] [CrossRef]
  2. Gupta, A.; Asad, A.; Meena, L.; Anand, R. IoT and RFID-Based Smart Card System Integrated with Health Care, Electricity, QR and Banking Sectors. In Artificial Intelligence on Medical Data; Springer: New York, NY, USA, 2023; pp. 253–265. [Google Scholar]
  3. Tkachenko, I.; Puech, W.; Destruel, C.; Strauss, O.; Gaudin, J.M.; Guichard, C. Two-Level QR Code for Private Message Sharing and Document Authentication. IEEE Trans. Inf. Forensics Secur. 2016, 11, 571–583. [Google Scholar] [CrossRef]
  4. Saraubon, K.; Chinakul, P.; Chanpen, R. Asset Management System using NFC and IoT Technologies. In Proceedings of the 2019 3rd International Conference on Software and e-Business (ICSEB 2019), Tokyo, Japan, 9–11 December 2019; pp. 124–128. [Google Scholar]
  5. Yan, L.Y.; Tan, G.W.H.; Loh, X.M.; Hew, J.J.; Ooi, K.B. QR code and mobile payment: The disruptive forces in retail. J. Retail. Consum. Serv. 2021, 58, 102300. [Google Scholar] [CrossRef]
  6. Kumar, J.; Akhila, K.; Gaikwad, K.K. Recent Developments in Intelligent Packaging Systems for Food Processing Industry: A Review. J. Food Process. Technol. 2021, 12, 895. [Google Scholar]
  7. Escobedo, P.; Ramos-Lorente, C.E.; Ejaz, A.; Erenas, M.M.; Martínez-Olmos, A.; Carvajal, M.A.; García-Núñez, C.; de Orbe-Payá, I.; Capitán-Vallvey, L.F.; Palma, A.J. QRsens: Dual-purpose Quick Response code with built-in colorimetric sensors. Sens. Actuators B Chem. 2022, 376, 133001. [Google Scholar] [CrossRef]
  8. Ahlawat, S.; Rana, C.; Sindhu, R. A Review on QR Codes: Colored and Image Embedded. Int. J. Adv. Res. Comput. Sci. 2017, 8, 410–413. [Google Scholar]
  9. Nazemzadeh, P.; Fontanelli, D.; Macii, D.; Palopoli, L. Indoor Localization of Mobile Robots Through QR Code Detection and Dead Reckoning Data Fusion. IEEE/ASME Trans. Mechatron. 2017, 22, 2588–2599. [Google Scholar] [CrossRef]
  10. Di, Y.J.; Shi, J.P.; Mao, G.Y. A QR code identification technology in package auto-sorting system. Mod. Phys. Lett. B 2017, 31, 19–21, 1740035. [Google Scholar] [CrossRef]
  11. Yao, S.; Li, P.; He, L.; Li, Y. Uneven Illumination Two-Dimensional Code Image Recognition Algorithm Research. In Proceedings of the 2018 2nd IEEE Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC), Xi’an, China, 25–27 May 2018; pp. 2043–2046. [Google Scholar]
  12. Mustafa, W.A.; Yazid, H.; Jaafar, M. An improved sauvola approach on document images binarization. J. Telecommun. Electron. Comput. Eng. 2018, 10, 43–50. [Google Scholar]
  13. Chen, R.; Yu, Y.; Xu, X.; Wang, L.; Zhao, H.; Tan, H.Z. Adaptive Binarization of QR Code Images for Fast Automatic Sorting in Warehouse Systems. Sensors 2019, 19, 5466. [Google Scholar] [CrossRef]
  14. Chen, R.; Li, W.; Lan, K.; Xiao, J.; Wang, L.; Lu, X. Fast Adaptive Binarization of QR Code Images for Automatic Sorting in Logistics Systems. Electronics 2023, 12, 286. [Google Scholar] [CrossRef]
  15. Wei, X.; Manori, A.; Devnath, N.; Pasi, N.; Kumar, V. QR Code Based Smart Attendance System. Int. J. Smart Bus. Technol. 2017, 5, 1–10. [Google Scholar] [CrossRef]
  16. Rotsios, K.; Konstantoglou, A.; Folinas, D.; Fotiadis, T.; Hatzithomas, L.; Boutsouki, C. Evaluating the Use of QR Codes on Food Products. Sustainability 2022, 14, 4437. [Google Scholar] [CrossRef]
  17. Tiwari, S. An Introduction to QR Code Technology. In Proceedings of the 2016 International Conference on Information Technology (ICIT), Bhubaneswar, India, 22–24 December 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 39–44. [Google Scholar]
  18. Kan, T.W.; Teng, C.H.; Chou, W.C. Applying QR code in augmented reality applications. In Proceedings of the 8th International Conference on Virtual Reality Continuum and its Applications in Industry (VRCAI), Yokohama, Japan, 14–15 December 2009; Spencer, N.S., Ed.; Association for Computing Machinery (ACM): New York, NY, USA, 2009; pp. 253–257. [Google Scholar]
  19. Michalak, H.; Okarma, K. Robust Combined Binarization Method of Non-Uniformly Illuminated Document Images for Alphanumerical Character Recognition. Sensors 2020, 20, 2914. [Google Scholar] [CrossRef]
  20. Guo, Z.; Zheng, H.; You, C.; Xu, X.; Wu, X.; Zheng, Z.; Ju, J. Digital Forensics of Scanned QR Code Images for Printer Source Identification Using Bottleneck Residual Block. Sensors 2020, 20, 6305. [Google Scholar] [CrossRef]
  21. Zhang, Y.; Gao, T.; Li, D.; Lin, H. An Improved Binarization Algorithm of QR Code Image. In Proceedings of the 2012 2nd International Conference on Consumer Electronics, Communications and Networks (CECNet), Yichang, China, 21–23 April 2012; IEEE: Piscataway, NJ, USA, 2012; pp. 2376–2379. [Google Scholar]
  22. He, Y.; Yang, Y. An Improved Sauvola Approach on QR Code Image Binarization. In Proceedings of the 11th International Conference on Advanced Infocomm Technology (ICAIT), Jinan, China, 18–20 October 2019; pp. 6–10. [Google Scholar]
  23. Zhou, J.; Liu, Y.; Li, P. Research on Binarization of QR Code Image. In Proceedings of the 2010 International Conference on Multimedia Technology, Ningbo, China, 29–31 October 2010; IEEE: Piscataway, NJ, USA, 2010; pp. 1–4. [Google Scholar]
  24. Jing, J.; Wang, K.; Wang, W. Research on correction and recognition of QR code on cylinder. In Proceedings of the 2021 IEEE 4th Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC), Chongqing, China, 18–20 June 2021; IEEE: Piscataway, NJ, USA, 2021; pp. 1485–1489. [Google Scholar]
  25. Yang, L.; Feng, Q. The Improvement of Bernsen Binarization Algorithm for QR Code Image. In Proceedings of the 2018 5th IEEE International Conference on Cloud Computing and Intelligence Systems (CCIS), Nanjing, China, 23–25 November 2018; pp. 931–934. [Google Scholar]
  26. Huo, L.; Zhu, J.; Singh, P.K.; Pavlovich, P.A. Research on QR image code recognition system based on artificial intelligence algorithm. J. Intell. Syst. 2020, 30, 855–867. [Google Scholar] [CrossRef]
  27. Chen, R.; Zheng, Z.; Yu, Y.; Zhao, H.; Ren, J.; Tan, H.Z. Fast Restoration for Out-of-Focus Blurred Images of QR Code with Edge Prior Information via Image Sensing. IEEE Sens. J. 2021, 21, 18222–18236. [Google Scholar] [CrossRef]
  28. Song, R.; Zhang, Z.; Liu, H. Edge connection based Canny edge detection algorithm. J. Inf. Hiding Multimed. Signal Process. 2017, 8, 740–747. [Google Scholar] [CrossRef]
  29. Li, S.; Kang, X.; Fang, L.; Hu, J.; Yin, H. Pixel-level image fusion: A survey of the state of the art. Inf. Fusion 2017, 33, 100–112. [Google Scholar] [CrossRef]
  30. Han, S.; Bae, H.J.; Kim, J.; Shin, S.; Choi, S.E.; Lee, S.H.; Kwon, S.; Park, W. Lithographically encoded polymer microtaggant using high-capacity and error-correctable QR code for anti-counterfeiting of drugs. Adv. Mater. 2012, 24, 5924–5929. [Google Scholar] [CrossRef]
  31. Bai, X.; Zhou, F.; Xue, B. Image enhancement using multi scale image features extracted by top-hat transform. Opt. Laser Technol. 2012, 44, 328–336. [Google Scholar] [CrossRef]
  32. Zhang, H.; Zhang, C.; Yang, W.; Chen, C.Y. Localization and navigation using QR code for mobile robot in indoor environment. In Proceedings of the IEEE International Conference on Robotics and Biomimetics (ROBIO), Zhuhai, China, 6–9 December 2015; pp. 2501–2506. [Google Scholar]
  33. Szentandrási, I.; Herout, A.; Dubská, M. Fast detection and recognition of QR codes in high-resolution images. In Proceedings of the 28th spring conference on computer graphics (SCCG), Smolenice, Slovakia, 2–4 May 2012; pp. 129–136. [Google Scholar]
  34. Chen, B.; Shi, L.; Cao, Z.; Niu, S. Layerwise Adversarial Learning for Image Steganography. Electronics 2023, 12, 2080. [Google Scholar] [CrossRef]
  35. Lin, P.Y. Distributed secret sharing approach with cheater prevention based on QR code. IEEE Trans. Ind. Inform. 2016, 12, 384–392. [Google Scholar] [CrossRef]
  36. Zhang, W.; Yang, T. An Improved Algorithm for QR Code Image Binarization. In Proceedings of the 2014 International Conference on Virtual Reality and Visualization, Shenyang, China, 30–31 August 2014; IEEE: Piscataway, NJ, USA, 2014; pp. 154–159. [Google Scholar]
  37. Chen, S.-K.; Ti, Y.-W. A Design of Multi-Purpose Image-Based QR Code. Symmetry 2021, 13, 2446. [Google Scholar] [CrossRef]
  38. Li, Y.; Ren, J.; Yan, Y.; Petrovski, A. CBANet: An End-to-end Cross Band 2-D Attention Network for Hyperspectral Change Detection in Remote Sensing. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5513011. [Google Scholar] [CrossRef]
  39. Ma, P.; Ren, J.; Sun, G.; Zhao, H.; Jia, X.; Yan, Y.; Zabalza, J. Multiscale superpixelwise prophet model for noise-robust feature extraction in hyperspectral images. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5508912. [Google Scholar] [CrossRef]
  40. Xie, G.; Ren, J.; Marshall, S.; Zhao, H.; Li, R.; Chen, R. Self-attention enhanced deep residual network for spatial image steganalysis. Digit. Signal Process. 2023, 139, 104063. [Google Scholar] [CrossRef]
  41. Chen, R.; Huang, H.; Yu, Y.; Ren, J.; Wang, P.; Zhao, H.; Lu, X. Rapid Detection of Multi-QR Codes Based on Multistage Stepwise Discrimination and A Compressed MobileNet. IEEE Internet Things J. 2023, 10, 15966–15979. [Google Scholar] [CrossRef]
Figure 1. A typical logistics sorting system with QR code images in the field of IoT.
Figure 1. A typical logistics sorting system with QR code images in the field of IoT.
Electronics 12 04134 g001
Figure 2. The edge enhancement process of an unevenly illuminated QR code image. (a) QR code image with uneven illumination. (b) Edge 1 of (a). (c) QR code image with uneven illumination processed via global histogram equalization. (d) Edge 2 of (c). (e) Combinations of (b,d).
Figure 2. The edge enhancement process of an unevenly illuminated QR code image. (a) QR code image with uneven illumination. (b) Edge 1 of (a). (c) QR code image with uneven illumination processed via global histogram equalization. (d) Edge 2 of (c). (e) Combinations of (b,d).
Electronics 12 04134 g002
Figure 3. Example of an edge group for the position detection patterns.
Figure 3. Example of an edge group for the position detection patterns.
Electronics 12 04134 g003
Figure 4. Flow chart of unevenly illuminated position detection pattern algorithm.
Figure 4. Flow chart of unevenly illuminated position detection pattern algorithm.
Electronics 12 04134 g004
Figure 5. Flow chart of fast adaptive binarization method.
Figure 5. Flow chart of fast adaptive binarization method.
Electronics 12 04134 g005
Figure 6. An unevenly illuminated QR code image and its Peak Signal-to-Noise Ratio (PSNR) results under various window sizes using the proposed method. (a) QR code image with uneven illumination; (b) PSNR results.
Figure 6. An unevenly illuminated QR code image and its Peak Signal-to-Noise Ratio (PSNR) results under various window sizes using the proposed method. (a) QR code image with uneven illumination; (b) PSNR results.
Electronics 12 04134 g006
Figure 7. Five different types of unevenly illuminated QR code images: (a) Type I; (b) Type II; (c) Type III; (d) Type IV; (e) Type V.
Figure 7. Five different types of unevenly illuminated QR code images: (a) Type I; (b) Type II; (c) Type III; (d) Type IV; (e) Type V.
Electronics 12 04134 g007
Figure 8. The PSNR results in five different types of unevenly illuminated QR code images under various sizes: (a) 300 × 300; (b) 600 × 600; (c) 900 × 900.
Figure 8. The PSNR results in five different types of unevenly illuminated QR code images under various sizes: (a) 300 × 300; (b) 600 × 600; (c) 900 × 900.
Electronics 12 04134 g008
Figure 9. The QR code image with strong local illumination in the coding area (Type I) and its processing by using various methods: (a) original image; (b) Yao et al. [11]; (c) Di et al. [10]; (d) Chen et al. [13]; (e) Chen et al. [14]; (f) proposed method.
Figure 9. The QR code image with strong local illumination in the coding area (Type I) and its processing by using various methods: (a) original image; (b) Yao et al. [11]; (c) Di et al. [10]; (d) Chen et al. [13]; (e) Chen et al. [14]; (f) proposed method.
Electronics 12 04134 g009
Figure 10. The QR code image with strong local illumination in the position pattern area (Type II) and its processing by using various methods: (a) original image; (b) Yao et al. [11]; (c) Di et al. [10]; (d) Chen et al. [13]; (e) Chen et al. [14]; (f) proposed method.
Figure 10. The QR code image with strong local illumination in the position pattern area (Type II) and its processing by using various methods: (a) original image; (b) Yao et al. [11]; (c) Di et al. [10]; (d) Chen et al. [13]; (e) Chen et al. [14]; (f) proposed method.
Electronics 12 04134 g010
Figure 11. The QR code image with a mixture of strong local illumination and weak local illumination (Type III) and its processing by using various methods: (a) original image; (b) Yao et al. [11]; (c) Di et al. [10]; (d) Chen et al. [13]; (e) Chen et al. [14]; (f) proposed method.
Figure 11. The QR code image with a mixture of strong local illumination and weak local illumination (Type III) and its processing by using various methods: (a) original image; (b) Yao et al. [11]; (c) Di et al. [10]; (d) Chen et al. [13]; (e) Chen et al. [14]; (f) proposed method.
Electronics 12 04134 g011
Figure 12. The QR code image with weak global illumination (Type IV) and its processing by using various methods: (a) original image; (b) Yao et al. [11]; (c) Di et al. [10]; (d) Chen et al. [13]; (e) Chen et al. [14]; (f) proposed method.
Figure 12. The QR code image with weak global illumination (Type IV) and its processing by using various methods: (a) original image; (b) Yao et al. [11]; (c) Di et al. [10]; (d) Chen et al. [13]; (e) Chen et al. [14]; (f) proposed method.
Electronics 12 04134 g012
Figure 13. The QR code image with strong global illumination (Type V) and its processing by using various methods: (a) original image; (b) Yao et al. [11]; (c) Di et al. [10]; (d) Chen et al. [13]; (e) Chen et al. [14]; (f) proposed method.
Figure 13. The QR code image with strong global illumination (Type V) and its processing by using various methods: (a) original image; (b) Yao et al. [11]; (c) Di et al. [10]; (d) Chen et al. [13]; (e) Chen et al. [14]; (f) proposed method.
Electronics 12 04134 g013
Figure 14. The PSNR and SSIM results for different types of QR code images using five methods: (a) PSNR results; (b) SSIM results [10,11,13,14].
Figure 14. The PSNR and SSIM results for different types of QR code images using five methods: (a) PSNR results; (b) SSIM results [10,11,13,14].
Electronics 12 04134 g014
Table 1. Experimental hardware configuration of this work.
Table 1. Experimental hardware configuration of this work.
HardwareParameters
ComputerOS: Ubuntu 20.04.1 LTS
CPU: AMD Ryzen 7 3700x 8-core processor*16 3.6 GHz
Laser printerModel: HP M226dw
Printed resolution: 600 × 600 dpi
Mobile phoneXiaomi 6 rear camera: 12 million pixels
Table 2. Experimental software configuration of this work.
Table 2. Experimental software configuration of this work.
SoftwareVersion
MatlabR2020a
Wechat—python libraries (Opencv)4.6.0.66
Zxing—python libraries 1.0
Table 3. A comparative study based on PSNR and SSIM results using various methods.
Table 3. A comparative study based on PSNR and SSIM results using various methods.
TypeMetrics Yao et al. [11]Di et al.
[10]
Chen et al.
[13]
Chen et al.
[14]
Proposed Method
IPSNR3.62333.64673.82283.86225.4935
SSIM0.07470.06910.08140.09380.1853
IIPSNR3.63644.08274.20314.22565.2199
SSIM0.09290.11450.12300.12900.1774
IIIPSNR3.92513.87453.90763.93374.4706
SSIM0.12960.09500.09910.10300.1658
IVPSNR4.14054.13844.05354.11485.3732
SSIM0.11290.12700.12410.12470.2247
VPSNR3.88263.63753.61633.62175.5479
SSIM0.08250.07910.07810.07680.2162
Table 4. The average processing time (s/image) and recognition rate (%) of various methods.
Table 4. The average processing time (s/image) and recognition rate (%) of various methods.
MethodAverage Processing Speed (s/Image)Recognition Rate (%)
ZxingWechat
None35.0048.75
Yao et al. [11]0.052037.5042.50
Di et al. [10]0.595353.7571.25
Chen et al. [13]0.316588.7592.50
Chen et al. [14]0.019992.5097.50
Proposed method0.016495.0098.75
Table 5. The recognition rate (%) of a public dataset provided by Szentandrasi et al. [33].
Table 5. The recognition rate (%) of a public dataset provided by Szentandrasi et al. [33].
MethodRecognition Rate (%)
ZxingWechat
None60.8660.86
Chen et al. [13]65.2169.56
Chen et al. [14]65.2173.91
Proposed method78.2682.60
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Chen, R.; Huang, Y.; Lan, K.; Li, J.; Ren, Y.; Hu, X.; Wang, L.; Zhao, H.; Lu, X. A Fast Adaptive Binarization Method for QR Code Images Based on Dynamic Illumination Equalization. Electronics 2023, 12, 4134. https://doi.org/10.3390/electronics12194134

AMA Style

Chen R, Huang Y, Lan K, Li J, Ren Y, Hu X, Wang L, Zhao H, Lu X. A Fast Adaptive Binarization Method for QR Code Images Based on Dynamic Illumination Equalization. Electronics. 2023; 12(19):4134. https://doi.org/10.3390/electronics12194134

Chicago/Turabian Style

Chen, Rongjun, Yue Huang, Kailin Lan, Jiawen Li, Yongqi Ren, Xianglei Hu, Leijun Wang, Huimin Zhao, and Xu Lu. 2023. "A Fast Adaptive Binarization Method for QR Code Images Based on Dynamic Illumination Equalization" Electronics 12, no. 19: 4134. https://doi.org/10.3390/electronics12194134

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop