CN111681152A - Anti-printing scanning digital watermark method for printed picture - Google Patents
Anti-printing scanning digital watermark method for printed picture Download PDFInfo
- Publication number
- CN111681152A CN111681152A CN202010416771.4A CN202010416771A CN111681152A CN 111681152 A CN111681152 A CN 111681152A CN 202010416771 A CN202010416771 A CN 202010416771A CN 111681152 A CN111681152 A CN 111681152A
- Authority
- CN
- China
- Prior art keywords
- image
- watermark information
- watermark
- embedding
- coefficient
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/0021—Image watermarking
- G06T1/005—Robust watermarking, e.g. average attack or collusion attack resistant
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Editing Of Facsimile Originals (AREA)
- Image Processing (AREA)
Abstract
The invention relates to the digital image information hiding and copyright protection field, and provides a printing and scanning resistant digital watermark method for a printed picture, which comprises watermark information embedding and watermark information extraction and is characterized in that the watermark information embedding is to firstly encrypt the watermark information through Arnold transformation, and then embed the watermark information into the frequency domain of the image by analyzing the DWT coefficient of the image before and after printing and scanning; the watermark information extraction is that firstly, the watermark information hidden in the frequency domain of the image is extracted by analyzing the DWT coefficient of the image before and after printing and scanning, and then the original watermark image is generated by Arnold inverse transformation processing. The watermark information security of the invention is high, the visual effect is good, and the robustness is good.
Description
Technical Field
The invention relates to the field of digital image information hiding and copyright protection, in particular to a printing scanning resistant digital watermark method for a printed picture.
Background
Images are visible everywhere in life, and the copyright protection of the images is very important, so that the image-oriented digital watermarking technology has attracted wide attention from birth, and a large number of excellent algorithms are developed to solve the problem of adding digital watermarks into the images. Especially the widespread use and flow of printed images, makes print resistant scanned image watermarks increasingly desirable.
At present, digital watermarking methods for images are mainly divided into two schemes based on a spatial domain and a frequency domain. The idea behind spatial domain based schemes is to perform watermark embedding by directly spatially changing certain features of the picture, such as pixel, grayscale, etc. The scheme has simple realization principle and small operation amount, but has poor robustness, and common attacks can destroy watermark information. The main idea of the scheme based on the frequency domain is to embed watermark information by using a transform domain coefficient of host data to ensure the robustness and good visual effect of the information after watermark embedding. Compared to the spatial domain based scheme, the frequency domain based scheme has the following characteristics:
a. the digital watermark embedded by the frequency domain scheme has stronger robustness and stronger attack resistance.
b. The digital watermark embedded by the frequency domain scheme has better concealment and good visual effect, and the watermark embedded in the frequency domain can be randomly distributed to the unimportant positions of the space domain, so that the visual effect is better.
c. The frequency domain scheme requires a trade-off between robustness and visual impact. The better the robustness is to be ensured, the greater the embedding strength of the watermark needs to be, so that the influence on the visual effect is greater; and vice versa.
d. The frequency domain scheme may be compatible with some image compression algorithms.
Some existing schemes are still insufficient in watermark robustness and visual effect, and the effect of watermark information on resisting printing and scanning is not obvious, so that printing and scanning attacks cannot be resisted.
Disclosure of Invention
In order to solve the technical problems in the prior art, the invention provides a printing scanning resistant digital watermark method for a printed picture, and the specific technical scheme is as follows.
A print scanning resistant digital watermarking method for a printed picture comprises watermark information embedding and watermark information extraction, wherein the watermark information embedding is to encrypt the watermark information through Arnold transformation, and then embed the watermark information into the frequency domain of the image by analyzing the DWT coefficient of the image before and after printing and scanning; the watermark information extraction is that firstly, the watermark information hidden in the frequency domain of the image is extracted by analyzing the DWT coefficient of the image before and after printing and scanning, and then the original watermark image is generated by Arnold inverse transformation processing.
Further, the watermark information embedding specifically includes the following steps:
firstly, performing Arnold scrambling processing on a watermark image to generate a scrambled watermark image W, and then respectively extracting a black pixel point position set W in WBAnd a white pixel point position set WWThen, binarizing W, and recording a white pixel point as 1 and a black pixel point as 0 to obtain watermark information consisting of 0 and 1;
partitioning the host carrier image according to the size of the watermark image, and cutting the host carrier image into a plurality of m multiplied by m partitioned images, wherein m is more than 4 times of the size of the watermark image;
performing two-level discrete wavelet decomposition on each block image, obtaining an HH2 subband wavelet coefficient of the image subjected to the two-level discrete wavelet decomposition, storing the wavelet coefficient as a set X, and initializing X' ═ X;
and step four, performing watermark embedding on the image subjected to the two-stage discrete wavelet decomposition according to watermark information, wherein the watermark embedding formula is as follows:wherein k represents watermark embedding strength, and (i, j) represents the position of the wavelet coefficient of the watermark information embedded in the image after the two-level discrete wavelet decomposition, when the watermark information is embedded in the position (i, j), the wavelet coefficient of the position (i, j) is k, otherwise, the wavelet coefficient is-k, and the image after the watermark information is embedded in the HH2 domain of the image after the two-level discrete wavelet decomposition is obtained;
and step five, after the watermark information is embedded, replacing X with the wavelet coefficient X' embedded with the watermark information, restoring the block images by utilizing wavelet inverse transformation, and finally combining the block images to obtain the gray level image embedded with the watermark information.
Further, the watermark information extraction specifically includes the following steps:
firstly, partitioning a host carrier image according to the size of a watermark image, and cutting the host carrier image into a plurality of m multiplied by m partitioned images, wherein m is more than 4 times of the size of the watermark image;
step two, performing two-level discrete wavelet decomposition on each block image to obtain an HH2 subband frequency domain coefficient set X of the image subjected to the two-level discrete wavelet decompositionn,PWherein n represents the nth subgraph;
step three, according to the formulaExtracting hidden watermark information in sub-band frequency-domain coefficients of each sub-graph HH2, where (i, j) represents coordinate position, WnRepresenting watermark information extracted from the nth sub-picture;
step four, carrying out subgraph weight calculation according to the edges, wherein the calculation formula isWherein P isnWeight, N, representing the nth subgraphnThe number of edge points of the nth subgraph is shown, and Sum is the total number of edge points;
step five, combining watermark information according to the weight, wherein the calculation formula is Wp′(i,j)=∑nPn× Wn(i, j) andwherein Wp(i, j) is watermark information generated after merging according to each subgraph weight;
step six, by pair Wp(i, j) performing an Arnold inverse transform process to generate the most primitive watermark image.
Has the advantages that:
the printing scanning-resistant digital watermark method for the printed picture has the advantages of high watermark information safety, good visual effect and good robustness.
Drawings
Fig. 1 is a flow chart of watermark embedding of the present invention;
fig. 2 is a flow chart of watermark extraction according to the present invention;
FIG. 3a is a schematic representation of a Lena image of a host vector according to the present invention;
FIG. 3b is a schematic diagram of an Arnold transformation according to the present invention;
FIG. 3c is a schematic diagram of two Arnold transformations of the present invention;
FIG. 3d is a schematic representation of the three Arnold transformations of the present invention;
FIG. 4a is a schematic diagram of an original carrier image according to the present invention;
FIG. 4b is a schematic diagram of a first level wavelet decomposition in accordance with the present invention;
FIG. 4c is a diagram of a second level wavelet decomposition in accordance with the present invention;
FIG. 4d is a schematic diagram of wavelet decomposition of a carrier image according to the present invention;
FIG. 5a is a watermark image of the present invention;
FIG. 5b is an image after embedding a watermark according to the present invention;
FIG. 5c is an extracted watermark image of the present invention;
FIG. 6a is an image after a print scan of the present invention;
fig. 6b is a watermark information effect image extracted after print scanning according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings and embodiments.
As shown in fig. 1 and 2, the method for print scanning resistant digital watermarking for printed pictures includes watermark information embedding and watermark information extraction.
Specifically, as shown in fig. 3a to 3d, fig. 4a to 4d, fig. 5a to 5c, and fig. 6a to 6b, the watermark information embedding includes the following steps:
firstly, performing Arnold scrambling processing on a watermark image to generate a scrambled watermark image W, and then respectively extracting a black pixel point position set W in WBAnd a white pixel point position set WWThen, the W is binarized and white pixel points are recordedMaking 1, and marking the black pixel point as 0 to obtain watermark information consisting of 0 and 1;
partitioning the host gray level image according to the size of the watermark image, and cutting the host gray level image into a plurality of m multiplied by m partitioned images, wherein m is more than 4 times of the size of the watermark image so as to ensure that watermark information can be embedded into the partitioned images;
performing two-level discrete wavelet decomposition on each block image, obtaining an HH2 subband wavelet coefficient of the image subjected to the two-level discrete wavelet decomposition, storing the wavelet coefficient as a set X, and initializing X' ═ X;
performing watermark embedding on the image subjected to the two-level discrete wavelet decomposition according to the watermark information, wherein an embedding formula is shown as (1), wherein k represents watermark embedding strength, the higher k is, the higher the strength is, the higher the robustness of the watermark information is, but the corresponding visual effect is poorer, so that proper selection is required; wherein (i, j) represents the position of the wavelet coefficient of the watermark information embedded in the image after the two-level discrete wavelet decomposition, if the watermark information is 0 when the watermark information is embedded in the position (i, j), the wavelet coefficient of the position (i, j) is k; otherwise, the value is-k, and an image with watermark information embedded in the HH2 domain of the image after the two-level discrete wavelet decomposition is obtained;
and step five, after the watermark information is embedded, replacing X with the wavelet coefficient X' embedded with the watermark information, restoring the block images by utilizing wavelet inverse transformation, and finally combining the block images to obtain the gray level image embedded with the watermark information.
The watermark information extraction comprises the following steps:
firstly, partitioning a host carrier image according to the size of a watermark image, and cutting the host carrier image into a plurality of m multiplied by m partitioned images, wherein m is more than 4 times of the size of the watermark image;
step two, performing two-level discrete wavelet decomposition on each block image to obtainTo the secondary discrete wavelet decomposed image HH2 subband frequency domain coefficient set Xn,PWherein n represents the nth subgraph;
step three, extracting the hidden watermark information in the sub-band frequency domain coefficient of each sub-graph HH2 according to formula (2), wherein (i, j) represents the coordinate position, WnRepresenting watermark information extracted from the nth sub-picture;
fourthly, subgraph weight calculation is carried out according to the edges, the calculation formula is shown as a formula (3), wherein PnWeight, N, representing the nth subgraphnThe number of edge points of the nth subgraph is shown, and Sum is the total number of edge points;
and step five, merging the watermark information according to the weight, wherein the calculation formula is shown as a formula (4) and a formula (5), wherein Wp(i, j) is watermark information generated after merging according to each subgraph weight;
W′p(i,j)=∑nPn×Wn(i,j) (4)
step six, by pair Wp(i, j) performing an Arnold inverse transform process to generate the most primitive watermark image.
Claims (3)
1. A print scanning resistant digital watermarking method for a printed picture comprises watermark information embedding and watermark information extraction, and is characterized in that the watermark information embedding is to encrypt the watermark information through Arnold transformation, and then embed the watermark information into the frequency domain of the image by analyzing the DWT coefficient of the image before and after printing and scanning; the watermark information extraction is that firstly, the watermark information hidden in the frequency domain of the image is extracted by analyzing the DWT coefficient of the image before and after printing and scanning, and then the original watermark image is generated by Arnold inverse transformation processing.
2. The method of claim 1, wherein the embedding of the watermark information specifically comprises the steps of:
firstly, performing Arnold scrambling processing on a watermark image to generate a scrambled watermark image W, and then respectively extracting a black pixel point position set W in WBAnd a white pixel point position set WWThen, binarizing W, and recording a white pixel point as 1 and a black pixel point as 0 to obtain watermark information consisting of 0 and 1;
partitioning the host carrier image according to the size of the watermark image, and cutting the host carrier image into a plurality of m multiplied by m partitioned images, wherein m is more than 4 times of the size of the watermark image;
performing two-level discrete wavelet decomposition on each block image, obtaining an HH2 subband wavelet coefficient of the image subjected to the two-level discrete wavelet decomposition, storing the wavelet coefficient as a set X, and initializing X' ═ X;
and step four, performing watermark embedding on the image subjected to the two-stage discrete wavelet decomposition according to watermark information, wherein the watermark embedding formula is as follows:wherein k represents watermark embedding strength, and (i, j) represents the position of the wavelet coefficient of the watermark information embedded in the image after the two-level discrete wavelet decomposition, when the watermark information is embedded in the position (i, j), the wavelet coefficient of the position (i, j) is k, otherwise, the wavelet coefficient is-k, and the image after the watermark information is embedded in the HH2 domain of the image after the two-level discrete wavelet decomposition is obtained;
and step five, after the watermark information is embedded, replacing X with the wavelet coefficient X' embedded with the watermark information, restoring the block images by utilizing wavelet inverse transformation, and finally combining the block images to obtain the gray level image embedded with the watermark information.
3. The method for print scanning resistant digital watermarking for printed pictures according to claim 1, wherein the watermark information extraction comprises the steps of:
firstly, partitioning a host carrier image according to the size of a watermark image, and cutting the host carrier image into a plurality of m multiplied by m partitioned images, wherein m is more than 4 times of the size of the watermark image;
step two, performing two-level discrete wavelet decomposition on each block image to obtain an HH2 subband frequency domain coefficient set X of the image subjected to the two-level discrete wavelet decompositionn,PWherein n represents the nth subgraph;
step three, according to the formulaExtracting hidden watermark information in sub-band frequency-domain coefficients of each sub-graph HH2, where (i, j) represents coordinate position, WnRepresenting watermark information extracted from the nth sub-picture;
step four, carrying out subgraph weight calculation according to the edges, wherein the calculation formula isWherein P isnWeight, N, representing the nth subgraphnThe number of edge points of the nth subgraph is shown, and Sum is the total number of edge points;
step five, merging the watermark information according to the weight, wherein the calculation formula is W'p(i,j)=∑nPn×Wn(i, j) andwherein Wp(i, j) is watermark information generated after merging according to each subgraph weight;
step six, by pair Wp(i, j) performing an Arnold inverse transform process to generate the most primitive watermark image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010416771.4A CN111681152B (en) | 2020-05-15 | 2020-05-15 | Anti-printing scanning digital watermark method for printed picture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010416771.4A CN111681152B (en) | 2020-05-15 | 2020-05-15 | Anti-printing scanning digital watermark method for printed picture |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111681152A true CN111681152A (en) | 2020-09-18 |
CN111681152B CN111681152B (en) | 2022-08-26 |
Family
ID=72451962
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010416771.4A Active CN111681152B (en) | 2020-05-15 | 2020-05-15 | Anti-printing scanning digital watermark method for printed picture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111681152B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113191931A (en) * | 2020-12-02 | 2021-07-30 | 四川大学 | Robust digital watermark embedding and extracting method based on PCA |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1960428A (en) * | 2006-11-29 | 2007-05-09 | 吉林大学 | Implementation method of anti printing and scanning meaningful digital watermark with large capacity |
US20160198064A1 (en) * | 2014-08-12 | 2016-07-07 | Digimarc Corporation | Spot color substitution for digital watermarking |
CN107615330A (en) * | 2015-03-20 | 2018-01-19 | 数字标记公司 | For robust signaling and synchronous sparse modulation |
CN108460716A (en) * | 2018-01-30 | 2018-08-28 | 大连工业大学 | Spot color printing image digital watermark method and system |
-
2020
- 2020-05-15 CN CN202010416771.4A patent/CN111681152B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1960428A (en) * | 2006-11-29 | 2007-05-09 | 吉林大学 | Implementation method of anti printing and scanning meaningful digital watermark with large capacity |
US20160198064A1 (en) * | 2014-08-12 | 2016-07-07 | Digimarc Corporation | Spot color substitution for digital watermarking |
CN107615330A (en) * | 2015-03-20 | 2018-01-19 | 数字标记公司 | For robust signaling and synchronous sparse modulation |
CN108460716A (en) * | 2018-01-30 | 2018-08-28 | 大连工业大学 | Spot color printing image digital watermark method and system |
Non-Patent Citations (5)
Title |
---|
吴明珠: "一个基于DWT和改进Arnold置乱的数字水印算法", 《内蒙古师范大学学报(自然科学汉文版)》, 30 November 2013 (2013-11-30), pages 687 - 692 * |
季燕: "基于DCT的自适应盲数字水印", 《计算机科学》, no. 07, 15 July 2013 (2013-07-15) * |
牛少彰等: "抗打印扫描数字水印算法的鲁棒性", 《中山大学学报(自然科学版)》, 31 December 2004 (2004-12-31) * |
王晓红等: "基于QR码和Schur分解的双彩色盲水印算法", 《光学技术》, no. 01, 15 January 2018 (2018-01-15) * |
黄晓红等: "基于QR分解和小波变换的彩色图像水印算法", 《河北联合大学学报(自然科学版)》, no. 02, 25 April 2016 (2016-04-25) * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113191931A (en) * | 2020-12-02 | 2021-07-30 | 四川大学 | Robust digital watermark embedding and extracting method based on PCA |
Also Published As
Publication number | Publication date |
---|---|
CN111681152B (en) | 2022-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Mahto et al. | A survey of color image watermarking: State-of-the-art and research directions | |
Reddy et al. | A new wavelet based logo-watermarking scheme | |
Dixit et al. | A review on digital image watermarking techniques | |
Kundur et al. | Digital watermarking for telltale tamper proofing and authentication | |
Ramanjaneyulu et al. | Wavelet-based oblivious image watermarking scheme using genetic algorithm | |
Hien et al. | Robust multi-logo watermarking by RDWT and ICA | |
CN105512999B (en) | A kind of color image holographic watermark method of double transformation | |
Malonia et al. | Digital image watermarking using discrete wavelet transform and arithmetic progression technique | |
Song et al. | Recent advances and classification of watermarking techniques in digital images | |
Zear et al. | Robust watermarking technique using back propagation neural network: a security protection mechanism for social applications | |
Amiri et al. | Robust watermarking against print and scan attack through efficient modeling algorithm | |
Wen et al. | A new watermarking approach based on probabilistic neural network in wavelet domain | |
Xu et al. | Exploring robust and blind watermarking approach of colour images in DWT-DCT-SVD domain for copyright protection | |
Vasudev | A review on digital image watermarking and its techniques | |
Prajapati et al. | Robust digital watermarking using DWT-DCT-SVD | |
CN111681152B (en) | Anti-printing scanning digital watermark method for printed picture | |
Naik et al. | An IWT based blind and robust image watermarking scheme using secret key matrix | |
Chang et al. | A robust DWT-based copyright verification scheme with Fuzzy ART | |
Dang et al. | A blind document image watermarking approach based on discrete wavelet transform and qr code embedding | |
Benyoussef et al. | Blind invisible watermarking technique in DT-CWT domain using visual cryptography | |
Wang et al. | Review on digital image watermarking based on singular value decomposition | |
Jabbar et al. | Compare between DCT and DWT for digital watermarking in color image | |
CN111861847A (en) | GF-2 image double watermarking method applying DWT and SIFT | |
Chukwuchekwa et al. | Improved DCT based Digital Image Watermarking Technique using Particle Swarm Optimization Algorithm | |
Chouhan et al. | Robust Minutiae Watermarking in Wavelet Domain for Fingerprint Security |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |