CN104951828B - The generation method of colored high-order latent image code - Google Patents

The generation method of colored high-order latent image code Download PDF

Info

Publication number
CN104951828B
CN104951828B CN201510323718.9A CN201510323718A CN104951828B CN 104951828 B CN104951828 B CN 104951828B CN 201510323718 A CN201510323718 A CN 201510323718A CN 104951828 B CN104951828 B CN 104951828B
Authority
CN
China
Prior art keywords
code
colours
information
gtg
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510323718.9A
Other languages
Chinese (zh)
Other versions
CN104951828A (en
Inventor
潘小和
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Silicon Graphics (Xiamen) Technology Co., Ltd.
Original Assignee
Silicon Graphics (xiamen) Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Silicon Graphics (xiamen) Technology Co Ltd filed Critical Silicon Graphics (xiamen) Technology Co Ltd
Priority to CN201510323718.9A priority Critical patent/CN104951828B/en
Publication of CN104951828A publication Critical patent/CN104951828A/en
Application granted granted Critical
Publication of CN104951828B publication Critical patent/CN104951828B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a kind of generation method of colored high-order latent image code, it comprises the following steps:Setting steps:For the identification region of colored high-order latent image code, number of colours and GTG quantity are set;Obtaining step:Obtain data to be encoded;Coding step:The data to be encoded are encoded, according to the number of colours and the GTG quantity, generation includes the identification region of each described information symbol with the information code element of some colors and each color with some grades of GTGs, output.Using such scheme, the present invention has the information code element of some grades of GTGs by using some colors and each color, need not be using the square frame positioning of three angles position of prior art, so that Quick Response Code can not only be shown as image, more code information carrying breaths can also be carried, information storage is big, beneficial to accurate identification, word or image carrier can be used as to use, there is very high market application value.

Description

The generation method of colored high-order latent image code
Technical field
The present invention relates to planar bar code technology improvement, more particularly to, a kind of generation side of colored high-order latent image code Method.
Background technology
Two-dimensional bar code/Quick Response Code (2-dimensional bar code) is by a set pattern with certain specific geometric figure The chequered with black and white graphic recording data symbol information that rule is distributed in plane (on two-dimensional directional);On coding dexterously Using form " 0 " of computer-internal logical foundations, " 1 " bit stream concept, it is corresponding with binary system several using several What body represents word numerical information, by image input device or photoelectric scanning device automatically identifying and reading to realize that information is automatic Processing:It has some general character of barcode technology:Every kind of code system has its specific character set;Each character occupies certain width Degree;With certain verifying function etc..Also there is the information automatic identification function to not going together and processing figure rotation to become simultaneously Change point.
The external research to planar bar code technology starts from late 1980s, in terms of two-dimensional code symbol presentation technology research A variety of code systems are had been developed that, common are PDF417, QR Code, Code 49, Code 16K, Code One etc..These two dimensions The information density of code is all greatly improved than traditional one-dimension code, if PDF417 information density is one-dimension code CodeC39 More than 20 times.In terms of Quick Response Code Standardization Research, international automatic identification AEM (AIM), American Standards Association (ANSI) the symbol standard of the code systems such as PDF417, QR Code, Code 49, Code 16K, Code One has been completed.It is international The standard technique committee and International Electrotechnical Commission have also set up the bar code automatic identification technology committee (ISO/IEC/JTC1/ SC31), QR Code international standard (ISO/IEC 18004 has been formulated:2000《Automatic Identification & Data Collection-bar Code sign technical specification-QR codes》), draft the Quick Response Codes such as PDF417, Code 16K, Data Matrix, Maxi Code ISO/IEC draft standards.In terms of the development of Quick Response Code equipment development, production, equipment manufacturers' production of the state such as the U.S., Japan Recognizing apparatus, symbol generation equipment, are widely used to all kinds of Quick Response Code application systems.Quick Response Code is as a kind of brand-new information Storage, transmission and identification technology, many national concerns in the world have just been obtained from being born certainly.Virtue Japan and other countries, Planar bar code technology is not only applied to the management of the department to all kinds of certificates such as public security, diplomacy, military affairs, and by Quick Response Code application In departments such as management of the departments such as customs, the tax to all kinds of forms and bill, business, communications and transportation to commodity and cargo transport Management, management, field of industrial production automatic management to industrial production line of the postal service to parcel post.
Research of the China to planar bar code technology starts from 1993.Article Numbering Center of China is to several conventional Quick Response Codes PDF417, QR Code, Data Matrix, Maxi Code, Code 49, Code 16K, Code One technical specification are carried out Translation and follow-up study.With the constantly improve of China market economy and developing rapidly for information technology, the country is to Quick Response Code The demand of this new technology is growing day by day.Article Numbering Center of China is in former China State Bureau of Quality and Technical Supervision and national departments concerned Support energetically under, the research to planar bar code technology deepens continuously.On the basis of external correlation technique data is digested, formulate The national standard of two Quick Response Codes:Quick Response Code grid matrix code (SJ/T 11349-2006) and Quick Response Code close matrix code (SJ/T 11350-2006), so that the research and development that China has the Quick Response Code of technology with proprietary intellectual property rights be greatly facilitated.
Provide some Back ground Informations of Quick Response Code relevant criterion again below.Correction graph (Alignment Pattern) is A fixed reference figure for establishing matrix notation position, decoding software can have moderate damage by it in image In the case of bad, the coordinate image of image module is resynchronized.Character count designator (Character Count Indicator) It is the bit sequence for defining the data string length under a certain pattern.ECI designators (ECI designator) are usually 6 bit digitals, For identifying specific ECI tasks.Coding region (encoding region) is not taken in symbol by functional graphic, The region that data or error correction code word can be encoded.Expand and explain (Extended Channel Interpretation (ECI) it is) in some code systems, allows output stream the agreement for having the explanation different from default character set.Format information (Format Information) is a kind of functional graphic, and it includes the symbol error-correction level used and the mask graph used Information, to enter row decoding to the remainder of coding region.Functional graphic (function pattern) is used in symbol In symbol location and the special pattern of feature recognition.Mask graph is to be used for symbol with reference to (Mask Pattern Reference) Three bit mask graphical identifiers.Mask (masking) is in coding region, and xor operation is carried out to bitmap with mask graph, The purpose is to make the dark balanced proportion with light module number in symbol, and reduce the figure that influence image is quickly handled and go out It is existing.Pattern (mode) is the method that specific character set is expressed as to bit string.Mode indicators (Mode Indicator) are usual For 4 bit identifiers, the coding mode used in subsequent data sequence is indicated.Position sensing figure (Position Detection Pattern) it is one of three identical figures of composition view finding figure.Section (segment) is with same ECI or coding mode volume The data sequence of code.Separator (Separator) is the functional graphic being all made up of light module, and width is a module, For the remainder of position sensing figure and symbol to be separated.Full stop (Terminator) is to be used for sign-off table registration evidence The bitmap of bit stream.It is typically the dark figure to interlock with light module to position figure (Timing Pattern), is easy to determine to accord with The coordinate of module in number.
With the development of technology, Quick Response Code has been used widely.But Quick Response Code is typically only capable to accommodate more than 1,000 Byte, such as 500 Chinese characters or so, the small deficiency of existence information amount of storage, and due to its rule limitation, cause to expand The maximum capacity of appearance is no more than the square number of existing capacity.And as the development of the barcode scanning hardware such as mobile phone, camera technique can Enough obtain fine image.Therefore, the prior art is defective, it is necessary to improve.
The content of the invention
The technical problems to be solved by the invention are to provide a kind of generation method of new colored high-order latent image code.
Technical scheme is as follows:A kind of generation method of colored high-order latent image code, it comprises the following steps: Setting steps:For the identification region of colored high-order latent image code, number of colours and GTG quantity are set;Obtaining step:Acquisition is treated Coded data;Coding step:The data to be encoded are encoded, it is raw according to the number of colours and the GTG quantity Include the identification of each described information symbol into the information code element of some colors and each color with some grades of GTGs, output Region.
Preferably, the GTG quantity is set according to the number of colours.
Preferably, the square root round numbers that the GTG quantity is the number of colours is set.
Preferably, GTG quantity is set respectively to each color of the number of colours.
Preferably, identical GTG quantity is set to each color of the number of colours.
Preferably, default identical GTG quantity is given tacit consent to each color of the number of colours.
Preferably, the default identical GTG quantity is 8 to 256.
Preferably, the size of described information symbol is pre-seted according to the identification region.
Preferably, the size of described information symbol is pre-seted always according to the number of colours.
Preferably, the size of described information symbol is pre-seted always according to the GTG quantity.
Using such scheme, the present invention has the information code of some grades of GTGs by using some colors and each color Member, positioned without the square frame of three angles position using prior art so that Quick Response Code can not only be shown as image, additionally it is possible to More code information carrying breaths are carried, information storage is big, beneficial to accurate identification, word or image carrier can be used as to use, had Very high market application value.
The other technologies scheme of the present invention, additionally it is possible to using the content shown by display image as the information area of Quick Response Code, So that the form of expression of Quick Response Code is more bonded reality, rather than existing various sub-boxes or mosaic, sight is more preferably.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of one embodiment of generation method of the present invention.
Embodiment
For the ease of understanding the present invention, below in conjunction with the accompanying drawings and specific embodiment, the present invention will be described in more detail. But the present invention can be realized using many different forms, however it is not limited to the embodiment described by this specification.Need It is bright, when element is referred to as " being fixed on " another element, it can directly on another element or there may also be Element placed in the middle.When an element is considered as " connection " another element, it can be directly to another element or Person may be simultaneously present centering elements.
Unless otherwise defined, technology all used in this specification and scientific terminology are led with belonging to the technology of the present invention The implication that the technical staff in domain is generally understood that is identical.Used term is simply in the description of the invention in this specification The purpose of description specific embodiment, it is not intended to the limitation present invention.Term used in this specification " and/or " include one The arbitrary and all combination of individual or multiple related Listed Items.
As shown in figure 1, one embodiment of the present of invention is, a kind of generation method of colored high-order latent image code, it is wrapped Include following steps:Setting steps:For the identification region of colored high-order latent image code, number of colours and GTG quantity are set;Obtain Step:Obtain data to be encoded;Coding step:The data to be encoded are encoded, according to the number of colours and described GTG quantity, generation include each letter with the information code element of some colors and each color with some grades of GTGs, output Cease the identification region of symbol.Stealths therein, the witness marker of existing Quick Response Code, such as three small square frames are referred to, are hidden, As stealthy invisible content.For example, generation is with the information of red and black double colour and each color with 96 grades of GTGs Symbol, its a total of 96*2=192 seed color;And for example, generation has red-black two kinds of basic colors and each basic colors Information code element with 96 grades of GTGs, its a total of 96*2=192 kinds subdivision color.Or, it will be appreciated that it is, according to the color Quantity and the GTG quantity, generation combine some grades of GTGs with some basic colors and each basic color, formed so as to combine Some colors or be sub-color or be segment color information code element.For example, in setting steps, colored high-order latent image The identification region only configuration information area of code, deposits location information in the information area;Or positioning area is deposited in the information area.
Preferably, the GTG quantity is set according to the number of colours.For example, GTG quantity is 8 to 256.For example, institute State GTG quantity to be inversely proportional with the number of colours, that is to say, that number of colours is bigger, and GTG quantity is smaller;For example, the color Color quantity is 256, and the GTG quantity is 8;And for example, the number of colours is 128, and the GTG quantity is 16;And for example, it is described Number of colours is 64, and the GTG quantity is 32;By that analogy.So, suitable for the constant equipment of analytic ability, for example, it is a certain The mobile phone in period.And for example, the GTG quantity is directly proportional to the number of colours, that is to say, that number of colours is bigger, grey exponent number Amount is bigger;For example, the number of colours is 8, the GTG quantity is 8;And for example, the number of colours is 16, the grey exponent number Measure as 16;And for example, the number of colours is 32, and the GTG quantity is 32;By that analogy.So, suitable for generating various appearances The colored high-order latent image code of amount.
Preferably, the square root round numbers that the GTG quantity is the number of colours is set.For example, the number of colours For 64, the GTG quantity is 64 square root, i.e., 8;And for example, the number of colours is 255, and the GTG quantity is 255 Square root round numbers, such as 4 houses 5 enter to round, i.e., and 16;And for example round downwards, i.e., 15;By that analogy.So, institute need to only be determined State number of colours and can determine that the GTG quantity.And for example, square that the GTG quantity is the number of colours is set;Example Such as, the number of colours be 8, the GTG quantity be 8 square, i.e., 64;And for example, the number of colours is 10, the GTG Quantity be 10 square, i.e., 100;By that analogy.So, it also need to only determine that the number of colours can determine that the grey exponent number Amount, it is simple to operate easy-to-use.
Preferably, GTG quantity is set respectively to each color of the number of colours;For example, red GTG quantity is set For 16, blue GTG quantity is 8, and green GTG quantity is 24 etc..And for example, each color of the number of colours is set Identical GTG quantity, for example, it is 32 to set red, blueness, the GTG quantity of green.Preferably, to the number of colours The default identical GTG quantity of each color acquiescence.Preferably, the default identical GTG quantity is 8 to 256.It is for example, silent The GTG quantity for recognizing each color is 25.Then, the adjustment GTG quantity of each color is set further according to input;Such as by user The adjustment GTG quantity of each color is inputted, using the GTG quantity as each color.
Preferably, the size of described information symbol is pre-seted according to the identification region.For example, identification region is square, It is classified as x2It is individual square;For example, the identification region is 3*3 square centimeters, be classified as 9 it is square, it is each square to be The size of described information symbol, i.e., 1 square centimeter;And for example, 36 square, each square as described information symbols are classified as Size, i.e., 0.25 square centimeter.
Preferably, the size of described information symbol is pre-seted always according to the number of colours.For example, described information symbol Size is inversely proportional with the number of colours, and the number of colours is bigger, and described information symbol is smaller.Preferably, always according to described GTG quantity pre-sets the size of described information symbol.For example, the size of described information symbol is inversely proportional with the GTG quantity, The GTG quantity is bigger, and described information symbol is smaller.So, an information code element can accommodate bigger information content.
For example, GTG quantity is set for the various basic colors in the identification region of colored high-order latent image code, for example, by The number of colours determines each basic color, i.e., described basic color is related to the number of colours.And for example, the setting steps In, it is that the identification region of colored high-order latent image code sets number of colours and GTG quantity.And for example, in the setting steps, The GTG that identification region for colored high-order latent image code is set and the number of colours of colored high-order latent image code matches Quantity, for example, the GTG quantity is equal with the number of colours.And for example, in the setting steps, always according to the grey exponent number Amount sets the identification region of the colored high-order latent image code, so, can be according to being adjusted flexibly GTG quantity The size of identification region.For example, the identification region is directly proportional to the GTG quantity, in the present embodiment, colored high-order is stealthy The size of image code is not a rated value, but is flexibly set according to GTG quantity, and a width can be made very in practical application Big pictorial poster;Preferably, the positioning grid that the pictorial poster is viewed and admired without obvious, obstruction, so as to stealthy as colored high-order Image code uses.
Preferably, before the setting steps, in addition to step:Determine identification region.For example, a kind of colored high-order is stealthy The generation method of image code, it comprises the following steps:Determine identification region;Identification region for colored high-order latent image code is set Put GTG quantity;Obtain data to be encoded;The data to be encoded are encoded, multiple tools are generated according to the GTG quantity There is the information code element of some grades of GTGs, output includes the identification region of each described information symbol.And for example, the generation method includes Following steps:Determine identification region;For the identification region of colored high-order latent image code, GTG quantity is set;According to the GTG The identification region is set or adjusted in quantity;Obtain data to be encoded;The data to be encoded are encoded, according to the ash The multiple information code elements with some grades of GTGs of exponent number amount generation, output include the identification region of each described information symbol.
Preferably, the determination identification region, including positioning area and the information area of the identification region are determined, or, really The information area of the fixed identification region and positioning area therein or positioning mark;Or determine the information code of the identification region Positioning area or positioning mark in member.Preferably, the positioning area is set by row, for example, often row sets a positioning area.Again Such as, the determination identification region, the information area for determining the identification region is only included;So, it can obtain and substantially not position The colored high-order latent image code in area, for example, the lattice at three angles of existing Quick Response Code.Preferably, described information area is set Put the positioning area;And for example, described information symbol sets the positioning area.Preferably, each described information symbol sets an institute State positioning area;Or some described information symbols share a positioning area, for example, there is 300 information code elements, are divided into 3 groups, often Group information symbol shares a positioning area, shares 3 positioning areas;Or whole described information symbols share a positioning Area, for example, the positioning area is set in the upper left corner of the identification region, the lower left corner, the upper right corner or the lower right corner, described in whole Information code element shares the positioning area.So, the capacity of colored high-order latent image code can be increased.
Preferably, in the setting steps, the shape of described information symbol is also set up.For example, described information symbol is square Shape.Preferably, described information symbol is square.Preferably, the shape of described information symbol, example are set according to the GTG quantity Such as, the GTG quantity is bigger, and the edge of the shape of described information symbol is more;And for example, the GTG quantity is bigger, the letter The shape for ceasing symbol is more complicated;And for example, the shape of described information symbol has some convex portions, and the GTG quantity is bigger, described The convex portion of information code element is more;Preferably, the convex portion quantity of described information symbol is equal with the GTG quantity;Preferably, often One described information symbol sets a positioning area, using the positioning area of the convex portion as described information symbol.For example, The convex portion is essentially pixel grid, and the pixel grid on its both sides is colourless or light, and the convex portion is dark color.It is preferred that , according to the size of GTG quantity setting described information symbol.For example, the size of described information symbol and the grey exponent number Amount is inversely proportional, for example, the GTG quantity is bigger, described information symbol is smaller.
And for example, a kind of generation method of colored high-order latent image code, it comprises the following steps:It is hidden to pre-set colored high-order The identification region of shape image code, for example, determining the identification region of the colored high-order latent image code;Wherein, the cog region Domain is used for the information code element for placing colored high-order latent image code to be identified;For example, the identification region set positioning area with The information area, wherein, the positioning area is non-specific to offend the eye setting, i.e., it is same or like with the expression-form in described information area, no Viewed and admired as obstruction, such as the positioning area and described information area are partial graphical or image, it is preferred that the positioning area Positioning mark with some pixels composition, to identify;Pre-set the number of colours and GTG of colored high-order latent image code Quantity;Obtain data to be encoded;Coding step:The data to be encoded are encoded, export identification region.It is for example, described The information area includes some square symbols.And for example, described information area includes some rectangle symbols.Preferably, in addition to step:Using The identification region is as colored high-order latent image code and shares, such as by network sharing, and for example, is entered by mobile terminal Row is shared.
For example, pre-seting the identification region of colored high-order latent image code, the identification region includes positioning area and information Area;Preferably, the positioning area is arranged in described information area.For example, the positioning area includes correction graph, such as it is used for A fixed reference figure of matrix notation position is established, decoding software there can be moderate damage by it in image In the case of, resynchronize the coordinate image of image module;Described information area includes coding region, such as is not accounted for by functional graphic With the region that can be encoded to data or error correction code word.It should be noted that character count designator, ECI designators, The existing planar bar code technology such as separator, full stop, it is arranged at the identification region, will not be described here, of the invention and its each Embodiment is described in detail only for each inventive point, each embodiment and its correlation technique feature.
For example, pre-set the number of colours of colored high-order latent image code;For example, chromatic number based on the number of colours Amount, wherein, the color in the number of colours, including some basic colors;For example, the number of colours is 3, and it is corresponding, it is described Color includes 3 kinds of basic colors;And for example, the GTG quantity is 16, i.e., including 16 grades of GTGs, so, colored high-order latent image A total of 48 kinds of colors of identification region of code.And for example, the number of colours is 8, and the GTG quantity is 64, i.e., described color bag 8 kinds of basic colors are included, every kind of basic color has 64 grades of GTGs, totally 512 kinds of colors.And for example, colored high-order latent image code is pre-seted Number of colors scale, each number of colours in table to should quantity some basic colors, it is corresponding pre- for example, number of colours is 3 The 3 kinds of basic color RGB set, and for example, number of colours 7, the corresponding 7 kinds of basic colors pre-seted, such as the yellowish green ultramarine of blood orange Purple, by that analogy.
For example, the number of colours is 256, the GTG quantity is also 256, then a total of 65536 kinds of colors, i.e., every One basic color includes the color of 256 kinds of different GTGs, and each GTG is corresponding with the color of 256 kinds of basic colors of difference.For example, also Including step:Change or adjust the number of colours and/or the GTG quantity.Wherein, the basic color is some bases Color, such as three basic colors of RGB, and for example, 12 GTGs are coordinated per color, then a total of 36 kinds of colors.It is for example, basic Color cooperatively forms the GTG colour system of relevant rudimentary color from different GTGs.And for example, in addition to step:Pre-set number of colours and base The mapping table of plinth color;The mapping table is used in follow-up coding or decoding, phase is obtained according to number of colours The basic color information answered, for example, basic chromatic number amount is 3, corresponding basic color is RGB;And for example, basic chromatic number amount is 4, right The basic color answered is red, yellow, green and blue;And for example, basic chromatic number amount is 8, and corresponding basic color is the yellowish green ultramarine purple indigo of blood orange;And for example, Basic chromatic number amount is 64 or 128, and corresponding basic color is the related colour system set by each image processing software, by that analogy. When under normal circumstances, using factor of the number of colours as storage information, if number of colours is higher, in follow-up identification Cheng Zhong, the requirement to hardware device is higher, and has the advantages of information capacity is big;It can also be used as and deposit only with GTG quantity The factor of information is stored up, now color is intended only as the form of expression of colored high-order latent image code, and its essential storage information is Grey Quick Response Code, gray processing processing is carried out to image during identification, without considering color factors.
Wherein, the GTG be by it is most bright with it is most dark between brightness change, divide into several pieces.In order to carry out signal Input corresponding screen intensity management and control.Every digitized video all forms as combined by many points, and these points are also known as picture Plain (pixels), each usual pixel can show many different colors, and it is by three sub- pictures of red, green, blue (RGB) Element composition.Each sub-pixel, the light source of its behind can show different gray scales.And GTG is represented by most The dark stratum level to different brightness between most bright.This intermediate level is more, and the picture effect that can be presented is also finer and smoother. By taking 8bit panel as an example, 28 powers can be showed, equal to 256 luminance levels, then referred to as 256 GTGs.In lcd screen Each pixel, combined by the red, green, blue of different luminance levels, ultimately form different color points.That is, screen The color change that each is put on curtain, all it is by forming caused by the gray scale variation of three RGB sub-pixels of this point in fact. For example, the identification region for pre-seting colored high-order latent image code is matrix two-dimensional barcode, and for example, using PDF417, The code systems such as Datamatrix, QR Code, Code 49, Code 16K, Code one set the knowledge of colored high-order latent image code The related encoding and decoding rule on other region and basis, but not with various embodiments of the present invention for positioning area, the information area and information code element Deng extra setting mutually conflict, the difference with existing code system, be defined by the explanation of various embodiments of the present invention.Below mainly with Illustrate various embodiments of the present invention exemplified by QR Code codes, but it is understood that, various embodiments of the present invention are equally applicable to other codes The colored high-order latent image code of system.For example, using QR Code codes, the identification region of colored high-order latent image code is pre-seted. For the ease of adapting to various use environments, and for example, the color of colored high-order latent image code is pre-seted according to target identification ability Quantity, it includes GTG quantity, for example, set 8 grades of GTGs, 16 grades of GTGs, 64 grades of GTGs, 128 grades of GTGs, 256 grades of GTGs, 512 grades of GTGs, 1024 grades of GTGs or 2048 grades of GTGs or even 65536 grades of GTGs etc..
It is as follows to refer to 1 dimension code information storage:
X bars black and white 1 ties up code information storage:2x
For example, it is 1bit (2 that 1 black and white 1, which ties up code information storage,1=2) it is 2bit that, 2 black and white 1, which tie up code information storage, (22=4) it is 3bit (2 that, 3 black and white 1, which tie up code information storage,3=8).
X bar n GTGs 1 tie up code information storage:nx
For example, 14 GTGs 1 dimension code information storage is 1bit (41=4);24 GTGs 1 dimension code information storage is 2bit(42=16);34 GTGs 1 dimension code information storage is 3bit (43=64).
And for example, one 10 1 dimension code information storages are as follows:
10 black and white 1 ties up code information storage:210Bit information storages.
10 4 ranks 1 tie up code information storage:410Bit information storages.
10 n ranks 1 tie up code information storage:n10Bit information storages.Visual information storage increases considerably.
2 dimension code information storages are expanded to again:
X bars black and white 2 ties up code information storage:2(2X)
X bar n ranks 2 tie up code information storage:n(2X);For example, described information area includes some square symbols;For example, using Square 2 dimension code, then it is n that X bars n ranks 2, which tie up code information storage,(2X), and for example, described information area includes some rectangle symbols;For example, Code is tieed up using rectangle 2, then in same identification region, the long wide Y of X+, vertical and horizontal common X+Y bars n ranks colour 2 ties up code information storage For n(X+Y)
One 10 2 dimension code information storages are as follows for another example:
10 black and white 2 ties up code information storage:220Information storage.
10 4 ranks 2 tie up code information storage:420Information storage.
10 8 ranks 2 tie up code information storage:820Information storage.
10 n ranks 2 tie up code information storage:n20Information storage.
And for example, using color as another information recording medium, such as there are three kinds of basic colors, i.e. three primary colours, then X bars 2 It is as follows to tie up code information storage:
The rank three primary colours 2 of X bars 4 tie up code information storage:(3*4)(2X)Information storage.
The rank three primary colours 2 of X bars 8 tie up code information storage:(3*8)(2X)Information storage.
X bar n ranks three primary colours 2 tie up code information storage:(3*n)(2X)Information storage.
And for example, using color as another information recording medium, such as there are 64 kinds of basic colors, i.e. 64 primary colours, then X bars 2 It is as follows to tie up code information storage:
The primary colours 2 of 4 rank of X bars 64 tie up code information storage:(64*4)(2X)Information storage.
The primary colours 2 of 8 rank of X bars 64 tie up code information storage:(64*8)(2X)Information storage.
The primary colours 2 of X bar n ranks 64 tie up code information storage:(64*n)(2X)Information storage.
As can be seen here, colored high-order latent image code information storage is increased considerably, so big storage information, and it is applied Well imagine.For example, existing 2 dimension code information storage amount only enough stores station address, its content can not be stored;And colored high-order is hidden The information storage amount of shape image code can be large enough to store one whole book, a photo album or one section of video recording, even an electricity Shadow.As can be seen here, colored high-order latent image code amount of storage is big, adapts to wide.
One of embodiment is that the quantity of the basic color in the number of colours is more than 64.And for example, the basic color Quantity be more than 128.Preferably, the number of colours is more than 256.And/or the GTG quantity is more than 64.Again Such as, the GTG quantity is more than 128.Preferably, the GTG quantity is more than 256.For example, the quantity of the basic color For 256, the GTG quantity is 256, and combined colors sum is 65536;For example, pre-set the institute in the identification region State a variety of colors that number of colours, the GTG quantity and both cooperations obtain;Preferably, the GTG quantity and the color Color quantity is identical.
For the ease of the number of colours of clearly colored high-order latent image code, it is easy to use and identifies, it is one of to implement Example is an at least described information area, to be used as the positioning area, and it sets storage symbol, stealthy for recording colour high-order The number of colours and/or coding rule of image code, such as the color coding rule include whether the number of colours is used to compile Code, and/or, whether the GTG quantity is used for coding etc.;For example, in the coding step, always according to GTG quantity at least The one positioning area coding generates basic symbol, and it indicates the GTG quantity and/or the number of colours, as the storage Symbol.And for example, in the coding step, GTG symbol is generated at least one positioning area coding always according to GTG quantity, its The GTG quantity is indicated, as the storage symbol or a portion.And for example, in the coding step, always according to basis Chromatic number amount, i.e. number of colours, basic colour coding member is generated at least one positioning area coding, it indicates the number of colours, makees For the storage symbol or a portion.For example, when a certain colored high-order latent image code plan uses 16 grades of GTGs, root Generation GTG symbol is encoded in one or more positioning areas according to GTG quantity, due to needing only provide for a shorter numeral herein Information, such as storage symbol is set in a positioning area.For example, the base image of black and white is set in a positioning area Code, i.e. the Quick Response Code coded system of prior art, record the GTG quantity of the colored high-order latent image code, it is generally the case that It can be marked with four basic symbols, black or white small side of each basic symbol for existing planar bar code technology standard Block or referred to as basic module, can so record the GTG type of 24 power quantity, and each GTG type represents a kind of ash Exponent number amount.And for example, it is marked using 9 basic symbols, so, the GTG type of 29 power quantity can be recorded.It is preferred that , in the coding step, basic symbol is generated in a positioning area coding always according to GTG quantity and/or number of colours, its The GTG quantity and/or number of colours are recorded, as the storage symbol.For example, use two groups in a positioning area coding Mark, first group is marked with 9 basic symbols, directly records GTG quantity, such as 256 grades then record digital 256, second Group is also marked with 9 basic symbols, directly records number of colours, such as 256 grades.Other quantity are by that analogy.
For the ease of avoiding malice Quick Response Code from damaging user benefit, one of embodiment is at least one positioning area Verification symbol is set, for recording the linking status of the storage information;For example, verification symbol has two kinds of linking status, wrap Include right and wrong;And for example, in the coding step, always according to linking status at least one positioning area coding generation concatenation code Member.So, when user opens colored high-order latent image code, many contents can be shown under normal circumstances, if necessary to chain Outside is connected to, due to verifying the presence of symbol, the terminal of user, such as mobile phone is clearly defined, is directly linked to outside, avoids It is attracted installation procedure and causes to swindle successfully.For example, when user opens colored high-order latent image code, if necessary to link To outside, then due to the presence of verification symbol, user is informed, this is an external linkage, please choose whether to open, so as to give use The sufficient right to know in family.Preferably, according to linking status in a positioning area coding generation link symbol.For example, using QR Code codes set three positioning areas, one of to set link symbol, and another sets storage symbol, and the 3rd does not change. And for example, three positioning areas are set using QR Code codes, two of which sets storage symbol, and the 3rd sets link symbol.Again Such as, in the coding step, basic symbol is generated at least one positioning area coding always according to linking status, described in its sign Linking status, as the link symbol.And for example, the linking status only includes right and wrong two states, so, can be simple Sign, it is readily identified.And for example, the linking status also sets up payment and reminded, and expense occurs for the possibility that outside is linked to for recording Include bank, lender, Alipay etc. with state, such as financial institution, the content that financial institution's address link be present, generating During colored high-order latent image code, it is marked in symbol is linked.So, can timely call user's attention in identification. For example, in the encoding step, include the link of payment prompting at least one positioning area coding generation always according to linking status Symbol.And for example, multiple positioning areas are set, and one of positioning area includes link symbol and GTG symbol and/or basis in the lump Colour coding member;And for example, other each positioning areas do not include link symbol or GTG symbol or basic colour coding member, that is to say, that concatenation code Member and GTG symbol and/or basic colour coding member are provided only in a positioning area.And for example, set by with the presence or absence of external linkage The link symbol, for example, being not provided with the link symbol if in the absence of external linkage.
For the ease of controlling the state of GTG and colored high-order latent image code product finally to present, one of embodiment It is, in the coding step, according to the GTG quantity and/or the number of colours, by the storage information in described information Some information code elements of the generation with multiple GTGs and/or multiple basic colors or its combination in area.For example, generation information code element When, its GTG is set according to the GTG quantity, such as 8 grades, 16 grades or 256 grades GTGs etc..And for example, according to the GTG Quantity, a GTG redundancy value, such as 10%, 20% or 30% etc. are set, by the storage information in described information area Some information code elements of the generation with multiple GTGs.For example, it is 30% that 16 grades of GTGs, which correspond to redundancy value, 64 grades of GTGs correspond to redundancy It is worth for 20% etc., by that analogy.In this manner it is achieved that certain error correcting capability so that the mistake of code word data or data symbols Mistake can have certain tolerance.And for example, when generating information code element, matched colors according to the number of colours for it, and for example, also One basic color redundancy value, such as 10%, 20% or 30% etc. are set according to the number of colours, the storage information is existed Some information code elements of the generation with multiple basic colors in described information area.For example, it is 30% that 16 grades of basic colors, which correspond to redundancy value, It is 20% etc. that 64 grades of basic colors, which correspond to redundancy value, by that analogy.
For example, obtain data to be encoded;For example, change the data to be encoded.For example, the data to be encoded include chain It is grounded location, display image and/or storage information;And for example, the data to be encoded include display image, and chained address or deposit Information is stored up, wherein, the chained address is used to indicate to obtain the storage information;And for example, the data to be encoded include display Image, and chained address and storage information.For example, the display image is a photos, the head portrait of people or one Map etc.;And for example, the display image is the image of various conventional meanings.Preferably, the display image is with display Hold can recognisable image, such as the photo of an inventor, a state know patent certificate of office etc..Preferably, the storage letter Breath include text information, video information and/or audio-frequency information, for example, the video information include static state image information and/or Dynamic video information.
For example, coding step:The data to be encoded are encoded, if having according to GTG quantity generation is multiple The information code element of dry level GTG, output include the identification region of each described information symbol.For example, the identification region only includes institute State positioning area and described information area, that is to say, that the identification region does not include other regions, such as does not include treating without described Other display graphics fields of coded data.
One of embodiment is, before the coding step, described information code is pre-seted always according to the number of colours The size of member.For example, according to the recognition capability of market mainstream hardware, the size of described information symbol is pre-seted.And for example, according to city The size of the recognition capability of field mainstream hardware, adjustment or selection described information symbol.So, the stealthy figure of colored high-order is being generated When as code, can flexible configuration information symbol size, so as to adjust the capacity of colored high-order latent image code, for example, Store whole high-definition movie etc..For example, the GTG quantity in the number of colours pre-sets the big of described information symbol It is small.And for example, before the coding step, the size of described information symbol is pre-seted always according to the identification region.
For the ease of capacity is adjusted flexibly, one of embodiment is, in addition to step:The grey exponent number is selected during coding Amount and the number of colours.For example, coding when select GTG quantity be 16 grades, 32 grades, 64 grades, 128 grades, 256 grades, 512 grades Or 1024 grades etc.;And for example, number of colours is selected in coding is 16 grades, 32 grades, 64 grades or 256 grades etc..Preferably, encode When acquiescence GTG quantity and/or number of colours is set, as do not selected, choose GTG quantity and/or number of colors automatically by default value Amount;And for example, during coding according to the content of storage information how much, automatically select GTG quantity and/or number of colours, or push away automatically Recommend the GTG quantity and/or number of colours of default value.Such as a short essay, it can use 8 grades, 16 grades or 32 grades GTGs, and/ Or, 3 grades, 8 grades or 16 grades of number of colours realizes colored high-order latent image code, the and for example paper of a medium length can With 32 grades of use, 64 grades of GTGs or 128 grades of GTGs, and/or, 8 grades, 16 grades or 32 grades of number of colours realizes colored high-order Latent image code, by that analogy.So, it is convenient for users to operate, is advantageous to lift Consumer's Experience.
For the ease of capacity is further adjusted flexibly, one of embodiment is also to pre-set GTG quantity and/or color Each information code element corresponding to quantity.For example, 8 grades of GTGs correspond to some information code elements, 16 grades of GTGs correspond to some information code elements, 32 grades of GTGs correspond to some information code elements, and and for example, 8 grades of basic colors correspond to some information code elements, and 16 grades of basic colors correspond to some letters Symbol is ceased, 32 grades of basic colors correspond to some information code elements, according to being actually needed setting.And for example, in use, selection or Adjust each information code element corresponding to GTG quantity and/or number of colours.
For the ease of adapting to various long monumental works, one of embodiment is, before the coding step, in addition to step Suddenly:Judge whether the content of the storage information is more than the maximum capacity of colored high-order latent image code, be to generate multiple coloured silks Color high-order latent image code.So, a treatise can be accommodated with two, three or more colored high-order latent image codes Or overlength piece word, such as Tolstoy complete or collected works, complete works of Shakespeare, Chinese four great classical masterpieces etc..It is continuous for the ease of identifying Colored high-order latent image code, for example, in the coding step, at least one positioning area, which is set, accepts symbol, for remembering Record the colored high-order latent image code and belong to undertaking state, it has the colored high-order before and/or afterwards being associated hidden Shape image code, for example, pre-seting four kinds of undertaking states:No context, have above, have hereafter, have context.Preferably, it is described Accept symbol and also set up undertaking instruction, for recording its colored high-order latent image code before and/or afterwards, guide user Solve the colored high-order latent image code and also have other associated colored high-order latent image codes before and/or afterwards, so may be used To realize serial;And for example, the undertaking symbol is set in one or more positioning areas or customizing messages area, for example, with most Latter information area sets the undertaking symbol wherein as the customizing messages area;And/or made with first information area For the customizing messages area, the undertaking symbol is set wherein.Preferably, the undertaking symbol also records remote linkage, uses Colored high-order latent image code associated there is obtained in guiding user, in order to which user directly obtains related content, enhancing Consumer's Experience.
Provide one again below and preferably apply example, for example, the data to be encoded include display image and storage Information;And for example, the coding step includes:The data to be encoded are encoded, according to the GTG quantity, by described aobvious Diagram picture and the multiple information code elements with some grades of GTGs of storage information generation, output include each described information symbol Identification region, wherein, the information area of the identification region has the display image form;For example, described have the display Image format, the content shown by described information area are similar to the display image.So, colored high-order latent image code is made Exist for display image, do not influence to view and admire, as described colored high-order latent image code.
For example, to some information code elements of the storage information generation with the number of colours;And for example, according to the color Color quantity generates the storage information some information code elements with multiple colors in described information area.For example, to described Text information, some information code elements of video information and/or audio-frequency information generation with the number of colours of storage information.Again Such as, some information with the GTG quantity are generated the storage information in described information area according to the number of colours Symbol, i.e. some information code elements with some grades of GTGs, it is each letter then according to the display image and the number of colours Cease symbol and color, i.e., the basic color according to corresponding to the number of colours, and corresponding some grades of GTGs are set, with reference to described in Display image, matched colors for each information code element, then export the identification region of the data to be encoded.Wherein, the color matching Refer to the color matching mode of common image processing software, it is preferred that emphasis is there is some information code elements carrying number of the GTG quantity It is believed that these information code elements, are then matched colors at such as the storage information by breath again, it is not rambling small to be allowed to shown Square or mosaic, but the similar image of the display image or the display image, this similar to image in appearance Display object similar to the display image, that the special format of for example, described display image is cut and/or sampling is resulting.
For example, a kind of generation method of colored high-order latent image code, it comprises the following steps, setting steps:Pre-set The identification region of colored high-order latent image code, the number of colours and GTG quantity of colored high-order latent image code are set;Obtain Take step:Data to be encoded are obtained, the data to be encoded include display image and storage information;Coding step:To described Data to be encoded are encoded, according to the multiple information code elements with some grades of GTGs of GTG quantity generation, according to described Display image and the number of colours, color is set for each information code element, output includes the described of each described information symbol and waits to compile The identification region of code data.Wherein, color is set for each information code element, including basic color is set for wherein each pixel, now, Basic color is combined with GTG, forms the colored high-order latent image code strong, that sight is fabulous that becomes more meticulous.
And for example, in the coding step, the pre-sampling step for being sampled to the display image is also performed;Example Such as, the pre-sampling step includes:The display image is obtained, the display image is adopted according to the number of colours Sample, obtain sampled images;For example, according to the number of colours and the GTG quantity, the display image is sampled, obtained To sampled images;For example, the sampled images are as the display image form;And for example, the pre-sampling step includes:Obtain The display image in the data to be encoded, the display image is sampled according to the number of colours, adopted Sampled images, the sampled images are as the display image form;And for example, according to the identification region and according to the number of colors Amount samples to the display image, obtains sampled images, and the size of the sampled images is the size of the identification region, The sampled images are as the display image form;And for example, the display image is cut out always according to the identification region Cut and/or reduce, then the display image is sampled according to the number of colours, obtains the sampled images.So, The colored high-order latent image code similar to photochrome can be obtained, on the one hand can carry more information, another aspect energy It is enough that unordered Quick Response Code is shown as into the recognizable significant image of naked eyes so that traditional Quick Response Code becomes there occurs great Change, exist not only as a label, additionally it is possible to used as image.
And for example, in the coding step, the data to be encoded are encoded, color matching pair is used as using the sampled images As generation has some information code elements of the number of colours, exports the identification region of the data to be encoded.For example, set The form of each information code element, using the structure in its form and GTG as the storage content of described information symbol, then with institute Sampled images are stated as color matching object, are painted by GTG, for example, after some information code elements with the GTG quantity are generated Matched colors, generation has some information code elements of the number of colours, exports the identification region of the data to be encoded.Again Such as, the form of each information code element is set, the storage content of described information symbol is used as using the structure in its form and color.
Preferably, the display image is coloured image;And for example, it is clour mixing as photo.For example, each information is set The form of symbol, the storage content using the structure in its form, color and GTG as described information symbol, so, it can obtain Obtain bigger memory capacity;Then combined by each information code element and form the described information area for showing the sampled images.
And for example, it is a kind of colored high-order latent image using any of the above-described generation method, another embodiment of the invention The generating means of code, it is used to realize any of the above-described generation method;A kind of or generation dress of colored high-order latent image code Put, it uses any of the above-described generation method to realize;For example, the generating means include being used to realize any of the above-described generation method Functional module and/or functional unit.
For example, a kind of generating means of colored high-order latent image code, it includes being used to set colored high-order latent image The setup module of the identification region and its number of colours and GTG quantity of code, for obtaining the data acquisition mould of data to be encoded Block, there are some face for being encoded to the data to be encoded, according to the number of colours and GTG quantity generation Color and each color have the coding module of the information code element of some grades of GTGs, and include each described information symbol for exporting Identification region output module.So, the stealthy figure of colored high-order can be increased by the design of number of colours and GTG quantity As the capacity of code.
For example, the various basic colors that the setup module is used in the identification region for colored high-order latent image code are set GTG quantity;Wherein, the identification region of colored high-order latent image code only configuration information area, the storage positioning letter in the information area Breath;Or positioning area is deposited in the information area.And for example, the setup module is additionally operable to pre-set colored high-order latent image code Identification region, the identification region include positioning area and the information area;Preferably, the positioning area is arranged in described information area. For example, the setup module is used to set number of colours and GTG quantity for the identification region of colored high-order latent image code;Again Such as, each basic color is determined by the number of colours, i.e., described basic color is related to the number of colours.And for example, it is described to set Put the identification region that module is used for for colored high-order latent image code and number of colours and GTG quantity are set.And for example, the setting Module is used to set the number of colours phase with colored high-order latent image code for the identification region of colored high-order latent image code The GTG quantity matched somebody with somebody, for example, the GTG quantity is equal with the number of colours.And for example, the setup module is additionally operable to basis The GTG quantity sets the identification region of the colored high-order latent image code, so, can be according to the spirit of GTG quantity The size living for adjusting the identification region.For example, the identification region is directly proportional to the GTG quantity, it is color in the present embodiment The size of color high-order latent image code is not a rated value, but is flexibly set according to GTG quantity, can be with practical application Make the very big pictorial poster of a width;Preferably, the positioning grid that the pictorial poster is viewed and admired without obvious, obstruction, so as to as color Color high-order latent image code uses.
Preferably, the setup module includes being used for the determining unit for determining identification region, and the determining unit is used for true Determine identification region, for example, identification region is 2cm*3cm, and for example, identification region is a photos, and and for example, identification region is one Resolution ratio is 1024*768 display screen etc., by that analogy.Preferably, the determining unit includes being used to determine the cog region The positioning area determination subelement of domain positioning area and the information area determination subelement for determining the identification region information area;It is preferred that , the positioning area determination subelement is wholely set with described information area determination subelement;Preferably, the positioning area determines son Unit is the part in described information area determination subelement.Preferably, the positioning area determination subelement includes being used for by row Set the row of the positioning area that Sun Danyuan is set, for example, the row sets Sun Danyuan to be used to set a positioning area, example in every a line Such as, each row information symbol that the row sets Sun Danyuan to be used in identification region sets a positioning area.It is and/or described fixed Position area determination subelement includes being used to set the information code element positioning area of a positioning area to set for each described information symbol Sun Danyuan.And/or the positioning area determination subelement includes being used to set the information for sharing positioning area for some information code elements Symbol positioning area selects Sun Danyuan.And/or the positioning area determination subelement includes being used to set for full detail symbol having altogether Sun Danyuan is shared with the information code element positioning area of positioning area.It is used for for example, described information symbol positioning area shares Sun Danyuan the One or one shared positioning area of last information code element setting, are used in the positioning of full detail symbol, for example, identifying the knowledge The content in other region is colored high-order latent image code.Wherein, the positioning area, including positioning area is shared, special marking is not done, Marked, but be hidden in identification region with three blockages unlike prior art, such as be hidden in the information area, and for example meat Eye is difficult to recognize that this is a Quick Response Code, and is thought as a colour pitcture.
Preferably, the setup module includes being used for the shape setting unit for setting described information symbol shape.For example, shape Shape setting unit is used to set described information symbol to be shaped as polygon, it is preferred that the shape setting unit is used to set institute State information code element and be shaped as regular polygon.Preferably, the shape setting unit is used to set described information according to GTG quantity Symbol shape, for example, the shape of described information symbol has some convex portions, the GTG quantity is bigger, described information symbol Convex portion is more;Preferably, the convex portion quantity of described information symbol is equal with the GTG quantity;For example, the shape sets list Member is used to set described information symbol to be shaped as regular polygon, and its side number is directly proportional to the GTG quantity.For example, the shape Setting unit includes rectangular information symbol and sets subelement, i.e. information code element is rectangle.Preferably, the shape setting unit bag Include square information symbol and subelement is set, be i.e. information code element is square.So, described information symbol flexible shapes are changeable, are easy to Image of different shapes is adapted to, especially irregular figure, such as oil painting etc..
And for example, it includes being used for the identification region and its number of colours and GTG quantity for setting colored high-order latent image code Setup module, for obtaining the data acquisition module of data to be encoded, for being encoded to the data to be encoded, basis The number of colours and GTG quantity generation are with the information code element of some colors and each color with some grades of GTGs Coding module, and for export include each described information symbol identification region output module.So, color can be passed through The design of color quantity and GTG quantity, increase the capacity of colored high-order latent image code.
Preferably, the setup module includes identification region setting unit.For example, the identification region setting unit is used for The identification region is set.And/or the setup module includes number of colours setting unit.For example, the number of colours is set Unit is used to set the number of colours.And/or the setup module includes GTG number setting unit.For example, the GTG Number setting unit is used to set the GTG quantity.Preferably, the GTG number setting unit is set with the number of colours Put unit association to set, for example, the GTG number setting unit is used to set the GTG quantity for the number of colours Square root round numbers.And for example, the number of colours setting unit is synchronous to set the grey exponent number when number of colours is set Amount;For example, the number of colours setting unit is when the number of colours is set, it is synchronous that the same amount of grey exponent number is set Amount;And for example, for the number of colours setting unit when number of colours is set, 2 times set the same amount of grey exponent number Amount;By that analogy.And for example, the GTG number setting unit is used to set grey exponent number respectively to each color of the number of colours Amount.
Preferably, multiple GTG number setting units are correspondingly arranged according to the number of colours.For example, the color Each color or each basic color in quantity, are correspondingly arranged multiple GTG number setting units.Preferably, according to institute State the quantity that number of colours is correspondingly arranged the GTG number setting unit.For example, according to the number of colours, each basis Color is correspondingly arranged a GTG number setting unit.So, the number of colours can be associated with the GTG quantity Set.
Preferably, the setup module includes being used to pre-set the of described information symbol size according to the identification region One setting unit.And/or the setup module includes being used to pre-set described information symbol size according to the number of colours Second setting unit, for example, second setting unit is used for the size of described information symbol and the number of colours into anti- Than pre-seting described information symbol size, wherein the number of colours is bigger, described information symbol is smaller.And/or described set Putting module includes being used for the 3rd setting unit for pre-seting described information symbol size according to the GTG quantity.It is for example, described The size of information code element is inversely proportional with the GTG quantity, for example, the GTG quantity is bigger, described information symbol is smaller.This Sample, described information symbol size can be adjusted flexibly according to identification region, number of colours, GTG quantity.Preferably, described information The size of symbol is directly proportional to one or more of identification region, number of colours, GTG quantity;For example, identification region is bigger, Information code element is bigger;And for example, number of colours is bigger, and information code element is bigger;And for example, GTG quantity is bigger, and information code element is bigger.
For example, a kind of generating means of colored high-order latent image code, it includes being used to set colored high-order latent image The identification region of code and its setup module of GTG quantity, for obtaining the data acquisition module of data to be encoded, for institute State the coding mould that data to be encoded are encoded, multiple information code elements with some grades of GTGs are generated according to the GTG quantity Block, and for exporting the output module for the identification region for including each described information symbol, wherein, the identification region includes fixed Position area and the information area;And for example, positioning area is arranged in the information area.And for example, the coding module is used for the data to be encoded Encoded, display image and storage information in the data to be encoded, and the GTG quantity, generation is multiple to be had The information code element of some grades of GTGs, the identification region of the data to be encoded is exported, wherein, the information area tool of the identification region There is the display image form.
For example, the setup module includes being used to set the basic color setting unit of basic color and for setting GTG GTG setting unit;And for example, the setup module also includes being used to select basic color and/or GTG, or for selecting color The Colour selection unit of quantity and/or GTG quantity.And for example, the setup module also includes default unit, and it is used to pre-set Each information code element corresponding to the GTG quantity.And for example, the setup module includes being used for the identification region for setting identification region Setting unit.And for example, the acquisition module includes being used for the data modification unit for changing the data to be encoded;And/or also wrap Include the image acquisition unit for obtaining the display image.For example, described image acquiring unit includes camera;And for example, institute Stating image acquisition unit includes mobile terminal.
For example, the coding module sets square coding unit and/or rectangle coding unit;Square coding unit is used for will Storage information carries out coding generation with multiple square symbols with the number of colours, and rectangle coding unit is used for will storage Information carries out coding generation with multiple rectangle symbols with the number of colours.And for example, the coding module setting structure Unit, it is used for the size for pre-seting described information symbol, for example, realizing colored high-order latent image code according to predetermined resolution Information code element square symbol minimum widith, or the minimum widith and minimum length of rectangle symbol.And for example, the coding Module sets pre-sampling unit, and for obtaining the display image, the display image is adopted according to the number of colours Sample, obtain sampled images.And for example, the pre-sampling unit is used to obtain coloured image, according to the number of colours to described aobvious Diagram picture is sampled, and obtains the sampled images of colour, and the setup module is additionally operable to set the form of each information code element, with The storage content of structure, color and GTG as described information symbol in its form;The coding module is used to treat to described Coded data is encoded, using the sampled images as color matching object, some information codes of the generation with the number of colours Member, such as using the sampled images as color matching object, painted by GTG, if for example, there is the GTG quantity in generation Matched colors after dry information code element, some information code elements of the generation with the number of colours, export the data to be encoded Identification region.And for example, the coding module sets adjustment unit, for adjusting the display image, for example, to according to the knowledge Other region is cut and/or reduced to the display image.
And for example, in addition to the coding module judge module being connected, for judging the content of the data to be encoded Capacity more than colored high-order latent image code then generates multiple colored high-order latent image codes.So, be advantageous to generate multiple Continuous colored high-order latent image code, strengthens its amount of storage.
And for example, the generating means include memory module, for recording colour high-order latent image code number of colours and/ Or GTG quantity, color symbol is generated at least one positioning area coding according to number of colours and/or GTG quantity, it includes Basic colour coding member and/or GTG symbol;And for example, the generating means include correction verification module, for recording the storage information Linking status, according to linking status at least one positioning area coding generation link symbol.And for example, the memory module is set Data storage cell, for storing the data to be encoded, wherein, the data to be encoded include chained address, display image And/or storage information;And for example, the data to be encoded include display image, and chained address or storage information.Remaining function Module by that analogy, repeats no more.
Provide the embodiment of a practical application again below, using a certain personal personal photograph as the display image, Colour 2 is obtained using above-mentioned generation method and ties up code, it is very much like with the personal photograph, and with some recognizable storage letters Breath, for example, being scanned using mobile phone, according to the corresponding recognition rule of above-mentioned generation method, tie up from the colour 2 and can be solved again in code Code goes out storage information, such as the information such as obtained patent of personal brief introduction, contact method, the article delivered, application of this people, Ornamental high, application is wide.
Further, embodiments of the invention also include, and each technical characteristic of the various embodiments described above, are mutually combined what is formed The generation method and generating means of colored high-order latent image code.
It should be noted that above-mentioned each technical characteristic continues to be mutually combined, the various embodiments not being enumerated above are formed, It is accordingly to be regarded as the scope of description of the invention record;Also, for those of ordinary skills, it can add according to the above description To improve or convert, and all these modifications and variations should all belong to the protection domain of appended claims of the present invention.

Claims (10)

1. a kind of generation method of colored high-order latent image code, it is characterised in that comprise the following steps:
Setting steps:The identification region of colored high-order latent image code is pre-seted, is the cog region of colored high-order latent image code Domain sets number of colours and GTG quantity;
Obtaining step:Obtain data to be encoded;The data to be encoded include display image and storage information;
Coding step:The data to be encoded are encoded, had according to the number of colours and the GTG quantity, generation Some colors and each color have the information code element of some grades of GTGs, according to the display image and the number of colours, are Each information code element sets color, and output includes the identification region of each described information symbol;
In the coding step, the pre-sampling step for being sampled to the display image is also performed;The pre-sampling step Suddenly include:The display image is obtained, according to the number of colours and the GTG quantity, the display image is adopted Sample, sampled images are obtained, the sampled images are as display image form;
Wherein, the information area of the identification region has the display image form.
2. generation method according to claim 1, it is characterised in that the GTG quantity is set according to the number of colours.
3. generation method according to claim 2, it is characterised in that the GTG quantity is set for the flat of the number of colours Root round numbers.
4. generation method according to claim 2, it is characterised in that GTG is set respectively to each color of the number of colours Quantity.
5. generation method according to claim 2, it is characterised in that identical ash is set to each color of the number of colours Exponent number amount.
6. generation method according to claim 5, it is characterised in that default identical to each color acquiescence of the number of colours GTG quantity.
7. generation method according to claim 6, it is characterised in that the default identical GTG quantity is 8 to 256.
8. the generation method according to any one of claim 1 to 7, it is characterised in that pre-seted according to the identification region The size of described information symbol.
9. generation method according to claim 8, it is characterised in that pre-set described information code always according to the number of colours The size of member.
10. generation method according to claim 9, it is characterised in that pre-set described information always according to the GTG quantity The size of symbol.
CN201510323718.9A 2015-06-12 2015-06-12 The generation method of colored high-order latent image code Active CN104951828B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510323718.9A CN104951828B (en) 2015-06-12 2015-06-12 The generation method of colored high-order latent image code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510323718.9A CN104951828B (en) 2015-06-12 2015-06-12 The generation method of colored high-order latent image code

Publications (2)

Publication Number Publication Date
CN104951828A CN104951828A (en) 2015-09-30
CN104951828B true CN104951828B (en) 2018-03-02

Family

ID=54166467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510323718.9A Active CN104951828B (en) 2015-06-12 2015-06-12 The generation method of colored high-order latent image code

Country Status (1)

Country Link
CN (1) CN104951828B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426945B (en) * 2015-11-20 2019-07-05 区华威 Intelligent graphic identifies the coded system and method, decoding system and method for two dimensional code
CN110245535B (en) * 2016-11-19 2022-06-28 哈尔滨理工大学 Coding inner layer structure
CN109784454A (en) * 2019-01-16 2019-05-21 王诗会 A kind of information concealing method based on two dimensional code, device and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006003698A1 (en) * 2004-07-01 2006-01-12 Fujitsu Limited Device, method, and program for creating a two-dimensional barcode image, system and method for information transmission, and device, method, and program for decoding the two-dimensional barcode
CN100377167C (en) * 2006-03-17 2008-03-26 北京紫光捷通科技有限公司 Two-dimensional code area precisive positioning method for two-dimensional recognition
CN101299246B (en) * 2008-06-24 2011-10-05 武汉矽感科技有限公司 Two-dimension code with false proof function
CN104680218B (en) * 2015-02-12 2018-07-31 航天信息股份有限公司 A kind of more space two-dimensional codes and its generation, coding/decoding method

Also Published As

Publication number Publication date
CN104951828A (en) 2015-09-30

Similar Documents

Publication Publication Date Title
CN104794518B (en) The generation method of color 2 D code
CN104778440B (en) The recognition methods of color 2 D code and identification device
CN104134085B (en) Particular bar and forming method thereof
CN103390183B (en) A kind of generation method of the anti-counterfeiting codes suitable for handset identity
CN111242905B (en) Method and equipment for generating X-ray sample image and storage device
JP3336311B2 (en) Machine-recognizable code and encoding / decoding method thereof
CN105740931B (en) Multidimensional security code label, its production method and recognition methods
CN103310252B (en) CCQR (Colorful Coded Quick Response) anti-counterfeiting mark
CN104933386B (en) The recognition methods of many GTG invisible two-dimensional codes
CN104951828B (en) The generation method of colored high-order latent image code
CN105160378B (en) A kind of color invisible image code generating method
CN104715275A (en) Generating method and generating device for grey two-dimensional code
CN104715222A (en) Method and device for identifying gray two-dimension code
CN106203571A (en) Image production method based on Quick Response Code and recognition methods and realize system
CN103386829B (en) A kind of endowed method that anti-counterfeiting codes are carried out using laser
CN104850817B (en) The identification device of colored high-order latent image code
CN104866886B (en) The generating means of colored high-order latent image code
CN104850882B (en) The generating means of more GTG invisible two-dimensional codes
CN105095938B (en) A kind of generation method of the multistage latent image code of colour
CN107122785A (en) Text identification method for establishing model and device
CN103390184A (en) Image information embedding method suitable for anti-fake codes identified through mobile phone
CN104850883B (en) The generation method of more grayscale invisible two-dimensional codes
CN104866802B (en) The recognition methods of colored high-order latent image code
CN104866801B (en) The identification device of more GTG invisible two-dimensional codes
CN109684895A (en) A kind of three value image processing methods for electronic display tag

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170717

Address after: 361005 C building, Innovation Zone, software park, torch hi tech Zone, Fujian, Xiamen province 4F-C1

Applicant after: Silicon Graphics (Xiamen) Technology Co., Ltd.

Address before: Xiamen torch hi tech Zone Innovation Building Software Park A District Siming District of Xiamen city in Fujian province 361006 202-2 unit

Applicant before: Silicon photoelectric (Xiamen) Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant