The method and its device of dot pattern are implanted on curved surface article surface
Technical field
The present invention relates to anti-counterfeiting mark technical field, especially a kind of side that dot pattern is implanted on curved surface article surface
Method and its device.
Background technology
In modern anti-counterfeiting technology, traditional physical security means (such as material is false proof, the false proof mode of ink) base
This is completely broken through by fake producer.Therefore, digital code anti-false identification is progressively applied in each field, to substitute traditional physical security
Means.At present, existing digital code anti-false identification is mainly based on dot pattern.However, domestic all dot matrix images are known at present
Other anti-counterfeiting technology, it is applied on plane characteristic product (such as card ticket, label labeling, product packaging), when article
When appearance is curved-surface structure, then dot pattern anti-counterfeiting mark can not be implanted into its surface.
Therefore, urgent need is a kind of when the appearance of article is curved-surface structure, and it is false proof also can be implanted into dot pattern on its surface
The method of mark.
The content of the invention
Weak point present in regarding to the issue above, present invention offer is a kind of to turn the dot pattern of plane pattern
Curved pattern is changed to, and makes its curvature parameters is consistent with the curvature parameters of implanted region to be implanted on curved surface article surface
The method and its device of dot pattern.
To achieve the above object, the present invention provides a kind of method that dot pattern is implanted on curved surface article surface, including
Following steps:
S1, a curved surface area for being used to be implanted into dot pattern is chosen on the surface of curved surface article;
S2, the curvature values for obtaining the curved surface area chosen;
S3, curvature values and surface equation according to curved surface area, the dot pattern of plane pattern is set to form curved surface dot matrix
Graphic design;
S4, by printing equipment dot pattern pattern is implanted on curved surface article surface curved surface area.
The above-mentioned method that dot pattern is implanted on curved surface article surface, wherein, in step s 2, including following sub-step
Suddenly:
The curved surface area of selection is scanned, to establish the 3-D view of curved surface area;
It is scanned by the image parameter in the 3-D view to curved surface area, to get its curvature values;
The image parameter of above-mentioned curvature values, the 3-D view of curved surface article surface and 3-D view is stored in article ginseng
In number database.
The above-mentioned method that dot pattern is implanted on curved surface article surface, wherein, in step s3, including following sub-step
Suddenly:
According to the relevant parameter of dot pattern, to establish the dot pattern 3-D view of plane pattern;
The dot pattern 3-D view of plane pattern is adjusted to and curvature values identical bending sample according to curvature values
The dot pattern d pattern of formula.
The above-mentioned method that dot pattern is implanted on curved surface article surface, wherein, obtain the dot pattern of curved pattern
The curvature parameters of d pattern, will when the curvature parameters of dot pattern d pattern and the identical curvature values of curved surface area
The dot pattern graphics of the dot pattern d pattern of curved pattern, the bending parameters of dot pattern pattern and plane pattern
As being stored in pattern data storehouse.
The present invention provides a kind of device that dot pattern is implanted on curved surface article surface, including:
Choose module, for choosing a region for being used to be implanted into dot pattern on the surface of curved surface article;
Curvature values acquisition module, the curvature values for obtaining the curved surface area chosen;
Curved surface dot pattern pattern module, for the curvature values and surface equation according to curved surface area, make plane
The dot pattern of pattern forms curved surface dot pattern pattern;
Printing equipment, for the dot pattern received pattern to be implanted in into curved surface article surface curved surface area.
Above-mentioned device, wherein, include in the curvature values acquisition module:
Curved surface area 3-D view establishes module, for being scanned to the curved surface area of selection, to establish curved surface area
3-D view;
Curvature values computing module, for being scanned by the image parameter in the 3-D view to curved surface area, with
Get its curvature values;
Item parameter database, for above-mentioned curvature values, the 3-D view of curved surface article surface and 3-D view
Image parameter establishes a data link table, and data link table is stored, called compared with.
Above-mentioned device, wherein, include in the curved surface dot pattern pattern module:
Dot pattern 3-D view establishes module, for the relevant parameter according to dot pattern, to establish plane pattern
Dot pattern 3-D view;
The dot pattern d pattern of curved pattern establishes module, for according to curvature values by the dot chart of plane pattern
Shape 3-D view is adjusted to the dot pattern d pattern with curvature values identical curved pattern.
Above-mentioned device, wherein, also include in the curved surface dot pattern pattern module:
The curvature parameters acquisition module of dot pattern d pattern, for obtaining the dot pattern d pattern of curved pattern
Curvature parameters;
Comparison module, for the curvature values of the curvature parameters of dot pattern d pattern and curved surface area to be compared
Compared with;
Pattern data storehouse, for identical in the curvature parameters of dot pattern d pattern and the curvature values of curved surface area
When, by the dot pattern of the dot pattern d pattern of curved pattern, the bending parameters of dot pattern pattern and plane pattern
3-D view is established as data link table, and data link table is stored, called compared with.
Above-mentioned device, wherein, in addition to data transmission module, for the dot pattern d pattern of curved pattern to be sent out
Deliver in printing equipment.
Compared with prior art, the present invention has advantages below:
1st, the dot pattern of plane pattern can be converted to curved pattern by the present invention, and make its curvature parameters and implantation
The curvature parameters in region are consistent, so as to be implanted on the selection area of curved surface article external surface;
2nd, the present invention can increase the application of dot pattern, improve the ability of digital code anti-false.
Brief description of the drawings
Fig. 1 is the flow chart of method part in the present invention;
Fig. 2 is the structured flowchart of device part in the present invention;
Fig. 3 is the dot pattern of midplane pattern of the present invention;
Fig. 4 is dot pattern dot pattern d pattern after bending in Fig. 3.
Main Reference Numerals are described as follows:
1- chooses module 2- curvature values acquisition modules
3- curved surface dot pattern pattern module 4- data transmission modules
5- printing equipments
21- curved surface area 3-D views establish module 22- curvature values computing modules
23- item parameter databases
31- dot pattern 3-D views establish module
The dot pattern d pattern of 32- curved patterns establishes module
The curvature parameters acquisition module of 33- dot pattern d patterns
34- comparison module 35- pattern datas storehouse
Embodiment
As shown in figure 1, the present invention provides a kind of method that dot pattern is implanted on curved surface article surface, including following step
Suddenly:
S1, a curved surface area for being used to be implanted into dot pattern is chosen on the surface of curved surface article.
Wherein, because the size of dot pattern is 17x17 pixels between 67x67 pixels, therefore, the curved surface area of selection
It need be only greater than 67x67 pixels.
S2, the curvature values for obtaining the curved surface area chosen.
Including following sub-step wherein, in step s 2,:
The curved surface area of selection is scanned, to establish the 3-D view of curved surface area.
It is scanned by the image parameter in the 3-D view to curved surface area, to get its curvature values.
(citing, if surface equation is F (x, y, z)=0, then sets F (x, y, z) to each change to curvature equation corresponding to calling
Amount has continuous partial derivative.M0(x0,y0,z0) it is a bit on curved surface, cross point M0Appoint and make one in curve l, if its equation is x=x
(t), y=y (t), z=z (t), it is clear that F (x (t), y (t), z (t))=0).
The image parameter of above-mentioned curvature values, the 3-D view of curved surface article surface and 3-D view is stored in article ginseng
In number database.
S3, curvature values and surface equation according to curved surface area, the dot pattern of plane pattern is set to form curved surface dot matrix
Graphic design.
Including following sub-step wherein, in step s3,:
According to the relevant parameter of dot pattern, to establish the dot pattern 3-D view of plane pattern.
The dot pattern 3-D view of plane pattern is adjusted to and curvature values identical bending sample according to curvature values
The dot pattern d pattern of formula.
Wherein, (citing, if surface equation is F (x, y, z)=0, then sets F (x, y, z) to each to curvature equation corresponding to calling
Individual variable has continuous partial derivative.M0(x0,y0,z0) it is a bit on curved surface, cross point M0Appoint and make one in curve l, if its equation is x=
X (t), y=y (t), z=z (t), it is clear that F (x (t), y (t), z (t))=0).
The curvature parameters of the dot pattern d pattern of curved pattern are obtained, when the curvature parameters of dot pattern d pattern
When identical with the curvature values of curved surface area, by the bent ginseng of the dot pattern d pattern of curved pattern, dot pattern pattern
The dot pattern 3-D view of number and plane pattern is stored in pattern data storehouse.
The dot pattern d pattern of curved pattern is sent to printing equipment.
S4, by printing equipment dot pattern pattern is implanted on curved surface article surface curved surface area.
In step s 4, printing equipment receives the dot pattern d pattern of curved pattern, and is implanted into curved surface thing
On product surface curve region.
As shown in Figures 2 to 4, the present invention provides a kind of device that dot pattern is implanted on curved surface article surface, including
Choose module 1, curvature values acquisition module 2, curved surface dot pattern pattern module 3, data transmission module 4 and printing equipment
5。
Wherein, module 1 is chosen to be used to choose a region for being used to be implanted into dot pattern on the surface of curved surface article.
Due to dot pattern size for 17x17 pixels between 67x67 pixels, therefore, the curved surface area of selection only needs
It is greater than 67x67 pixels.
Curvature values acquisition module 2 is used for the curvature values for obtaining the curved surface area chosen.Wherein, including curved surface area three
Dimension image establishes module 21, curvature values computing module 22 and item parameter database 23.
Curved surface area 3-D view establishes module 21 and is used to be scanned the curved surface area of selection, to establish curved surface area
3-D view.
Curvature values computing module 22 is used to be scanned by the image parameter in the 3-D view to curved surface area, with
Get its curvature values.
Wherein, (citing, if surface equation is F (x, y, z)=0, then sets F (x, y, z) to each to curvature equation corresponding to calling
Individual variable has continuous partial derivative.M0(x0,y0,z0) it is a bit on curved surface, cross point M0Appoint and make one in curve l, if its equation is x=
X (t), y=y (t), z=z (t), it is clear that F (x (t), y (t), z (t))=0).
Item parameter database 23 is used for above-mentioned curvature values, the 3-D view of curved surface article surface and 3-D view
Image parameter establishes a data link table, and data link table is stored, called compared with.
Curved surface dot pattern pattern module 3 is used for curvature values and surface equation according to curved surface area, makes plane
The dot pattern of pattern forms curved surface dot pattern pattern.It includes:
Dot pattern 3-D view establishes module 31 for the relevant parameter according to dot pattern, to establish plane pattern
Dot pattern 3-D view.
The dot pattern d pattern of curved pattern is established module 32 and is used for the dot matrix of plane pattern according to curvature values
Graphical three-dimensional image adjustment is the dot pattern d pattern with curvature values identical curved pattern.
The curvature parameters acquisition module 33 of dot pattern d pattern is used for the dot pattern graphics for obtaining curved pattern
The curvature parameters of sample.
Wherein, (citing, if surface equation is F (x, y, z)=0, then sets F (x, y, z) to each to curvature equation corresponding to calling
Individual variable has continuous partial derivative.M0(x0,y0,z0) it is a bit on curved surface, cross point M0Appoint and make one in curve l, if its equation is x=
X (t), y=y (t), z=z (t), it is clear that F (x (t), y (t), z (t))=0).
Comparison module 34 is used to be compared the curvature values of the curvature parameters of dot pattern d pattern and curved surface area
Compared with.
Pattern data storehouse 35 is used for identical in the curvature parameters of dot pattern d pattern and the curvature values of curved surface area
When, by the dot pattern of the dot pattern d pattern of curved pattern, the bending parameters of dot pattern pattern and plane pattern
3-D view is established as data link table, and data link table is stored, called compared with.
Data transmission module 4 is used to send the dot pattern d pattern of curved pattern into printing equipment.
Printing equipment 5 is used to the dot pattern pattern received being implanted in curved surface article surface curved surface area.
Presently preferred embodiments of the present invention is the foregoing is only, is merely illustrative for invention, and it is nonrestrictive.
Those skilled in the art understands, can carry out many changes to it in the spirit and scope that invention claim is limited, and changes,
It is even equivalent, but fall within protection scope of the present invention.