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

Encoding method and decoding method for color two-dimensional code

A technology of color two-dimensional codes and coding methods, which is applied in the field of computers and two-dimensional codes, can solve problems such as poor compatibility, low information storage capacity, and inability to express complex pictures and scenes, so as to achieve good practicability and overcome low information storage capacity , the effect of strong visual impact

Inactive Publication Date: 2015-01-07
CHONGQING SCORE TK
View PDF6 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the object of the present invention is to provide a method for encoding and decoding a color two-dimensional code, which adopts a color encoding method, which can overcome the low information storage capacity, poor compatibility, and inability to express complex images and scene problem

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
  • Encoding method and decoding method for color two-dimensional code
  • Encoding method and decoding method for color two-dimensional code
  • Encoding method and decoding method for color two-dimensional code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0018] In this embodiment, 8 colors are used to encode the two-dimensional code, taking "Hello world" as an example.

[0019] In the encoding process, first establish an octal color value table, as shown in Table 1:

[0020] color

A

B

C

D

E

F

G

H

Numerical value

0

1

2

3

4

5

6

7

[0021] Table 1

[0022] According to step 2 to step 5, carry out color QR code coding, the specific steps are shown in the following table (Table 2):

[0023]

[0024] Table 2

[0025] According to the colors in the above table, there are a total of 33 color blocks, and a 7X7 matrix image is used to fill the above colors, and finally a color QR code is formed. like figure 2 As shown, among them, ABCDEFGH around represents 8 colors, and the solid line part and blank space represent data separation.

[0026] Decoding process:

[0027] 1. Scanned pictures, usually taken with a mobile phone camera;

[0028] ...

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 an encoding method and a decoding method for a color two-dimensional code, and belongs to the technical field of computers and two-dimensional codes. The encoding method comprises the following steps: step one, enabling all colors needing to be used by the two-dimensional code to correspond to corresponding numerical values in a one-to-one correspondence mode; step two, converting information to be expressed into single characters one by one; step three, converting the single characters into ASCII (American Standard Code for Information Interchange) codes; step four, converting the ASCII codes into N-system digits; step five, converting the digits into different colors; step six, filling a matrix graph with the colors in the step five to form the color two-dimensional code. The encoding method and the decoding method for the color two-dimensional code provided by the invention is good in practicability, can overcome the problems that a traditional two-dimensional code is low in information storage content and poor in compatibility and cannot express complicated pictures and scenes; meanwhile, the color two-dimensional code has rich colors and relatively strong visual impact.

Description

technical field [0001] The invention belongs to the technical field of computers and two-dimensional codes, and relates to a coding and decoding method of a colored two-dimensional code, in particular to a coding and decoding method of a colored and irregular two-dimensional code. Background technique [0002] The currently widely used two-dimensional code is composed of black and white dots, and uses a specific geometric figure to distribute black and white graphics on the plane (two-dimensional direction) according to certain rules to record data symbol information, which can be used in both horizontal and vertical directions. Two orientations express information at the same time, so a large amount of information can be expressed in a small area. [0003] QR codes can be used for information transfer, personal business cards, URLs, advertisements, vouchers, mobile payments, and other application scenarios that require the transfer of small amounts of data. The current bla...

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): G06K19/06G06K7/10
Inventor 徐佑林
Owner CHONGQING SCORE TK
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