Background technology
People's weak awareness of intellectual property rights along with being becoming increasingly rampant of pirate phenomenon, effectively protects the copyright of copyright to become instant realistic problem at present.Digital watermark technology itself has characteristics safe, that invisibility good, cost is low, flexible and changeable, has been widely used on the copyright protection of text, image, audio frequency, video and three-dimensional model.At present digital watermark can roughly be divided into two types of spatial domain and transform domains, and the transform domain digital watermark is current main flow, mainly comprises DWT, DCT, DFT technology etc.Than the spatial domain digital watermark, the transform domain watermark has stronger robustness.
The light holographic technique not only can write down the intensity signal of object, and can write down the phase information of object.DCT and SVD technology help to strengthen the robustness of watermark.Existing traditional holographic watermark algorithm is after meeting with rotation and filtering attack, and watermark information that extracts and original watermark information similarity are not high.
Summary of the invention
The present invention be directed to watermark information and the not high problem of original watermark information similarity that existing traditional holographic watermark algorithm extracts; Propose a kind of strong robustness transform domain and encrypted the holographic watermark algorithm; Utilize Arnold scrambling encryption, discrete cosine transform, svd and Fourier's holographic technique, to colored carriers image embed watermark information.This watermarking algorithm satisfies that to contain the once print scanned reconstruction watermark of watermarking images healthy and strong, rebuilds the fragile requirement of watermark after satisfying the secondary attacks of print_scan simultaneously.
Technical scheme of the present invention is: a kind of strong robustness transform domain is encrypted the holographic watermark algorithm, it is characterized in that, specifically comprises the steps:
1), read colored RGB carrier image, read watermarking images, watermarking images is a bianry image;
2), the colored carriers image is carried out pre-service, separate into the red R passage, green G passage and blue B passage according to the visual characteristic of human eye, are chosen blue B passage as the water mark inlaying passage;
3), watermarking images is carried out the Arnold scrambling encryption, structure reference light source, generation holographic watermark image;
4) the little piecemeal that, blue B passage is divided into non-overlapping copies; Each fritter is carried out the bidimensional dct transform, obtain matrix
;
5), to each matrix
Carry out svd, obtain three matrix U that size is impartial
i, S
i, V
i, choose each singular value matrix S
iFirst element form new matrix B;
6), matrix B and holographic watermark H weighting summation are obtained Matrix C, Matrix C is reverted to each singular value matrix S successively according to the ranks order
iFirst element obtain new singular value matrix S
i', with new singular value matrix S
i' and former U
i, V
iMatrix multiple reverts to each piecemeal, and each piecemeal is carried out inverse dct transform, has just obtained the coloured image behind the embed watermark in merging RGB triple channel.
Beneficial effect of the present invention is: strong robustness transform domain of the present invention is encrypted the holographic watermark algorithm, contains watermarking images and meets the human eye vision requirement, and the watermark invisibility is good, and robustness is high.Carry out various common to containing watermarking images; Still can extract highly similar watermarking images; And the satisfied once print scanned reconstruction watermark stalwartness of watermarking images that contains of this watermarking algorithm; Rebuild the fragile requirement of watermark after satisfying the secondary attacks of print_scan simultaneously, to having realistic meaning at digital copyright protecting and Information hiding field.
Embodiment
Watermarking algorithm process flow diagram as shown in Figure 1: colored RGB carrier image is read in (1), reads watermarking images, and watermarking images is a bianry image; (2) the colored carriers image is carried out pre-service, separate into the red R passage, green G passage and blue B passage according to the visual characteristic of human eye, are chosen blue B passage as the water mark inlaying passage; (3) watermarking images is carried out the Arnold scrambling encryption, make up reference light source, generate holographic watermark image H; (4) blue B passage is divided into
The little piecemeal of non-overlapping copies carries out the bidimensional dct transform to each fritter, obtains matrix
(5) to each matrix
Carry out svd, obtain three matrix U that size is impartial
i, S
i, V
iHere choose each singular value matrix S
iFirst element form new matrix B, the size of B is identical with H; (6) matrix B and holographic watermark H weighting summation are obtained Matrix C, Matrix C is reverted to each singular value matrix S successively according to the ranks order
iFirst element obtain new singular value matrix S
i', with new singular value matrix S
i' and former U
i, V
iMatrix multiple reverts to each piecemeal.Each piecemeal is carried out inverse dct transform, just obtained the coloured image behind the embed watermark in merging RGB triple channel.
The process of watermark extracting is equivalent to the inverse process that watermark embeds.For the coloured image behind the embed watermark, advanced row of channels is separated, and chooses blue B passage equally and extracts watermark.Behind the B passage piecemeal each piecemeal is made dct transform; Carry out svd again; First element extraction of the singular value matrix S of each piecemeal is come out to form new matrix B '; The contrast matrix B ' obtain matrix H 0 with B after doing difference, give after the suitable watermark extracting intensity H0 to be carried out inverse Fourier transform.Do the Arnold inverse transformation at last again and rebuild watermarking images.
Utilized svd robustness and holographic watermark can not tearing to pieces property.Simulation result show this invention to cut, attack such as Gaussian noise, salt-pepper noise, filtering, convergent-divergent has very strong robustness.Satisfy the requirement of watermark validity and invisibility, have certain actual application value in the digital copyright protecting field.