Colored two-dimension code generating method and decoding method
A technology of two-dimensional codes and binary codes, which is applied in electromagnetic radiation induction, record carriers used by machines, instruments, etc., can solve the problems of single color two-dimensional codes, information loss, limited information volume, etc., and achieve large information volume, Many colors, strong ornamental effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] Such as figure 1 In the multi-color two-dimensional code generation method shown, the multi-color two-dimensional code includes an identification and positioning area, an information area, and a functional area. The method includes the following step S1: input data in the identification and positioning area, the information area, and the functional area, respectively, And convert its data to generate binary information flow respectively, wherein, the binary information flow of the information area is I x , the information flow includes N-bit binary code, N>0; S2: put I x split into I b and I a Two parts, and count I separately b The number of information bits with a median value of 1 and 0 D 1 、D 0 ;S3: Compare I b Middle D 1 and D 0 After the size of the monochrome two-dimensional code is generated; S4: the I a Carry out grouping, and set the corresponding color for the binary code in each group according to the color code standard; S5: Add the color set in S4...
Embodiment 2
[0050] Such as figure 2The multi-color two-dimensional code generation method shown, on the basis of Embodiment 1, before comparing D1 and D0 in S3, also includes S30: for the information bit with a value of 1 and the information bit with a value of 0 in the monochrome encoded stream Do mask processing and notify the functional area of the operation. S4 also includes S41: performing an XOR operation on each group in S4 and its previous group, and notifying the functional area of the binary information flow of the operation. The method also includes step S6: after the statistics complete the color addition, I a The quantity A of the binary code that has not yet been utilized in, if A=0, then do not do any operation; Otherwise pair of I again x Segmentation is performed to complete steps S2-S5. The method also includes S61: when A=0, count the number D of information bits whose value is 1 without color addition in the monochrome two-dimensional code, if D∈[0,0.1D 1 ], t...
Embodiment 3
[0055] Such as figure 2 The shown decoding method based on the multi-color two-dimensional code described in Embodiment 1 includes the following steps: S1: scan according to the identification positioning area to obtain the multi-color two-dimensional code pixel; S2: scan and extract the pixel in the multi-color two-dimensional code pixel Convert the color pixels to generate a new multi-color binary information flow; after processing the multi-color QR code in black and white, scan and extract the information area to generate a new monochrome binary information flow; Color binary information flow and new monochrome binary information flow are processed to obtain monochrome binary information flow I b , multi-color binary information flow I a ; S4: Sequentially convert the monochrome binary information stream I b with multicolor binary stream I a Merge to obtain the information area binary information flow I x , order and place I x Decode to obtain the content of the info...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com