A method and installation to embed pattern in two-dimensional bar code

A technology of two-dimensional barcode and embedding position, which is applied in the field of channel coding and data communication, which can solve the problems of reducing the available area of ​​the surface of the carrying object and consuming resources, and achieve the effect of novel and vivid two-dimensional barcode, saving resources and increasing efficiency

Inactive Publication Date: 2007-04-25
钟杨 +2
View PDF0 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The technical problem to be solved by the present invention is to provide a method and device for embedding a visual pattern in a two-dimensional barcode, so as to solve the problems in the prior art that additional text needs to be issued, the production process consumes resources and reduces the available area of ​​the surface of the carrying object. question

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
  • A method and installation to embed pattern in two-dimensional bar code
  • A method and installation to embed pattern in two-dimensional bar code
  • A method and installation to embed pattern in two-dimensional bar code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0087] Referring to Fig. 2, it is a flow chart of Embodiment 1 of the method of the present invention. In this embodiment, the case where the pattern to be embedded and the resolution of the two-dimensional barcode are different will be introduced as an example, wherein the comparison pattern and the embedded pattern are the pattern to be embedded Carry out the pattern after rasterization processing, embodiment 1 specifically comprises the following steps:

[0088] Step 201, perform two-dimensional barcode encoding on the preset original data to obtain a two-dimensional barcode, and obtain the position of the control symbol unit area of ​​the two-dimensional barcode.

[0089] The preset raw data is the data that needs to be encoded in the two-dimensional barcode, and the original data is encoded by the encoding method specified by the user. The encoding method can adopt various encoding methods of the existing two-dimensional barcode according to the needs, such as Codc16K , C...

Embodiment 2

[0103] Referring to Fig. 3a, it is a flow chart of method embodiment 2 of the present invention, including:

[0104] Step 301, perform two-dimensional barcode encoding on the preset original data to obtain a two-dimensional barcode, and obtain the position of the control symbol unit area of ​​the two-dimensional barcode.

[0105] Step 302 , judging whether the preset pattern to be embedded covers the control symbol unit area of ​​the two-dimensional barcode according to the pre-specified embedding position of the pattern. If the pattern to be embedded covers the control symbol unit area of ​​the two-dimensional barcode, perform step 303 ; otherwise, perform step 304 .

[0106] Step 303, embedding fails. The original parameters of the preset can be adjusted by the user, again for embedding.

[0107] Step 304, comparing the color values ​​of the corresponding modules of the pattern to be embedded with the two-dimensional barcode, and judging whether the number of modules with ...

Embodiment 3

[0110] Referring to Fig. 4a, it is a flow chart of method embodiment 3 of the present invention, including:

[0111] Step 401, perform two-dimensional barcode encoding on the preset original data to obtain a two-dimensional barcode, and obtain the position of the control symbol unit area of ​​the two-dimensional barcode.

[0112] Step 402, performing rasterization processing on the preset pattern to be embedded to obtain a rasterized pattern.

[0113] Step 403 , judging whether the rasterized pattern covers the control symbol unit area of ​​the two-dimensional barcode according to the pre-designated embedding position of the pattern. If the grid pattern covers the control symbol unit area of ​​the two-dimensional barcode, go to step 404 ; if not, go to step 405 .

[0114] Step 404, embedding fails. The preset original parameters can be adjusted by the user to re-embed the pattern.

[0115] Step 405 , comparing the grid pattern with the color values ​​of corresponding module...

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 relates to a method for embedding image into two-dimension bar code and relative device. Wherein, said method comprises that presetting two-dimension bar code, wait embedded image, and embed position; finding contrast image whose resolution is same as two-dimension bar code; based on the embed position, comparing the color of relative modules in contrast image and the two-dimension bar code, and calculating the module number with differential color; if the number is not higher than preset correct threshold value, fixing the embed image, and embedding image into bar code. The invention can embed recognized image into two-dimension bar code, without print, to save resource.

Description

technical field [0001] The invention relates to the field of data communication, in particular to the field of channel coding in data communication. Background technique [0002] 2-dimensional bar code (2-dimensional bar code) is an information storage and transmission technology, which uses a specific geometric figure to record data symbol information in black and white graphics distributed on a plane (two-dimensional direction) according to certain rules; it In coding, the concept of "0" and "1" bit streams that constitute the internal logic basis of the computer is used, and several geometric shapes corresponding to binary are used to represent text and numerical information, which can be automatically read by image input equipment or photoelectric scanning equipment. In order to realize the automatic processing of information. [0003] Two-dimensional barcodes can be divided into two types: stacked / row-type two-dimensional barcodes and matrix two-dimensional barcodes. ...

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): H04L1/00G06K19/06G06K9/00G06K7/00
Inventor吴东钟杨
Owner钟杨