Decoding method and system for ultra-low-contrast two-dimension code

A decoding method and two-dimensional code technology, applied in the direction of electromagnetic radiation induction, etc., can solve the problems of poor image processing effect, inability to separate the two-dimensional code graphics from the background, etc., and achieve the effect of good processing effect.

Active Publication Date: 2015-06-17
广州回我信息科技有限公司
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] One of the tasks of the present invention is to solve the problem that the existing two-dimensional code decoding method cannot effectively separate the two-dimensional code graphics from the background, and has a poor effect on low-contras

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Decoding method and system for ultra-low-contrast two-dimension code
  • Decoding method and system for ultra-low-contrast two-dimension code
  • Decoding method and system for ultra-low-contrast two-dimension code

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0035] Example 1

[0036] figure 1 This is a flowchart of the method for decoding an ultra-low contrast two-dimensional code in this embodiment. The method for decoding an ultra-low-contrast two-dimensional code includes the following steps:

[0037] 1) Establish the integral image of the original image of the QR code, and use the integral image to perform adaptive binarization of the original image of the QR code;

[0038] 2) Perform median filtering on the original image of the QR code after binarization to denoise;

[0039] 3) Locate the original image of the QR code after denoising;

[0040] 4) Error detection, correction and decoding of the extracted binary series.

[0041] Any point (x, y) of the integral image in step 1) represents the sum of gray levels from the upper left corner of the original image to all the points in the rectangular area formed by this point, namely

[0042]

[0043] among them, Represents the integral image, and i(x',y') represents the original image. It c...

Example Embodiment

[0055] Example 2

[0056] The difference between the decoding method of the ultra-low-contrast two-dimensional code in this embodiment and the first embodiment is that the implementation of the integral image of the original image of the two-dimensional code in step 1) is optimized in this embodiment. Greatly save the memory resources of the device and improve the operating efficiency of the device.

[0057] The establishment of the integral image of the original image of the QR code is achieved through the following steps:

[0058] i. Create two new arrays with the same width as the original image of the QR code;

[0059] ii. When processing pixels (x, y), in the two arrays of step i, record the y-s-1th row and the y+sth row of the integral image respectively, where s is an integer;

[0060] iii. Use the following formula to calculate the sum of pixels in the pixel point (x, y) window area (2s+1)×(2s+1), the formula is:

[0061] Where x 1 =x-s; x 2 =x+s; y 1 =y-s; y 2 =y+s, I(x 2 , Y ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a decoding method for an ultra-low-contrast two-dimension code. The method comprises the following steps that 1, an integral image of a two-dimension code original image is built, and adaptive binarization processing is carried out on the two-dimension code original image through the integral image; 2, median filtering and denoising are carried out on the two-dimension code original image after the binarization processing; 3, the denoised binarization processing is positioned; 4, error detection, error correction and decoding are carried out on extracted information data. The invention further discloses a decoding system for the ultra-low-contrast two-dimension code. The system comprises an adaptive binarization processing module, a median filtering processing module, a positioning module and an error detection, error correction and decoding module. The decoding method and system for the ultra-low-contrast two-dimension code can effectively separate a two-dimension code graph from the background, and are good in low-contrast image processing effect.

Description

technical field [0001] The invention belongs to the technical field of two-dimensional code decoding, and in particular relates to a decoding method and system for an ultra-low contrast two-dimensional code. Background technique [0002] The existing two-dimensional code decoding method generally first performs binarization processing on the image, then performs positioning, and finally decodes. But the general image binarization method is very poor for low-contrast images. For this kind of problem, image enhancement is generally used for processing, such as gamma correction. But the result of processing is still not ideal. As a result of the above processing, the two-dimensional code graphics cannot be effectively separated from the background. [0003] Another idea to deal with low contrast is to perform edge detection first, find the approximate area of ​​the image where the QR code is located according to the relevant features of the QR code, and then binarize...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06K7/10
Inventor 吴秋蓉
Owner 广州回我信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products