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

Improving method for binaryzation of two-dimensional code image

An image binarization and two-dimensional code technology, applied in the field of image processing, can solve problems such as image distortion, affecting the reading effect, and recognition errors of two-dimensional code image information

Inactive Publication Date: 2017-08-18
GUANGZHOU ZD INFORMATION TECH CO LTD
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the recognition process of the two-dimensional code image, the image processed by the scanning head or the camera will inevitably have distortion, blur, tilt or uneven illumination, which will affect the reading effect. The existing image processing method is through image grayscale After binarization processing, the image is binarized. However, due to the wide variety of environments in which the two-dimensional code is used and the unbalanced lighting environment, when binarizing the image, it is often impossible to correct the binarization obtained in the unevenly illuminated and intersecting dark places. The two-dimensional code image is better binarized, so that it is often impossible to recognize the information of the two-dimensional code image in the subsequent recognition, or the information of the two-dimensional code image is misrecognized

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
  • Improving method for binaryzation of two-dimensional code image
  • Improving method for binaryzation of two-dimensional code image
  • Improving method for binaryzation of two-dimensional code image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0022] In order to improve the rapid recognition ability of the two-dimensional code image, it is necessary to convert the grayscale processed image into a binary image. The processing of image pixels is based on the threshold value and divided according to the threshold value T. Generally, it is divided into two parts, one part is the pixel point greater than T, and the other part is the pixel point smaller than T. The expression of the division basis is:

[0023]...

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 an improving method for the binaryzation of a two-dimensional code image, and the method comprises the steps: carrying out the preprocessing of the collected two-dimensional code image, and obtaining the preprocessed two-dimensional code image, wherein the preprocessing operation comprises the steps: setting the length of the two-dimensional code image as M and length as N, and carrying out the graying processing of the two-dimensional code image; carrying out the segmenting and marking of the preprocessed two-dimensional code image, and obtaining the segmented and marked two-dimensional code image; calculating the pixel value and a pixel value threshold of each block of the two-dimensional code image, representing the calculated and obtained pixel values through ave[a], and representing the pixel value threshold through Ta, wherein a represents the a-th block of the two-dimensional code image; carrying out the fusion of all blocks of the two-dimensional code image, and obtaining the complete two-dimensional code image. In the specific execution process, the method can achieve the better binaryzation of the two-dimensional code image obtained under the nonuniform light illumination, and obtains the better processing effect.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to an improved method for binarizing a two-dimensional code image. Background technique [0002] Two-dimensional codes are widely used because of their advantages such as strong information storage capacity, convenient reading, and good confidentiality. During the recognition process of the two-dimensional code image, the image processed by the scanning head or the camera will inevitably have distortion, blur, tilt or uneven illumination, which will affect the reading effect. The existing image processing method is through image grayscale After binarization processing, the image is binarized. However, due to the wide variety of environments in which the two-dimensional code is used and the unbalanced lighting environment, when binarizing the image, it is often impossible to correct the binarization obtained in the unevenly illuminated and intersecting dark places. The two-...

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): G06T7/11G06K7/14
CPCG06K7/1417G06K7/146
Inventor 张子涵龙辉王涛张运球龚德财李艳丽
Owner GUANGZHOU ZD INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products