CN103093267B - Coding method based on figure - Google Patents
Coding method based on figure Download PDFInfo
- Publication number
- CN103093267B CN103093267B CN201310050020.5A CN201310050020A CN103093267B CN 103093267 B CN103093267 B CN 103093267B CN 201310050020 A CN201310050020 A CN 201310050020A CN 103093267 B CN103093267 B CN 103093267B
- Authority
- CN
- China
- Prior art keywords
- code pattern
- coding method
- coding
- state
- image
- 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
Links
Landscapes
- Image Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
It the invention discloses a kind of coding method based on figure, encodes information onto and is stored in the code pattern of lines composition, among can coding being hidden in image, there is practical value, and as the raising of resolution of photographic device has feasibility.Its technical solution is:Coding method includes:Establish the mapping relations between the feature and 0,1 state for the graphic element being made of several lines;Feature unit is stacked, arranged, connect etc. modes by certain rule and forms code pattern, wherein passing through the feature of graphic element and its coding meaning of arrangement determination code pattern;Code pattern and another image are overlapped, the image containing coding information is formed, achievees the effect that figure, code combine.
Description
Technical field
The present invention relates to a kind of coding methods, more particularly to carry out information storage using the figure that several lines are constituted
Itself and image superposition can be realized and are hidden in code pattern among the image being applied by method.
Background technology
Existing image encoding method such as bar code and Quick Response Code be by a line or multirow in a rectangular space
The image construction of black or white is filled, two kinds of colors represent 0,1, according to certain coding rule, the permutation and combination side of unit
Formula represents the information of definite meaning.
The characteristics of this coding mode, is that coding itself is a sub-picture, itself is opaque, thus can not
Image to display is blended with coding.
Coding is suitble to machine to read to know, but is unsuitable for people and carries out reading knowledge and understanding, in order to reach Quick Response Code and image simultaneously
The purpose of display, the method used at present are the fault-tolerant abilitys using Quick Response Code, image are embedded in Quick Response Code, such method
Embedded image very little is generally only used for showing the figure of some simple icons etc, as shown in Figure 7.In addition Japan one
There is a kind of patented technology of entitled CL code in the company of the entitled Content Idea ofASIA of family, by portion white in Quick Response Code
Point show there is the demonstration of this technology in its company's site using transparent mode, but Quick Response Code part accounts for the one small of whole image
When part, there can be certain help to display effect, but if Quick Response Code accounts for the major part of whole image, transparent effect is simultaneously
It is bad.And using Microsoft's microsoft tag technologies as the so-called color code technology of representative, it can also accomplish encode and be fabricated to
There is the figure of certain visual effect or be superimposed on background image, but is inevitable to blocking for background image, in its company
There is the demonstration of this technology on website.
Invention content
It is an object of the invention to solve the above problems, a kind of coding method based on figure is provided, encodes information onto and deposits
Storage is in the code pattern that lines are constituted, and among can coding being hidden in background image, has practical value, and with photographic device
The raising of resolution ratio has feasibility.
The technical scheme is that:Present invention is disclosed a kind of coding methods based on figure, including:
Step 1:Establish the mapping relations between the feature and 0,1 state for the graphic element being made of several lines;
Step 2:Graphic element is formed into code pattern in the way of stacking, arrange or connect, wherein passing through graphic element
Feature and its arrangement determine the coding meaning of code pattern.
One embodiment of the coding method according to the present invention based on figure further includes after step 2:
Step 3:Code pattern and another image are overlapped, the image containing coding information is formed.
One embodiment of the coding method according to the present invention based on figure, the feature of the graphic element in step 1 and 0,
Whether the mapping relations between 1 state are according to there is line to determine 0,1 state between 2 points.
One embodiment of the coding method according to the present invention based on figure, the feature of the graphic element in step 1 and 0,
Mapping relations between 1 state are to determine 0,1 state according to the direction of line.
One embodiment of the coding method according to the present invention based on figure, the feature of the graphic element in step 1 and 0,
Mapping relations between 1 state are to determine 0,1 state according to the feature of curve.
One embodiment of the coding method according to the present invention based on figure, the feature of the graphic element in step 1 and 0,
Mapping relations between 1 state are to determine 0,1 state according to territory element shape.
One embodiment of the coding method according to the present invention based on figure designs the line of code pattern in step 3
For the compound lines being made of different colours or gray scale.
One embodiment of the coding method according to the present invention based on figure is distinguished with different colors and is compiled in step 3
Another image code figure and be applied.
Code pattern is divided into several by one embodiment of the coding method according to the present invention based on figure by cut-off rule
Coding information is placed in the subregion surrounded by cut-off rule by subregion, and another image being applied is by those subregions point
At several corresponding subgraphs to form picture mosaic.
The characteristics of one embodiment of the coding method according to the present invention based on figure further includes according to specific coding uses
Specific compression algorithm recycles the volume described in claim 1 based on figure after further decreasing number of bits needed for storage information
Code method is encoded, to improve code efficiency.
The lines of code pattern are embedded into another image by one embodiment of the coding method according to the present invention based on figure
Regional area in.
One embodiment of the coding method according to the present invention based on figure, by will be after code pattern and another image superposition
Parts of images is cut away, code pattern is made to become the boundary of another image.
One embodiment of the coding method according to the present invention based on figure, the case where for code pattern as image boundary,
Coding information is stored in the presence or absence of shape, line segment of the curve of image boundary and line segment color.
The coding meaning of one embodiment of the coding method according to the present invention based on figure, code pattern includes being forgiven
Information either represents or is directed toward the number of the information to be forgiven.
Present invention further teaches a kind of coding methods based on figure, including:
Step 1:Establish the mapping relations between the feature and 0,1 state for the graphic element being made of several lines;
Step 2:The feature of graphic element is stacked or is arranged in matrix to form code pattern, wherein passing through graphic element
Feature and its arrangement determine code pattern coding meaning.
One embodiment of the coding method according to the present invention based on figure further includes after step 2:
Step 3:Code pattern and another image are overlapped, the image containing coding information is formed.
One embodiment of the coding method according to the present invention based on figure, the feature of the graphic element in step 1 and 0,
Whether the mapping relations between 1 state are according to there is line to determine 0,1 state between 2 points.
One embodiment of the coding method according to the present invention based on figure, the feature of the graphic element in step 1 and 0,
Mapping relations between 1 state are to determine 0,1 state according to the direction of line.
One embodiment of the coding method according to the present invention based on figure, the feature of the graphic element in step 1 and 0,
Mapping relations between 1 state are to determine 0,1 state according to the feature of curve.
One embodiment of the coding method according to the present invention based on figure, the feature of the graphic element in step 1 and 0,
Mapping relations between 1 state are to determine 0,1 state according to territory element shape.
One embodiment of the coding method according to the present invention based on figure designs the line of code pattern in step 3
For the compound lines being made of different colours or gray scale.
One embodiment of the coding method according to the present invention based on figure is distinguished with different colors and is compiled in step 3
Another image code figure and be applied.
Code pattern is divided into several by one embodiment of the coding method according to the present invention based on figure by cut-off rule
Coding information is placed in the subregion surrounded by cut-off rule by subregion, and another image being applied is by those subregions point
At several corresponding subgraphs to form picture mosaic.
The characteristics of one embodiment of the coding method according to the present invention based on figure further includes according to specific coding uses
Specific compression algorithm further decrease recycle after number of bits needed for storage information it is above-mentioned based on the coding method of figure into
Row coding, to improve code efficiency.
The lines of code pattern are embedded into another image by one embodiment of the coding method according to the present invention based on figure
Regional area in.
One embodiment of the coding method according to the present invention based on figure, by will be after code pattern and another image superposition
Parts of images is cut away, code pattern is made to become the boundary of another image.
One embodiment of the coding method according to the present invention based on figure, the case where for code pattern as image boundary,
Coding information is stored in the presence or absence of shape, line segment of the curve of image boundary and line segment color.
The coding meaning of one embodiment of the coding method according to the present invention based on figure, code pattern includes being forgiven
Information either represents or is directed toward the number of the information to be forgiven.
The present invention, which compares the prior art, following advantageous effect:The scheme of the invention is by information storage in by several
It in the code pattern that line is constituted, is constrained by certain algorithm, is corresponded to word or the binary code of number.With by color
The conventional two-dimensional code of block composition is compared, and coding mode is more flexible various, it is easy to accomplish it is directed to the customization pattern of specific application, it can
For tracing to the source, the fields such as anti-fake and encryption information storage.The present invention be applied to by a width contain the code pattern of coding information with
Piece image is overlapped, and forms the image containing coding information, to which coding information to be hidden in image, is had substantially no effect on
To the visual effect of image.In addition, this superposition can be specific by embedded background graphics or the edge as background graphics etc.
Mode is realized, by coding information " hiding " in embedded lines or cut edge, to have substantially no effect on the vision of background image
Effect.And due to the raising of mobile imaging device image quality so that method of the invention has feasibility.
Description of the drawings
Fig. 1 is a kind of exemplary plot encoded using figure.
Fig. 2 is the image formed after being superimposed code pattern shown in FIG. 1 with a sub-picture.
Fig. 3 is a kind of another exemplary plot encoded using figure.
Fig. 4 is the image formed after being superimposed code pattern shown in Fig. 3 with a sub-picture.
Fig. 5 is a kind of another exemplary plot encoded using figure.
Fig. 6 is the image formed after code pattern shown in fig. 5 is superimposed with a sub-picture.
Fig. 7 shows the mode of the Quick Response Code code pattern of existing superimposed image.
Fig. 8 shows the schematic diagram of the graphic element more than two variable-values.
Fig. 9 shows another schematic diagram of the graphic element more than two variable-values.
Figure 10 shows the schematic diagram of the graphic element with compound lines.
Figure 11 shows the flow chart of the first embodiment of the coding method based on figure of the present invention.
Figure 12 shows the flow chart of the second embodiment of the coding method based on figure of the present invention.
Figure 13 shows the schematic diagram of the regional area that code pattern is embedded into background image of the present invention.
Figure 14 show the present invention using code pattern as the schematic diagram on the boundary of superimposed image.
Figure 15 show the present invention using code pattern as another exemplary schematic diagram on the boundary of superimposed image.
Figure 16 show the present invention using code pattern as another exemplary schematic diagram on the boundary of superimposed image.
Figure 17 shows the flow charts of the 3rd embodiment of the coding method based on figure of the present invention.
Figure 18 shows the flow chart of the fourth embodiment of the coding method based on figure of the present invention.
Specific implementation mode
The invention will be further described with reference to the accompanying drawings and examples.
Figure 11 shows the flow of the first embodiment of the coding method based on figure of the present invention.Refer to Figure 11, this reality
Applying the implementation steps of the coding method based on figure of example, details are as follows.
First, the mapping relations (step between the feature and 0,1 state for the graphic element being made of several lines is established
S10).Lines mentioned here can be that straight line can also be curve.
And mapping relations between the two can be:0,1 state is determined according to whether there is line between 2 points;According to line
Direction determine 0,1 state;0,1 state is determined according to the feature of curve;0,1 state is determined according to territory element shape.
For example, as shown in Figure 1, wherein cornerwise different directions respectively represent 0 and 1 in matrix.As shown in figure 5, grid
The different protrusion directions in sideline respectively represent 0 and 1 in matrix.
If the variable-value representated by graphic element feature is more than 2, various states can be corresponded to.As shown in figure 8,
Four kinds of angles of unit intraconnections can respectively represent 00,01,10,11 4 value.As two protrusions of the curve on side in Fig. 9
Different directions combination can respectively represent 00,01,10,11 4 value.
In addition, several sub-regions can be divided into code pattern by cut-off rule, coding information is placed in by cut-off rule institute
In the subregion surrounded.The coding based on picture mosaic may be implemented in this way, it will be appreciated that store information using jigsaw puzzle units feature
Method.Such as the code pattern in Fig. 3 is formd into segmentation figure due to increasing frame and horizontal partition line.
Then, the feature of graphic element is stacked or is arranged in matrix to form code pattern, wherein passing through graphic element
Feature and its arrangement determine the coding meaning (step S12) of code pattern.The coding meaning of code pattern can be the letter to be forgiven
Breath can also be representative or be directed toward the coding for the information of being forgiven, and can be greatly reduced needed for coding by the way of number
Digit.
Figure 12 shows the flow of the second embodiment of the coding method based on figure of the present invention.Refer to Figure 12, this reality
Applying the implementation steps of the coding method based on figure of example, details are as follows.
First, the mapping relations (step between the feature and 0,1 state for the graphic element being made of several lines is established
S20).Lines mentioned here can be that straight line can also be curve.
And mapping relations between the two can be:0,1 state is determined according to whether there is line between 2 points;According to line
Direction determine 0,1 state;0,1 state is determined according to the feature of curve;0,1 state is determined according to territory element shape.
For example, as shown in Figure 1, wherein cornerwise different directions respectively represent 0 and 1 in matrix.As shown in figure 5, grid
The different protrusion directions in sideline respectively represent 0 and 1 in matrix.
If the variable-value representated by graphic element feature is more than 2, various states can be corresponded to.As shown in figure 8,
Four kinds of angles of unit intraconnections can respectively represent 00,01,10,11 4 value.As two protrusions of the curve on side in Fig. 9
Different directions combination can respectively represent 00,01,10,11 4 value.
In addition, several sub-regions can be divided into code pattern by cut-off rule, coding information is placed in by cut-off rule institute
In the subregion surrounded.The coding based on picture mosaic may be implemented in this way, it will be appreciated that store information using jigsaw puzzle units feature
Method.Such as the code pattern in Fig. 3 is formd into segmentation figure due to increasing frame and horizontal partition line.
Then, the feature of graphic element is stacked or is arranged in the modes such as matrix or line to form code pattern, wherein logical
Cross the feature of graphic element and its coding meaning (step S22) of the determining code pattern of arrangement.
Finally, code pattern and another image are overlapped, form the image (step S24) containing coding information.
Image can be printed on paper or be shown on the desplay apparatus.For the ease of extracting coding in superimposed image
Figure, may be used following processing method.A kind of method is that the distribution of color of the image to being applied is analyzed, if there is one
Kind color has notable difference with the color of the line near zone in the image entirety being applied or the figure being superimposed, convenient for distinguishing,
Color of this color as figure then may be used, the line of figure can also be designed as shown in Figure 10 by different colours or ash
The compound lines of the composition of degree in order to extract the line graph containing coding in stacking chart using gradient operator, but use
The method can increase the width of line, reduce duty ratio of the image in stacking chart.In addition, for using code pattern as image side
It the case where boundary (as shown in figure 14), can be by using different colours at boundary both ends, representing boundary, Yi Jiyong with the lines schemed
Wider color lump lines solve in favor of modes such as identifications.
For example, code pattern shown in FIG. 1 and another image are overlapped, the coding that contains as shown in Figure 2 can be formed and believed
The image of breath.Code pattern shown in fig. 5 and another image are overlapped, can be formed as shown in FIG. 6 containing coding information
Image.
As shown in fig. 6, for the code pattern as segmentation figure, another image being applied is divided into correspondence by those subregions
Several subgraphs to form picture mosaic.If the line width for constituting figure is little, image itself still has higher duty ratio, substantially
The visual effect of image is not influenced, and is encoded and be equivalent to " hiding " among the boundary of image or image.For example, for Fig. 3
Shown in segmentation figure, picture mosaic as shown in Figure 4 is formed after being superimposed with piece image.
For the code pattern Jing Guo above-mentioned processing, code pattern is shot with filming apparatus when in use or contain the figure of code pattern
Picture, or directly open by software code pattern or containing the image file of code pattern, extracted in the image containing code pattern
The code pattern being made of lines.Then by the coding information of the data or word that are stored in translator also artwork.
Other than above-mentioned realization method, the present invention can also have is embedded into Background by code pattern as shown in fig. 13 that
The case where regional area of picture.Refer to Figure 13, be by the lines of code pattern be embedded into background image (such as can be advertisement,
Commodity etc.) in, whether code pattern, which is segmentation figure, does not influence to realize, compared with traditional CL Code technologies, has preferably transparent
Property.
It is also possible to just like shown in Figure 14,15,16 using code pattern as the reality on the boundary of superimposed image
It is existing.This code pattern is the boundary in region or several segments on boundary, referred to as boundary graph, it is believed that coding is placed in area
The shape of the curve on domain boundary, line segment whether there is or not and the features such as line segment color in, refer to Figure 14, be by code pattern and image into
Row superposition, and parts of images is cut away on superimposed image so that boundary of the code pattern as superimposed image, to reach figure code
In conjunction with purpose.Figure as boundary can not block background image again, thus the line width of figure is more flexible.Such as the institutes of Figure 15 and 16
Show, wider line width helps to identify that the presence or absence of line segment, effect are similar to the color lump of conventional two-dimensional code, can be considered borderline two
Tie up code.As shown in figure 14, if the color inside and outside boundary can be distinguished obviously, the line width of figure can be zero, that is, be completely hidden in face
In the boundary of color mutation.Compared with the technologies such as the microsoft tag of Microsoft, without any blockage to background picture, figure code
In conjunction with effect it is more preferable.
In addition, the characteristics of realization of the present invention be can also be according to specific coding, further using specific compression algorithm
The above-mentioned coding method based on figure is recycled to be encoded after reducing number of bits needed for storage information, to improve coding effect
Rate.
Figure 17 shows the flows of the 3rd embodiment of the coding method based on figure of the present invention.Refer to Figure 17, this reality
Applying the implementation steps of the coding method based on figure of example, details are as follows.
First, the mapping relations (step between the feature and 0,1 state for the graphic element being made of several lines is established
S30).Lines mentioned here can be that straight line can also be curve.
And mapping relations between the two can be:0,1 state is determined according to whether there is line between 2 points;According to line
Direction determine 0,1 state;0,1 state is determined according to the feature of curve;0,1 state is determined according to territory element shape.
For example, as shown in Figure 1, wherein cornerwise different directions respectively represent 0 and 1 in matrix.As shown in figure 5, grid
The different protrusion directions in sideline respectively represent 0 and 1 in matrix.
If the variable-value representated by graphic element feature is more than 2, various states can be corresponded to.As shown in figure 8,
Four kinds of angles of unit intraconnections can respectively represent 00,01,10,11 4 value.As two protrusions of the curve on side in Fig. 9
Different directions combination can respectively represent 00,01,10,11 4 value.
In addition, several sub-regions can be divided into code pattern by cut-off rule, coding information is placed in by cut-off rule institute
In the subregion surrounded.The coding based on picture mosaic may be implemented in this way, it will be appreciated that store information using jigsaw puzzle units feature
Method.Such as the code pattern in Fig. 3 is formd into segmentation figure due to increasing frame and horizontal partition line.
Then, graphic element is formed into code pattern in the way of stacking, arrange or connect, wherein passing through the spy of graphic element
Sign and its arrangement determine the coding meaning (step S32) of code pattern.The coding meaning of code pattern can be the information to be forgiven,
It can also be the coding of representative or the direction information of being forgiven, and position needed for coding can be greatly reduced by the way of number
Number.
Figure 18 shows the flow of the fourth embodiment of the coding method based on figure of the present invention.Refer to Figure 18, this reality
Applying the implementation steps of the coding method based on figure of example, details are as follows.
First, the mapping relations (step between the feature and 0,1 state for the graphic element being made of several lines is established
S40).Lines mentioned here can be that straight line can also be curve.
And mapping relations between the two can be:0,1 state is determined according to whether there is line between 2 points;According to line
Direction determine 0,1 state;0,1 state is determined according to the feature of curve;0,1 state is determined according to territory element shape.
For example, as shown in Figure 1, wherein cornerwise different directions respectively represent 0 and 1 in matrix.As shown in figure 5, grid
The different protrusion directions in sideline respectively represent 0 and 1 in matrix.
If the variable-value representated by graphic element feature is more than 2, various states can be corresponded to.As shown in figure 8,
Four kinds of angles of unit intraconnections can respectively represent 00,01,10,11 4 value.As two protrusions of the curve on side in Fig. 9
Different directions combination can respectively represent 00,01,10,11 4 value.
In addition, several sub-regions can be divided into code pattern by cut-off rule, coding information is placed in by cut-off rule institute
In the subregion surrounded.The coding based on picture mosaic may be implemented in this way, it will be appreciated that store information using jigsaw puzzle units feature
Method.Such as the code pattern in Fig. 3 is formd into segmentation figure due to increasing frame and horizontal partition line.
Then, graphic element is formed into code pattern in the way of stacking, arrange or connect, wherein passing through the spy of graphic element
Sign and its arrangement determine the coding meaning (step S42) of code pattern.
Finally, code pattern and another image are overlapped, form the image (step S44) containing coding information.
Image can be printed on paper or be shown on the desplay apparatus.For the ease of extracting coding in superimposed image
Figure, may be used following processing method.A kind of method is that the distribution of color of the image to being applied is analyzed, if there is one
Kind color has notable difference with the color of the line near zone in the image entirety being applied or the figure being superimposed, convenient for distinguishing,
Color of this color as figure then may be used, the line of figure can also be designed as shown in Figure 10 by different colours or ash
The compound lines of the composition of degree in order to extract the line graph containing coding in stacking chart using gradient operator, but use
The method can increase the width of line, reduce duty ratio of the image in stacking chart.In addition, for using code pattern as image side
It the case where boundary (as shown in figure 14), can be by using different colours at boundary both ends, representing boundary, Yi Jiyong with the lines schemed
Wider color lump lines solve in favor of modes such as identifications.
For example, code pattern shown in FIG. 1 and another image are overlapped, the coding that contains as shown in Figure 2 can be formed and believed
The image of breath.Code pattern shown in fig. 5 and another image are overlapped, can be formed as shown in FIG. 6 containing coding information
Image.
As shown in fig. 6, for the code pattern as segmentation figure, another image being applied is divided into correspondence by those subregions
Several subgraphs to form picture mosaic.If the line width for constituting figure is little, image itself still has higher duty ratio, substantially
The visual effect of image is not influenced, and is encoded and be equivalent to " hiding " among the boundary of image or image.For example, for Fig. 3
Shown in segmentation figure, picture mosaic as shown in Figure 4 is formed after being superimposed with piece image.
For the code pattern Jing Guo above-mentioned processing, code pattern is shot with filming apparatus when in use or contain the figure of code pattern
Picture, or directly open by software code pattern or containing the image file of code pattern, extracted in the image containing code pattern
The code pattern being made of lines.Then by the coding information of the data or word that are stored in translator also artwork.
Other than above-mentioned realization method, the present invention can also have is embedded into Background by code pattern as shown in fig. 13 that
The case where regional area of picture.Refer to Figure 13, be by the lines of code pattern be embedded into background image (such as can be advertisement,
Commodity etc.) in, whether code pattern, which is segmentation figure, does not influence to realize, compared with traditional CL Code technologies, has preferably transparent
Property.
It is also possible to just like shown in Figure 14,15,16 using code pattern as the reality on the boundary of superimposed image
It is existing.This code pattern is the boundary in region or several segments on boundary, referred to as boundary graph, it is believed that coding is placed in area
The shape of the curve on domain boundary, line segment whether there is or not and the features such as line segment color in, refer to Figure 14, be by code pattern and image into
Row superposition, and parts of images is cut away on superimposed image so that boundary of the code pattern as superimposed image, to reach figure code
In conjunction with purpose.Figure as boundary can not block background image again, thus the line width of figure is more flexible.Such as the institutes of Figure 15 and 16
Show, wider line width helps to identify that the presence or absence of line segment, effect are similar to the color lump of conventional two-dimensional code, can be considered borderline two
Tie up code.As shown in figure 14, if the color inside and outside boundary can be distinguished obviously, the line width of figure can be zero, that is, be completely hidden in face
In the boundary of color mutation.Compared with the technologies such as the microsoft tag of Microsoft, without any blockage to background picture, figure code
In conjunction with effect it is more preferable.
In addition, the characteristics of realization of the present invention be can also be according to specific coding, further using specific compression algorithm
The above-mentioned coding method based on figure is recycled to be encoded after reducing number of bits needed for storage information, to improve coding effect
Rate.
Above-described embodiment is available to those of ordinary skill in the art to realize and use the present invention, the common skill in this field
Art personnel can make various modifications or variation to above-described embodiment without departing from the present invention in the case of the inventive idea, thus
Protection scope of the present invention is not limited by above-described embodiment, and should be the inventive features for meeting claims and being previously mentioned
Maximum magnitude.
Claims (24)
1. a kind of coding method based on figure, including:
Step 1:Establish the mapping relations between the feature and 0,1 state for the graphic element being made of several lines;
Step 2:Graphic element is formed into code pattern in the way of stacking, arrange or connect, wherein passing through the feature of graphic element
And its arrangement determines the coding meaning of code pattern;
Step 3:Code pattern and another image are overlapped, formed the image containing coding information, by by code pattern and should
Parts of images is cut away after another image superposition, code pattern is made to become the boundary of another image.
2. the coding method according to claim 1 based on figure, which is characterized in that the spy of the graphic element in step 1
Whether the mapping relations between 0,1 state of seeking peace are according to there is line to determine 0,1 state between 2 points.
3. the coding method according to claim 1 based on figure, which is characterized in that the spy of the graphic element in step 1
Mapping relations between 0,1 state of seeking peace are to determine 0,1 state according to the direction of line.
4. the coding method according to claim 1 based on figure, which is characterized in that the spy of the graphic element in step 1
Mapping relations between 0,1 state of seeking peace are to determine 0,1 state according to the feature of curve.
5. the coding method according to claim 1 based on figure, which is characterized in that the spy of the graphic element in step 1
Mapping relations between 0,1 state of seeking peace are to determine 0,1 state according to territory element shape.
6. the coding method according to claim 1 based on figure, which is characterized in that in step 3, by the company of code pattern
Line is designed as the compound lines being made of different colours or gray scale.
7. the coding method according to claim 1 based on figure, which is characterized in that in step 3, with different colors
Another image distinguished code pattern and be applied.
8. the coding method according to claim 1 based on figure, which is characterized in that be divided into code pattern by cut-off rule
Coding information is placed in the subregion surrounded by cut-off rule by several sub-regions, and another image being applied is a little by this
Region is divided into several corresponding subgraphs to form picture mosaic.
9. the coding method according to claim 1 based on figure, which is characterized in that further include the spy according to specific coding
Point recycles base described in claim 1 after further decreasing number of bits needed for storage information using specific compression algorithm
It is encoded in the coding method of figure, to improve code efficiency.
10. the coding method according to claim 1 based on figure, which is characterized in that the lines of code pattern are embedded into this
In the regional area of another image.
11. the coding method according to claim 1 based on figure, which is characterized in that for code pattern as image boundary
The case where, coding information is stored in the presence or absence of shape, line segment of the curve of image boundary and line segment color.
12. the coding method according to claim 1 based on figure, which is characterized in that the coding meaning of code pattern includes institute
The information to be forgiven either represents or is directed toward the number of the information to be forgiven.
13. a kind of coding method based on figure, including:
Step 1:Establish the mapping relations between the feature and 0,1 state for the graphic element being made of several lines;
Step 2:The feature of graphic element is stacked or is arranged in matrix to form code pattern, wherein the spy for passing through graphic element
Sign and its arrangement determine the coding meaning of code pattern;
Step 3:Code pattern and another image are overlapped, the image containing coding information is formed, wherein by by code pattern
Parts of images is cut away with after another image superposition, code pattern is made to become the boundary of another image.
14. the coding method according to claim 13 based on figure, which is characterized in that graphic element in step 1
Whether the mapping relations between feature and 0,1 state are according to there is line to determine 0,1 state between 2 points.
15. the coding method according to claim 13 based on figure, which is characterized in that graphic element in step 1
Mapping relations between feature and 0,1 state are to determine 0,1 state according to the direction of line.
16. the coding method according to claim 13 based on figure, which is characterized in that graphic element in step 1
Mapping relations between feature and 0,1 state are to determine 0,1 state according to the feature of curve.
17. the coding method according to claim 13 based on figure, which is characterized in that graphic element in step 1
Mapping relations between feature and 0,1 state are to determine 0,1 state according to territory element shape.
18. the coding method according to claim 13 based on figure, which is characterized in that in step 3, by code pattern
Line is designed as the compound lines being made of different colours or gray scale.
19. the coding method according to claim 13 based on figure, which is characterized in that in step 3, with different face
Another image that color is distinguished code pattern and is applied.
20. the coding method according to claim 13 based on figure, which is characterized in that divided code pattern by cut-off rule
At several sub-regions, coding information is placed in the subregion surrounded by cut-off rule, another image being applied is by those
Subregion is divided into several corresponding subgraphs to form picture mosaic.
21. the coding method according to claim 13 based on figure, which is characterized in that further include the spy according to specific coding
Point recycles base described in claim 1 after further decreasing number of bits needed for storage information using specific compression algorithm
It is encoded in the coding method of figure, to improve code efficiency.
22. the coding method according to claim 13 based on figure, which is characterized in that the lines of code pattern are embedded into this
In the regional area of another image.
23. the coding method according to claim 13 based on figure, which is characterized in that for code pattern as image boundary
The case where, coding information is stored in the presence or absence of shape, line segment of the curve of image boundary and line segment color.
24. the coding method according to claim 13 based on figure, which is characterized in that the coding meaning of code pattern includes institute
The information to be forgiven either represents or is directed toward the number of the information to be forgiven.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310050020.5A CN103093267B (en) | 2012-12-11 | 2013-02-07 | Coding method based on figure |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105322182 | 2012-12-11 | ||
CN201210532218 | 2012-12-11 | ||
CN201210532218.2 | 2012-12-11 | ||
CN201310050020.5A CN103093267B (en) | 2012-12-11 | 2013-02-07 | Coding method based on figure |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103093267A CN103093267A (en) | 2013-05-08 |
CN103093267B true CN103093267B (en) | 2018-07-17 |
Family
ID=48205813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310050020.5A Active CN103093267B (en) | 2012-12-11 | 2013-02-07 | Coding method based on figure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103093267B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103313053B (en) * | 2013-05-14 | 2016-05-25 | 浙江万里学院 | A kind of shape coding method towards visual object |
CN104726992B (en) * | 2015-03-20 | 2017-03-29 | 嘉兴学院 | A kind of implicit digital information fabric and its intertexture rule building method |
CN105488552B (en) * | 2016-01-01 | 2018-05-15 | 江苏图码信息科技有限公司 | Nonlinear Two-Dimensional code product and application component |
CN106127274A (en) * | 2016-06-08 | 2016-11-16 | 郝迎喜 | The dynamic two-dimension code of a kind of improvement generates Verification System and generates authentication method |
CN106529620A (en) * | 2016-11-02 | 2017-03-22 | 努比亚技术有限公司 | Prototype, security management and control method and security management and control system thereof |
CN106778999A (en) * | 2016-12-02 | 2017-05-31 | 武汉网码云防伪技术有限公司 | A kind of two-dimentional camber line figure code and a kind of antifake method for products |
CN107124614B (en) * | 2017-04-20 | 2019-12-13 | 华东师范大学 | Image data compression method with ultrahigh compression ratio |
CN110414646B (en) * | 2018-04-28 | 2023-05-30 | 深圳果力智能科技有限公司 | Robot control pattern generation method |
CN113110778A (en) * | 2021-04-20 | 2021-07-13 | 树根互联股份有限公司 | Graphical interface display method, terminal, readable storage medium and electronic equipment |
CN113222088B (en) * | 2021-05-06 | 2022-10-18 | 顶象科技有限公司 | Method and device for generating circular code |
CN113313782A (en) * | 2021-06-15 | 2021-08-27 | 福建正孚软件有限公司 | File anti-counterfeiting method and system based on three-dimensional grains |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6502756B1 (en) * | 1999-05-28 | 2003-01-07 | Anoto Ab | Recording of information |
CN101105833A (en) * | 2007-06-12 | 2008-01-16 | 李曙光 | 2D linear graphics coding anti-fake method |
CN101152809A (en) * | 2006-09-30 | 2008-04-02 | 凌阳科技股份有限公司 | Two-dimensional information menu and order dishes system based on two-dimensional code recognition |
CN101359360A (en) * | 2008-07-31 | 2009-02-04 | 刘旭 | Graphics context fused electronic ticket coding/decoding method |
CN101908155A (en) * | 2010-06-08 | 2010-12-08 | 真心彩网络科技(上海)有限公司 | The coded system of two-dimension code and method, decode system and method |
CN102081748A (en) * | 2011-02-12 | 2011-06-01 | 熊锐 | Bar code pattern and bar code group pattern formed by node matrix and node line, and generation and identification method thereof |
CN102567763A (en) * | 2011-12-27 | 2012-07-11 | 方正国际软件有限公司 | Method and system for storing and reading data |
-
2013
- 2013-02-07 CN CN201310050020.5A patent/CN103093267B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6502756B1 (en) * | 1999-05-28 | 2003-01-07 | Anoto Ab | Recording of information |
CN101152809A (en) * | 2006-09-30 | 2008-04-02 | 凌阳科技股份有限公司 | Two-dimensional information menu and order dishes system based on two-dimensional code recognition |
CN101105833A (en) * | 2007-06-12 | 2008-01-16 | 李曙光 | 2D linear graphics coding anti-fake method |
CN101359360A (en) * | 2008-07-31 | 2009-02-04 | 刘旭 | Graphics context fused electronic ticket coding/decoding method |
CN101908155A (en) * | 2010-06-08 | 2010-12-08 | 真心彩网络科技(上海)有限公司 | The coded system of two-dimension code and method, decode system and method |
CN102081748A (en) * | 2011-02-12 | 2011-06-01 | 熊锐 | Bar code pattern and bar code group pattern formed by node matrix and node line, and generation and identification method thereof |
CN102567763A (en) * | 2011-12-27 | 2012-07-11 | 方正国际软件有限公司 | Method and system for storing and reading data |
Also Published As
Publication number | Publication date |
---|---|
CN103093267A (en) | 2013-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103093267B (en) | Coding method based on figure | |
US6141441A (en) | Decoding data from patterned color modulated image regions in a color image | |
US20150286915A1 (en) | Producing, capturing and using visual identification tags for moving objects | |
CN112352245A (en) | Composite code pattern, generation device, reading device, method, and program | |
CN105224974B (en) | The method and method for anti-counterfeit of hiding information in a kind of matrix two-dimensional code | |
CN1829609B (en) | Method of encoding a latent image | |
CN106778996A (en) | It is embedded with the generation system and method and reading system of the Quick Response Code of visual pattern | |
TWI644261B (en) | Data transmission using optical codes | |
CN108090542B (en) | Two-dimensional code anti-counterfeiting label and manufacturing method thereof | |
CN104268615A (en) | Encoding method and decoding method for color two-dimensional code | |
AU2008255227A1 (en) | Document security method | |
CN102968654A (en) | Method and system for producing information recognizable by naked eyes in plane of two-dimensional (2D) code and 2D code | |
CN101127089B (en) | Implement method for embedding large amount of information on printing media | |
CN104794987A (en) | Two-dimension code anti-counterfeit label | |
CN110263893A (en) | A kind of anti-fake two-dimension code generation method and device being embedded in watermark | |
US10395155B2 (en) | Billboard containing encoded information | |
CN107748908A (en) | A kind of individual two-dimensional code constructing method | |
CN110136225B (en) | Method, apparatus and computer storage medium for generating a sample of written print data | |
CN101707735A (en) | Code generation method suitable for mobile phone to touch-read and play multimedia | |
CN101751655B (en) | Methods for implanting and extracting digital watermark and device thereof | |
CN107247984B (en) | Coding method of visual two-dimensional code | |
Saradha et al. | Improving image data hiding capacity scheme using Sudoku puzzle in color images | |
US10114998B2 (en) | Security feature | |
CN108664963A (en) | Decoding method based on coded markings | |
TWI536312B (en) | Anti - copy image generation system and its operation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |