摘要
In this work, we implement a robust image watermarking method for grayscale images that uses two transforms, namely, discrete wavelet transform (DWT) and discrete cosine transform (DCT). During the embedding stage, 1-level 2D-DWT is first performed on the host image to yield four sub-matrices, that is to say, LL 1 , HL 1 , LH 1 and HH 1 . Afterwards, two of these sub-matrices, namely, HL 1 and LH 1 are divided into 8 x 8 non-overlapping blocks. Then, 2D-DCT operation is applied to each of the above-mentioned blocks. The watermark bits are embedded using pre-generated pseudo-random sequences PRNo or PRN 1 and a scaling factor δ, inside the middle-band DCT block coefficients only, in accordance with watermark binary bit value, that is, 0 or 1. Next, each altered block of HL 1 and LH 1 sub-bands are used to generate the modified HL 1 and LH 1 sub-bands, using inverse 2D-DCT transform operation. At last, the marked image is produced by means of inverse 2D-DWT. In the retrieval stage, the marked image, which may be attacked, is transformed, in a similar way, as in the embedding process, by 1-level 2D-DWT to produce four sub-matrices, LL 1 , modified LH 1 , modified HL 1 , and HH 1 . Then, forward 2D-DCT is operated on modified HL 1 to retrieve the modified middle-band DCT coefficients of modified HL 1 . The same process is repeated with the modified LH 1 sub-band to extract the modified middle-band DCT coefficients of modified HL 1 . The correlations between PRNo, PRN 1 , and the extracted middle-frequency coefficients of modified HL 1 are computed. The same process is repeated for modified LH 1 sub-band. Finally, the watermark is extracted using correlation values. To add more security to the watermarking mechanism, Arnold transform (AT) is applied to encrypt the watermark image prior to embedding.