Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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-contrast image processing, and provides a method that can effectively separate the two-dimensional code graphics Decoding method for ultra-low-contrast QR codes that is separated from the background and has a good effect on low-contrast image processing

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

Embodiment 1

[0036] figure 1 It is a flow chart of the decoding method of the ultra-low contrast two-dimensional code in this embodiment, and the decoding method of the ultra-low contrast two-dimensional code comprises the following steps:

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

[0038] 2) Perform median filtering and denoising on the original image of the two-dimensional code after binarization;

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

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

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

[0042]

[0043] in, Represents the integral image, and i(...

Embodiment 2

[0056] The difference between the decoding method of the ultra-low contrast two-dimensional code in this embodiment and embodiment 1 is that in this embodiment, the implementation of the integral image of the original image of the two-dimensional code in step 1) is optimized, and this implementation method can It greatly saves the memory resources of the device and improves the operating efficiency of the device.

[0057] The establishment of the integral image of the original image of the two-dimensional code is realized through the following steps:

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

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

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

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 广州回我信息科技有限公司
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More