CN108537854A - A kind of image concealing information coding anti-fake based on grating and decoded method - Google Patents

A kind of image concealing information coding anti-fake based on grating and decoded method Download PDF

Info

Publication number
CN108537854A
CN108537854A CN201810345908.4A CN201810345908A CN108537854A CN 108537854 A CN108537854 A CN 108537854A CN 201810345908 A CN201810345908 A CN 201810345908A CN 108537854 A CN108537854 A CN 108537854A
Authority
CN
China
Prior art keywords
image
site
coding
screening
constituency
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.)
Withdrawn
Application number
CN201810345908.4A
Other languages
Chinese (zh)
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.)
Hefei Bo Tai Tai Electronic Technology Co Ltd
Original Assignee
Hefei Bo Tai Tai Electronic 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 Hefei Bo Tai Tai Electronic Technology Co Ltd filed Critical Hefei Bo Tai Tai Electronic Technology Co Ltd
Priority to CN201810345908.4A priority Critical patent/CN108537854A/en
Publication of CN108537854A publication Critical patent/CN108537854A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/20Contour coding, e.g. using detection of edges

Abstract

The invention discloses a kind of the image concealing information coding anti-fake based on grating and decoded method, include the following steps:(1), prepare original copy and hiding information;(2), digital screening is handled;(3), hiding information encodes;(4), image synthesizes;(5), it decodes.The range of choice bigger of original copy of the present invention and hiding information realizes that coding and decoding, concealment and extraction recognition performance are stronger in continuous toned image.

Description

A kind of image concealing information coding anti-fake based on grating and decoded method
Technical field
The invention belongs to grating field of anti-counterfeit technology, and in particular to a kind of image concealing information coding anti-fake based on grating With decoded method.
Background technology
Current main printing anti-counterfeiting technology is printed based on the basis of high-precision equipment and special material mostly Anti-counterfeiting cost is higher, and once prints anti-fake material and facility used and be obtained, and will be imitated by massive duplication, from And anti-fake effect will be lost.Image, the word etc. for needing print reproduction are typically each exported by halftone screen, are based on The grating anti-counterfeiting technology of moir patterns, aiming at the working condition of present printing anti-counterfeiting technology and common printed enterprise, proposition A kind of small according to lazyness to equipment and material, anti-pseudoprocess is simple, the anti-fake new technology of the good halftoning of antifalse effect.Its basic principle The principle features exactly formed to Moire fringe common in printing are analyzed and researched, special in conjunction with digital halftone screening technology Point, the visual characteristic based on human eye, by during digital screening, under the premise of human eye vision will not be caused to change pair plus The part site of net image carries out micro adjustment, to complete the addition of hiding information.
In the prior art, with the raising of the increase of hiding information and complexity, the concealment of anti-counterfeiting information declines, easily quilt Human eye is directly discovered, and concealment and extraction recognition performance are not ideal enough.
Invention content
The object of the present invention is to provide a kind of image concealing information coding anti-fake based on grating and decoded method, original copy With the range of choice bigger of hiding information, in continuous toned image realize coding and decoding, concealment and extraction recognition performance compared with By force.
The present invention provides the following technical solutions:A kind of image concealing information coding anti-fake based on grating and decoded Method includes the following steps:
Step 1: preparing original copy and hiding information
Continuous toned image is selected as original copy, selects word and/or figure as hiding information, continuous toned image and is hidden Information is digital file format;
Original copy is opened in image processing software, sets original copy to tetra- Color Channel patterns of C, M, Y, K, selection is wherein 1 Color Channel is as coding pass, remaining 3 channel is as Common passageway;
Step 2: digital screening is handled
Using am screening technology, screening parameter is set, screening parameter includes 4 screen angles, respectively 0 °, 18.44 °, 45 ° and 71.57 °, digital screening processing, the screening of coding pass are carried out respectively to coding pass and 3 Common passageways Angle is 0 °, and the screen angle of 3 Common passageways is the arbitrary combination of 18.44 °, 45 ° and 71.57 ° threes, after screening processing To the coding Screening Image and the common Screening Image of 3 width being made of site;
Newly-built blank image, image size is identical with the image size of common Screening Image, sets blank image to The common Screening Image of 3 width is copied into corresponding Color Channel by C, tetra- Color Channel patterns of M, Y, K, spare;
Step 3: hiding information encodes
(1), site is moved
Hiding information is superimposed upon in the figure layer of coding Screening Image, acquires the profile of hiding information, in coding screening figure Coding corresponding with profile constituency is obtained in the figure layer of picture, the total dot in note coding Screening Image is m*n, note coding Site in Screening Image is (i, j), i=1,2 ... m, j=1,2 ... the collection of n, the note coding all sites in constituency are combined into G= { (i, j), i≤m;J≤n }, the collection that note encodes in constituency in the site of boundary bottom is combined into J={ (i, j), (i, j) ∈ G }, remembers It is combined into E={ (i, j), (i, j) ∈ G } in coding constituency with the collection of the site of both sides at the top of boundary, note encodes boundary in constituency The collection of interior site is combined into D={ (i, j), (i, j) ∈ G }, J+E+D=G, by the site of set E, set D and set J into line position It moves;
(2), dot percentage adjusts
The dot percentage of each site in note coding Screening Image is f(i, j), in all sites in coding constituency, Dot percentage positioned at the site of boundary bottom is fJ (i, j), boundary top and the dot percentage of the site of both sides are fE (i, j), the dot percentage of the site in boundary is fD (i, j)
After the movement of site, adjustment is positioned at the dot percentage of the site on boundary, any site (i, j) in set E, thereon The percentage of 4 adjacent sites of lower left and right directions is f(i-1, j)、f(i+1, j)、f(i, j-1)、f(i, j+1), by the hundred of site (i, j) Ratio is divided to be adjusted to f 'E (i, j),
Any site (i, j) in set J, it is f to descend the percentage of 4 adjacent sites of left and right directions thereon(i-1, j)、 f(i+1, j)、f(i, j-1)、f(i, j+1), the percentage of site (i, j) is adjusted to f '(i, j),P value is 4~8;
(3), after the completion of site movement and dot percentage adjust, the coding Screening Image with hiding information is obtained;
Step 4: image synthesizes
The coding Screening Image with hiding information that step 3 obtains is copied into the remaining face of step 2 blank image In chrominance channel, the original copy Screening Image for being embedded with hiding information is obtained, completes coding;
Step 5: decoding
Using the linear grating of digital file format as digital solution chip, linear grating is by color lump on the spot and transparent color lump It is alternatively arranged composition, color lump and transparent color lump are the identical rectangular configuration of length on the spot, calculate color lump and transparent color lump on the spot Width, obtain digital solution chip, by digital solution chip be covered in it is described be embedded in the original copy Screening Image of hiding information, revolve Turn and mobile digital solution chip is until observe hiding information, completion decodes.
As further describing for above-mentioned technical proposal:
In the step 3, it is by the method that the site of set E, set D and set J carry out displacement:Set E and set D Direction of displacement be vertically upward, shift length be two neighboring site distance 1/2;The site direction of displacement of set J is vertical Straight upward, shift length is the 1/4 of two neighboring site distance.
As further describing for above-mentioned technical proposal:
In the step 2, screening parameter includes 4 screen angles, respectively 0 °, 18.44 °, 45 ° and 71.57 °, to compiling Code channel and 3 Common passageways carry out digital screening processing respectively, and the screen angle of coding pass is 0 °, 3 Common passageways Screen angle is the arbitrary combination of 18.44 °, 45 ° and 71.57 ° threes.
As further describing for above-mentioned technical proposal:
In the step 2, digital screening processing and newly-built blank image are all made of photoshop softwares, Original copy is opened in photoshop, sets original copy to tetra- Color Channel patterns of C, M, Y, K, setting C-channel is logical as coding Color Channel is first converted to bitmap by road, M, Y, K channel as Common passageway, and output resolution ratio is arranged in when conversion, then uses Half adjusts screen to carry out screening processing respectively to each Color Channel, and screening parameter further includes dot shape and screen frequency, site Shape is round or rectangular, and screen frequency is 50~200lpi, the resolution ratio of the blank image and the output resolution ratio Identical, the output resolution ratio is the integral multiple of screen frequency.
As further describing for above-mentioned technical proposal:
In the step 2, digital screening processing and newly-built blank image are all made of photoshop softwares, Original copy is opened in photoshop, sets original copy to tetra- Color Channel patterns of C, M, Y, K, setting C-channel is logical as coding Four Color Channels are first respectively converted into bitmap by road, M, Y, K channel as Common passageway, and output resolution ratio is arranged in when conversion For 1440dpi, then screen is adjusted to carry out screening processing respectively to each Color Channel using half, screening parameter further includes site shape Shape and screen frequency, dot shape are circle, screen frequency 96lpi, the resolution ratio of the blank image and the output point Resolution is identical.
As further describing for above-mentioned technical proposal:
In the step 5, document color lump width be T1, the width of transparent color lump is T2, note screen frequency is L, T1+ T2=25.4/L.
As further describing for above-mentioned technical proposal:
In the step 5, the computational methods of color lump width are on the spot:
The image region of a rectangle is selected in coding Screening Image, image region is by encoding constituency and comparison constituency group At coding constituency is located at the middle of image region and accounts for the 50~90% of image region;
Measure the dot percentage f of each site in comparison constituency(i, j), the site with maximum value is obtained, on the spot color lump Width T1Equal to the height of the site.
As further describing for above-mentioned technical proposal:
The step 4 further includes that will be embedded with the original copy Screening Image the output for printing of hiding information, is controlled by computer Exposure output is made film and shines seal carving version again at printing plate, or correspondence, and the original copy for obtaining being embedded with hiding information is in kind;
The step 5 further includes that digital solution chip is prepared into corresponding grating in kind, and grating in kind is covered in original copy reality On object, until observing hiding information, completion decodes for rotation and moving object grating.
As further describing for above-mentioned technical proposal:
In the step 3, the dot percentage for encoding site in constituency is no more than 50%.
As further describing for above-mentioned technical proposal:
In the step 3, the preparation method for encoding constituency is:Coding Screening Image is opened in photoshop, is obtained The figure layer of Screening Image is encoded, figure layer is then created and is placed into hiding information, obtain hiding information figure layer, choose hiding information Then profile deletes hiding information figure layer, obtains profile constituency, profile constituency is adjusted so that the site in constituency is equal For complete site, the profile constituency obtained after adjustment is to encode constituency.
Beneficial effects of the present invention:The range of choice bigger of original copy and hiding information realizes coding in continuous toned image And decoding, concealment and extraction recognition performance are stronger, specific as follows:
(1), in cataloged procedure of the invention:Low-frequency filter characteristics based on human eye vision are carried out to continuous tone After am screening processing, changes the dot location and dot percentage of regional area in coding pass, hiding information is embedded into Among original image, achieve the purpose that anti-counterfeiting information encodes;
(2), in decoding process of the invention:Based on the anti-fake principle of moir patterns grating, using the optical characteristics of transmission grating, By after screening half tone image and design the grating to match be superimposed, the longitudinal direction for the period infinity for presenting a contrast strong Moire fringe phenomenon reaches the decoded purpose of anti-counterfeiting information to show anti-fake hiding information;
(3), the selection range of original copy of the present invention is wider:In the prior art, it is limited by coding method, if using connecting Continuous change the line map is encoded, and concealment is poor, therefore usually uniform dot percentage, which is only arranged, obtains original image into row information It is hidden, the present invention solve the problems, such as in continuous toned image code and decode effect it is poor, original copy selection range more Greatly;
(4), the selection of hiding information of the present invention is more various and capacity bigger:Hiding information can select figure or text Word, or figure and word are set simultaneously, and the capacity bigger of its hiding information, with the increase of capacity, can still keep compared with Good structural similarity and decoding effect;
(5), the concealment that the present invention encodes is stronger:Site in boundary bottom in coding constituency is moved 1/ vertically upward The other sites for encoding constituency are moved 1/2 by 4 site spacing (site spacing is determined by parameters such as screen frequencies) vertically upward Site spacing, in this manner, more traditional displacement algorithm and other innovatory algorithm can realize moir patterns On the basis of anti-fake, coding constituency is further decreased due to visual perception caused by the displacement of site;In addition, by changing site hundred Point ratio so that the site of borderline region can further be blended with the site of surrounding, using with neighbouring site and percentage Mode smeared out boundary site vision shake, compared to the prior art, can preferably improve the concealment of hiding information, It is set to be not easy to be visually perceived;In addition, the site to boundaries on either side is equally improved, in conjunction with the preparation in present invention coding constituency The site of method, boundaries on either side can keep integrality, while can also still have preferable concealment after site is improved Can, after the superposition of especially four chrominance channels, human eye can not Direct Recognition anti-counterfeiting information;The coding method of the present invention, comprehensive consideration Boundary node shakes the visual perception that will produce, and improves the compatibility of boundary node and surrounding site, and coding method is more scientific Rationally, while coordinating adaptable coding/decoding method, can effectively realize the hiding and extraction of anti-counterfeiting information;
(6), the present invention has good decoding effect:By grating decoding piece, can be accurately identified under specially angle Anti-fake hiding information reaches antifalse effect, not by the improved influence of encryption algorithm;
(7), the present invention can prefabricated decoding effect:Hiding information is encoded in continuous toned image, and makes corresponding number Word decoding piece can be decoded, prefabricated detection result before image printing output with digital solution chip detection of concealed information, It is convenient that coded image is verified, there is early warning effect, then use corresponding data creating material object lenticular lenses;
(8), the screen angle of coding pass of the present invention is 0 °, the screen angles of 3 Common passageways be 18.44 °, 45 ° and The arbitrary combination of 71.57 ° of threes is arranged using such screen angle it is possible to prevente effectively from output image moire generates simultaneously The screen angle of coding pass is 0 °, when being encoded, can reduce operation difficulty, improve efficiency;
(9), the preparation method in present invention coding constituency is more simple accurate, directly makes profile in coding Screening Image Constituency, and being adjusted so that the site in constituency is complete site, compared to the prior art in, the volume before screening The method in prefabricated constituency, method of the invention can accurately select complete site in code channel;
(10), the product that the present invention obtains is difficult to copy:The site of the present invention improves and is difficult to be cracked, in an encoding process The parameters of setting also can not be penetrated accurately by counterfeiter, slightly different, vision will be caused to change in decoding process, prevent Pseudo- performance is stronger.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, the reality with the present invention It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the original copy in the embodiment of the present invention (color information is not shown);
Fig. 2 is the encrypted tunnel half tone image in the embodiment of the present invention;
Fig. 3 is the channels the M Screening Image in the embodiment of the present invention;
Fig. 4 is the channels the Y Screening Image in the embodiment of the present invention;
Fig. 5 is the K channel Screening Image in the embodiment of the present invention;
Fig. 6 is the original copy half tone image for being embedded with anti-counterfeiting information in the embodiment of the present invention (color information is not shown);
Fig. 7 is the decoded original copy half tone image in the embodiment of the present invention (color information is not shown);
Fig. 8 is the close-up schematic view of the channels Y Screening Image in Fig. 4.
Specific implementation mode
Present invention will be further explained below with reference to specific examples.These embodiments are merely to illustrate the present invention and do not have to In limiting the scope of the invention.In conjunction with Figure of description, the design feature that the present invention will be described in detail.
A kind of image concealing information coding anti-fake based on grating and decoded method, include the following steps:
Step 1: preparing original copy and hiding information
Referring to Fig. 1, select continuous toned image as original copy, select Chinese character " day " as hiding information, continuous toned image and Hiding information is digital file format;
Original copy is opened in photoshop, sets original copy to tetra- Color Channel patterns of C, M, Y, K, C-channel is selected to make For coding pass, M, Y, K channel are as Common passageway, volume of the region for selecting coding pass scala media leveling slow as hiding information Code region;
Step 2: digital screening is handled
In photoshop, four Color Channels are first respectively converted into bitmap, setting output resolution ratio is when conversion Then 1440dpi adjusts screen to carry out screening processing respectively to each Color Channel using half;
Using am screening technology, the screening parameter of each Color Channel is set, screening parameter includes dot shape, screening Line number and screen angle, dot shape are circle, and screen frequency is 96lpi, and screen angle is respectively 0 °, 18.44 °, 45 ° With 71.57 °, wherein the screen angle of C-channel be 0 °, M, Y, K channel screen angle correspond to 18.44 °, 45 ° and 71.57°;
The coding Screening Image being made of site as shown in Fig. 2,3,4 and 5 and the common screening of 3 width are obtained after screening processing Image, the common Screening Image of 3 width are respectively the channels M Screening Image, the channels Y Screening Image and K channel Screening Image;
In photoshop, blank image, resolution ratio 1440dpi, image size and common Screening Image are created Image size it is identical, the image size of common Screening Image can be directly read in photoshop, set blank image to The common Screening Image of 3 width is copied into corresponding Color Channel by C, tetra- Color Channel patterns of M, Y, K, spare;
Step 3: hiding information encodes
(1), site is moved
Hiding information is superimposed upon in the figure layer of coding Screening Image, acquires the profile of hiding information, in coding screening figure Coding corresponding with profile constituency is obtained in the figure layer of picture, the total dot in note coding Screening Image is m*n, note coding Site in Screening Image is (i, j), i=1,2 ... m, j=1,2 ... the collection of n, the note coding all sites in constituency are combined into G= { (i, j), i≤m;J≤n }, the collection that note encodes in constituency in the site of boundary bottom is combined into J={ (i, j), (i, j) ∈ G }, remembers It is combined into E={ (i, j), (i, j) ∈ G } in coding constituency with the collection of the site of both sides at the top of boundary, note encodes boundary in constituency The collection of interior site is combined into D={ (i, j), (i, j) ∈ G }, J+E+D=G;
The dot percentage for encoding site in constituency is that the site of set E and set D is carried out displacement no more than 50%, Direction of displacement is that vertically upward, shift length is the 1/2 of two neighboring site distance;The site of set J is subjected to displacement, displacement Direction is that vertically upward, shift length is the 1/4 of two neighboring site distance;The displacement operation of site directly exists in the present embodiment It is carried out using mobile tool after choosing site in photoshop;
(2), dot percentage adjusts
The dot percentage of each site in note coding Screening Image is f(i, j), in all sites in coding constituency, Dot percentage positioned at the site of boundary bottom is fJ (i, j), boundary top and the dot percentage of the site of both sides are fE (i, j), the dot percentage of the site in boundary is fD (i, j)
After the movement of site, adjustment is positioned at the dot percentage of the site on boundary, any site (i, j) in set E, thereon The percentage of 4 adjacent sites of lower left and right directions is f(i-1, j)、f(i+1, j)、f(i, j-1)、f(i, j+1), by the hundred of site (i, j) Ratio is divided to be adjusted to f 'E (i, j),
Any site (i, j) in set J, it is f to descend the percentage of 4 adjacent sites of left and right directions thereon(i-1, j)、 f(i+1, j)、f(i, j-1)、f(i, j+1), the percentage of site (i, j) is adjusted to f '(i, j),P value is 4~8, preferably 6 in the present embodiment;
The change operation of dot percentage carries out directly in photoshop in the present embodiment, it would be desirable to the site of change Then removal has the site of corresponding percentage in original position merging;
(3), after the completion of site movement and dot percentage adjust, the coding Screening Image with hiding information is obtained, it can To find out, the present embodiment improves the site for encoding constituency, due to human eye low-frequency filter characteristics, it is virtually impossible to observe Hiding information " day ".
Step 4: image synthesizes
Referring to Fig. 6, the coding Screening Image with hiding information that step 3 obtains is copied into step 2 blank image In remaining Color Channel, in Fig. 6 after four Color Channels merging, " day " can not with the naked eye observe, preferable to realize Information hiding obtains the original copy Screening Image that is embedded with hiding information, completes coding;
Step 5: decoding
Using the linear grating of digital file format as digital solution chip, linear grating is by color lump on the spot and transparent color lump It is alternatively arranged composition, color lump and transparent color lump are the identical rectangular configuration of length on the spot, calculate color lump and transparent color lump on the spot Width, obtain digital solution chip, by digital solution chip be covered in it is described be embedded in the original copy Screening Image of hiding information, revolve Turn and mobile digital solution chip is until observe hiding information " day ", completion decodes.
Referring to Fig. 7, furtherly, in the step 6, document color lump width be T1, the width of transparent color lump is T2, Note screen frequency is L, T1、T2Meet with the relationship of L:T1+T2=25.4/L, on the spot color lump width T1Computational methods be specially:
(1), the image region of a rectangle, image region is selected to be selected by encoding constituency and comparison in coding Screening Image District's groups are at coding constituency is located at the middle of image region and accounts for the 50~90% of image region;
(2), the dot percentage f of each site in comparison constituency is measured(i, j), the site with maximum value is obtained, on the spot The width T of color lump1Equal to the height of the site, which, using amplifier, figure layer can be amplified in photoshop It is calculated after maximum ratio, determines T1Width after, you can to use foregoing relationships to obtain T2Width.
In the present embodiment, the preparation method for encoding constituency is:Coding Screening Image is opened in photoshop, is compiled Then the figure layer of code Screening Image creates figure layer and is placed into hiding information, obtains hiding information figure layer, choose the wheel of hiding information Then exterior feature deletes hiding information figure layer, obtains profile constituency, profile constituency is adjusted so that the site in constituency is Complete site, the profile constituency obtained after adjustment are to encode constituency.
In the present embodiment, the distance between two neighboring site is fixed value d, d=25.4/L.
In the present embodiment, step 4 further includes that will be embedded with the original copy Screening Image the output for printing of hiding information, passes through meter The control exposure output of calculation machine is made film and shines seal carving version again at printing plate, or correspondence, obtains the original copy for being embedded with hiding information It is in kind;Step 5 further includes that digital solution chip is prepared into corresponding grating in kind, and grating in kind is covered on original copy material object, is revolved Turn and moving object grating is until observe hiding information, completion decodes.
In the present embodiment, step 5 further includes that will be embedded with the original copy Screening Image the output for printing of hiding information, passes through meter The control exposure output of calculation machine is made film and shines seal carving version again at printing plate, or correspondence, obtains the original copy for being embedded with hiding information It is in kind;Step 6 further includes that digital solution chip is prepared into corresponding grating in kind, and grating in kind is covered on original copy material object, is revolved Turn and moving object grating is until observe hiding information, completion decodes.
By in the present embodiment coding Screening Image and the common Screening Image of 3 width merge, obtain being not embedded into hiding information Original copy Screening Image is evaluated not embedding in embodiment 1 respectively using SSIM (structural similarity) algorithms and WSNR (weighted signal-to-noise ratio) Enter the original copy Screening Image of hiding information and be embedded with the similarity of the original copy Screening Image of hiding information between the two, between It connects to obtain the concealed evaluation result of hiding information, as shown in table 1 below:
1 similarity evaluation result of table
Wherein, the value of SSIM is bigger closer to the value of 1 or WSNR, and the similarity for representing two images is bigger, by upper Table 1 is stated it is found that the original copy Screening Image for being embedded with hiding information that the present embodiment obtains, adds with the original copy for being not embedded into hiding information Net image similarity is larger, and the concealment of hiding information is good, is not easy to be detected by human eye.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, although with reference to aforementioned reality Applying example, invention is explained in detail, for those skilled in the art, still can be to aforementioned each implementation Technical solution recorded in example is modified or equivalent replacement of some of the technical features.All essences in the present invention With within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention god.

Claims (10)

1. a kind of image concealing information coding anti-fake based on grating and decoded method, which is characterized in that include the following steps:
Step 1: preparing original copy and hiding information
It selects continuous toned image as original copy, selects word and/or figure as hiding information, continuous toned image and hiding information It is digital file format;
Original copy is opened in image processing software, is set original copy to tetra- Color Channel patterns of C, M, Y, K, is selected wherein 1 Color Channel is as coding pass, remaining 3 channel is as Common passageway;
Step 2: digital screening is handled
Using am screening technology, screening parameter is set, the coding Screening Image being made of site and 3 width are obtained after screening processing Common Screening Image;Newly-built blank image, image size is identical with the image size of common Screening Image, and blank image is set Tetra- Color Channel patterns of C, M, Y, K are set to, the common Screening Image of 3 width is copied into corresponding Color Channel, it is spare;
Step 3: hiding information encodes
(1), site is moved
Hiding information is superimposed upon in the figure layer of coding Screening Image, acquires the profile of hiding information, in coding Screening Image Coding corresponding with profile constituency is obtained in figure layer, the total dot in note coding Screening Image is m*n, note coding screening Site in image is (i, j), i=1,2 ... m, j=1,2 ... n, the collection of the note coding all sites in constituency be combined into G=(i, J), i≤m;J≤n }, note encodes the collection in constituency in the site of boundary bottom and is combined into J={ (i, j), (i, j) ∈ G }, note coding It is combined into E={ (i, j), (i, j) ∈ G } in constituency with the collection of the site of both sides at the top of boundary, note encodes in constituency in boundary The collection of site is combined into D={ (i, j), (i, j) ∈ G }, J+E+D=G, and the site of set E, set D and set J are carried out displacement;
(2), dot percentage adjusts
The dot percentage of each site in note coding Screening Image is f(i, j), in all sites in coding constituency, it is located at The dot percentage of the site of boundary bottom is fJ (i, j), the dot percentage of the site of at the top of boundary and both sides is fE (i, j), side The dot percentage of site in boundary is fD (i, j)
After the movement of site, adjustment is positioned at the dot percentage of the site on boundary, any site (i, j) in set E, thereon bottom left The percentage of 4 adjacent sites of right direction is f(i-1, j)、f(i+1, j)、f(i, j-1)、f(i, j+1), by the percentage of site (i, j) It is adjusted to f 'E (i, j),
Any site (i, j) in set J, it is f to descend the percentage of 4 adjacent sites of left and right directions thereon(i-1, j)、 f(i+1, j)、f(i, j-1)、f(i, j+1), the percentage of site (i, j) is adjusted to f '(i, j),P value is 4~8;
(3), after the completion of site movement and dot percentage adjust, the coding Screening Image with hiding information is obtained;
Step 4: image synthesizes
The coding Screening Image with hiding information that step 3 obtains is copied into the remaining color of step 2 blank image to lead to In road, the original copy Screening Image for being embedded with hiding information is obtained, completes coding;
Step 5: decoding
Using the linear grating of digital file format as digital solution chip, linear grating is by color lump on the spot and Transparent color block gap It rearranges, color lump and transparent color lump are the identical rectangular configuration of length on the spot, calculate the width of color lump and transparent color lump on the spot Degree, obtains digital solution chip, by digital solution chip be covered in it is described be embedded in the original copy Screening Image of hiding information, rotation and Until observing hiding information, completion decodes mobile digital solution chip.
2. the image concealing information coding and decoded method, feature anti-fake based on grating according to claim 1 exist In:In the step 3, it is by the method that the site of set E, set D and set J carry out displacement:The displacement of set E and set D Direction is that vertically upward, shift length is the 1/2 of two neighboring site distance;The site direction of displacement of set J be vertically upward, Shift length is the 1/4 of two neighboring site distance.
3. the image concealing information coding and decoded method, feature anti-fake based on grating according to claim 1 exist In:In the step 2, screening parameter includes 4 screen angles, and respectively 0 °, 18.44 °, 45 ° and 71.57 ° are logical to encoding Road and 3 Common passageways carry out digital screening processing respectively, and the screen angle of coding pass is 0 °, the screening of 3 Common passageways Angle is the arbitrary combination of 18.44 °, 45 ° and 71.57 ° threes.
4. the image concealing information coding and decoded method, feature anti-fake based on grating according to claim 3 exist In:In the step 2, digital screening processing and newly-built blank image are all made of photoshop softwares, are beaten in photoshop Kaiyuan original text sets original copy to tetra- Color Channel patterns of C, M, Y, K, and setting C-channel is made as coding pass, M, Y, K channel For Common passageway, Color Channel is first converted into bitmap, output resolution ratio is arranged in when conversion, then adjusts screen to each using half Color Channel carries out screening processing respectively, and screening parameter further includes dot shape and screen frequency, dot shape be it is round or Rectangular, screen frequency is 50~200lpi, and the resolution ratio of the blank image is identical with the output resolution ratio, the output point Resolution is the integral multiple of screen frequency.
5. the image concealing information coding and decoded method, feature anti-fake based on grating according to claim 3 exist In:In the step 2, digital screening processing and newly-built blank image are all made of photoshop softwares, are beaten in photoshop Kaiyuan original text sets original copy to tetra- Color Channel patterns of C, M, Y, K, and setting C-channel is made as coding pass, M, Y, K channel For Common passageway, four Color Channels are first respectively converted into bitmap, output resolution ratio is set when converting into 1440dpi, then Screen is adjusted to carry out screening processing respectively to each Color Channel using half, screening parameter further includes dot shape and screen frequency, Dot shape is round, screen frequency 96lpi, and the resolution ratio of the blank image is identical with the output resolution ratio.
6. the image concealing information coding and decoded method, feature anti-fake based on grating according to claim 4 exist In:In the step 5, document color lump width be T1, the width of transparent color lump is T2, note screen frequency is L, T1+T2= 25.4/L。
7. the image concealing information coding and decoded method, feature anti-fake based on grating according to claim 6 exist In:In the step 5, the computational methods of color lump width are on the spot:
The image region of a rectangle, image region is selected to be formed by encoding constituency and comparison constituency in coding Screening Image, Coding constituency is located at the middle of image region and accounts for the 50~90% of image region;
Measure the dot percentage f of each site in comparison constituency(i, j), the site with maximum value is obtained, on the spot the width of color lump Spend T1Equal to the height of the site.
8. the image concealing information coding and decoded method, feature anti-fake based on grating according to claim 6 exist In:
The step 4 further includes that will be embedded with the original copy Screening Image the output for printing of hiding information, is controlled and is exposed by computer Printing plate is exported into, or correspondence is made film and shines seal carving version again, the original copy for obtaining being embedded with hiding information is in kind;
The step 5 further includes that digital solution chip is prepared into corresponding grating in kind, and grating in kind is covered in original copy material object On, until observing hiding information, completion decodes for rotation and moving object grating.
9. the image concealing information coding and decoded method, feature anti-fake based on grating according to claim 1 exist In:In the step 3, the dot percentage for encoding site in constituency is no more than 50%.
10. the image concealing information coding and decoded method, feature anti-fake based on grating according to claim 1 exist In:In the step 3, the preparation method for encoding constituency is:Coding Screening Image is opened in photoshop, is obtained coding and is added Then the figure layer of net image creates figure layer and is placed into hiding information, obtains hiding information figure layer, choose the profile of hiding information, Then hiding information figure layer is deleted, profile constituency is obtained, profile constituency is adjusted so that the site in constituency is complete Site, the profile constituency obtained after adjustment be encode constituency.
CN201810345908.4A 2018-04-18 2018-04-18 A kind of image concealing information coding anti-fake based on grating and decoded method Withdrawn CN108537854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810345908.4A CN108537854A (en) 2018-04-18 2018-04-18 A kind of image concealing information coding anti-fake based on grating and decoded method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810345908.4A CN108537854A (en) 2018-04-18 2018-04-18 A kind of image concealing information coding anti-fake based on grating and decoded method

Publications (1)

Publication Number Publication Date
CN108537854A true CN108537854A (en) 2018-09-14

Family

ID=63481348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810345908.4A Withdrawn CN108537854A (en) 2018-04-18 2018-04-18 A kind of image concealing information coding anti-fake based on grating and decoded method

Country Status (1)

Country Link
CN (1) CN108537854A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108983433A (en) * 2018-09-25 2018-12-11 上海宏盾防伪材料有限公司 A kind of diffraction optics safety device with alternating binary coding hiding information

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060140974A1 (en) * 2001-02-27 2006-06-29 Choe Yun S Method for selectively inhibiting reuptake of serotonin and norepinephrine using yeast extract
CN103996166A (en) * 2014-06-05 2014-08-20 上海理工大学 Holographic anti-counterfeiting algorithm based on shape of screen dot

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060140974A1 (en) * 2001-02-27 2006-06-29 Choe Yun S Method for selectively inhibiting reuptake of serotonin and norepinephrine using yeast extract
CN103996166A (en) * 2014-06-05 2014-08-20 上海理工大学 Holographic anti-counterfeiting algorithm based on shape of screen dot

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王天马: "基于相位调制法的光栅防伪技术的研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108983433A (en) * 2018-09-25 2018-12-11 上海宏盾防伪材料有限公司 A kind of diffraction optics safety device with alternating binary coding hiding information

Similar Documents

Publication Publication Date Title
CN108537854A (en) A kind of image concealing information coding anti-fake based on grating and decoded method
CN109118418A (en) A kind of anti-counterfeiting mark embedding grammar based on dual-encryption channel
CN108765507A (en) The hidden method of anti-counterfeiting information of the one kind based on 20 ~ 50% dot percentages
CN108521536A (en) A kind of concealed moir patterns method for anti-counterfeit of raising anti-counterfeiting information
CN108537054A (en) A kind of method of continuous toned image bright area hiding information coding and decoding
CN108528086A (en) The coding method of continuous toned image bright area hiding information
CN108257074A (en) A kind of image false-proof Information hiding based on moir patterns effect and knowledge method for distinguishing
CN108551539A (en) A kind of encryption method of highly concealed type image false-proof information
CN108830774A (en) Site based on 20 ~ 50% dot percentages is displaced grating method for anti-counterfeit
CN108621622A (en) A method of adjust region to realize that moir patterns are anti-fake between in the picture
CN108510427A (en) A kind of encryption and decryption approaches of image middle tone region Antiforge information
CN108765254A (en) A kind of linear grating matching process anti-fake based on grating
CN109130563A (en) A kind of setting and extracting method of double layer encryption anti-counterfeiting mark
CN108898544A (en) One kind being based on twin-channel grating method for anti-counterfeit
CN108550100A (en) A kind of grating Antiforge information ciphering method based on boundary node movement tendency
CN108564522A (en) A kind of image moir patterns method for anti-counterfeit with highly concealed type and extractability
CN108749392A (en) A kind of anti-counterfeiting information coding and decoding methods based on grading of dots shake
CN109087232A (en) A method of the embedded key in anti-counterfeiting image
CN109166072A (en) A kind of key embedding grammar improving original image anti-counterfeiting performance
CN108881661A (en) A kind of hidden method of improved moir patterns grating anti-counterfeiting information
CN108777752A (en) A kind of decoding linear grating matching process improving anti-counterfeiting information identity
CN108995433A (en) A kind of anti-counterfeiting information based on phase modulation hides and recognition methods
CN108717682A (en) A kind of hiding and extracting method for the anti-counterfeiting information that mother matrix screen angle is 0 degree
CN109040512A (en) A kind of grating anti-counterfeiting information based on color value hides and extracting method
CN108777753A (en) A kind of grating method for anti-counterfeit for hiding anti-counterfeiting information in Color Channel

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180914