Two-dimensional image processing method

An image processing and two-dimensional code technology, applied in the field of algorithms, can solve problems such as poor contrast, difficult positioning, and high difficulty, and achieve the effect of increased recognition

Inactive Publication Date: 2017-06-20
SHANGHAI SMARTEE DENTI TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the prior art, Data Matrix is ​​mostly used in printing, engraving, photolithography, etching, stamping, etc. The recognition method of the two-dimensional code generated by these methods is relatively simple because the recognition degree of its edge is high, but the method of 3D printing is adopted. , directly generate a two-dimensional code, its recognition edge is fuzzy, it is difficult to realize positioning, and, due to material reasons, the contrast is relatively poor under lighting conditions, and it is difficult to process and recognize it. The method of image processing for the two-dimensional code generated by the 3D printing method is of great significance

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
  • Two-dimensional image processing method
  • Two-dimensional image processing method
  • Two-dimensional image processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] Embodiment 1 A two-dimensional code image processing method

[0055] A method for processing a two-dimensional code image, which is performed in accordance with the following sequence of steps:

[0056] 1) Obtain the positioning area, such as figure 1 shown;

[0057] 2) After obtaining the positioning area, according to the code system standard of the datamatrix two-dimensional code, the bilinear interpolation method is used to adjust the image scale to a square, such as figure 2 shown;

[0058] (a) Suppose the pixel position of the new image is (m, n), and the magnification factors are k, p respectively, then the corresponding position of the adjusted pixel position in the original image is: ;

[0059] (b) Set four points in the original image, f(i,j), f(i+1,j), f(i,j+1), f(i+1,j+1), and calculate the four-point area Interpolation of to get the pixel value f(x,y) at the corresponding position of the new image:

[0060]

[0061] in, , b ,and:

[0062] ...

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 two-dimensional image processing method. The method comprises: (1), obtaining a positioning region; (2), after obtaining of the positioning region, adjusting an image dimension to be a square by using a bilinear interpolation method; (3), improving a contrast ratio of the image by using a non-linear gray stretch algorithm; (4), carrying out corrosion on a result obtained by the step (3); (5), carrying out convolution on an image f(x,y) by using a two-dimensional Gaussian convolution operator according to a size of q*q; (6), carrying out adaptive threshold binaryzation operation on an image G(x,y) after convolution; and (7), inputting an obtained standard datamatrix two-dimensional code into a decoder for decoding. According to the invention, with a two-dimensional code not sensitive to illumination variation, a gray stretch method is used for replacing the existing smoothing method in the prior art, so that the identification degree is increased. The two-dimensional image processing method is suitable for identification of a 3D printing two-dimensional code made of a resinous material.

Description

technical field [0001] The invention belongs to the field of algorithms, and relates to an image processing method, in particular to a two-dimensional code image processing method. Background technique [0002] Data Matrix is ​​a QR code widely used in international manufacturing. Data Matrix is ​​a member of the two-dimensional code, invented by the American International Data Corporation in 1989, and is widely used for anti-counterfeiting and overall identification of commodities. It is a code that can be directly marked on a solid surface. The code can be automatically read by the corresponding scanning device like an ordinary barcode, and is very popular in the manufacturing industry. At present, Data Matrix is ​​widely used in product identification, anti-counterfeiting, quality tracking, automatic storage, logistics management and control and other systems. Data Matrix adopts complex error correction code technology, which makes the code have super anti-pollution abi...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06T5/00
CPCG06T5/001
Inventor 查凯王龙姚峻峰
Owner SHANGHAI SMARTEE DENTI TECH CO LTD
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