






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Project Report EE381K-Multidimensional Signal ProcessingDigital Image Watermarking 12/5/
convolutional codes to improve detection. The watermarks are coded, interleaved, and then^ This paper discusses a new method of watermarking digital images by using embedded into the DCT coefficients of an image. Detection is performed by first extracting the DCT coefficients of the watermarked image. Then the sequence is deinterleaved and decoded using the Viterbi Algorithm. This watermarking method is compared to another scheme that does not use coding. The watermarked images are added with noise, compressed, and resized tosimulate attempts to remove the watermark. Convolutional codes in watermarks prove to be robust to additive noise and JPEG compression, but vulnerable to image resizing.
W(n) = {0 or 1, 0<n<492} (1) is a 492-length binary sequence; each element W(n) in the watermark is either 0 or 1. For the experiment, the watermark was generated randomly with an independent, identical distribution. Each element in the watermark could be 0 or 1 with equal probability. The watermark is fed to the input of a convolutional encoder, shown in figure 2. This is a rate ½ convolutional code— each input bit is mapped into two output bits. The output bit depends on the present input and the eight previous inputs. Therefore the convolutional encoder can be viewed as a finite state machine, where each output depends on the input and 2 8 = 256 different states. A simpler, but less intuitive representation of this convolutional code can be defined by the generator sequences: G 1 = [1 1 1 1 0 1 0 1 1] (2) G 2 = [1 0 1 1 1 0 0 0 1] (3) Then, C 1 (n) = [ G 1 (n) ** W(n) ] 2 (4) C 2 (n) = [ G 2 (n) ** W(n) ] 2 (5) The watermark W(n) is convolved modulo-2 with the generator sequences to produce the output sequences. If L is the length of the generator sequence, and P is the length of the watermark sequence, then the lengths of C 1 (n) and C 2 (n) are each L+P-1. With L=9 and P=492, each length of C 1 (n) and C 2 (n) is 500. The coded watermark C(n) is a length 1000 vector taken as: C(n) = [ C 1 (0) C 2 (0) C 1 (1) C 2 (2) … C 1 (499) C 2 (499) ] (6) Before the watermark is embedded into the original image, the coded watermark C(n) is interleaved to prevent possible burst errors—bit errors that occur in consecutive sequences. This interleaved sequence C (^) i (n) is finally mapped from {0,1} to {-1,+1} to form the output C (^) m (n). Therefore, C (^) m (n) is a sequence of 1000 binary numbers taking on the value of –1 or +1.
Cm (n) is embedded into the 1000 highest coefficients of I(u,v) , the DCT of the original image i(m,n). Embedding in the 1000 highest coefficients of the DCT ensures that the watermark is located in the most significant perceptual components of the image [4]. If the watermark is embedded in less significant components, then it may be possible to eliminate the watermark through compression or other attacks. The 1000 highest DCT coefficients are altered in the following manner: Î (u,v) = I(u,v) [1 + 0.2 C (^) m (n) ], 0<n<999, I(u,v) is 1000 highest coefficients Î(u,v) = I(u,v) , I(u,v) is not 1000 highest coefficients (7) Because C (^) m (n) is either -1 or +1 for each n, then the altered DCT coefficient Î is either 0.8I or 1.2I. Coefficients of I(u,v) that are not the highest 1000 remain unchanged. Taking the inverse DCT of Î(u,v) gives the watermarked image î(m,n). The non-coding method is similar to the coding method except that watermark does not go through convolutional coding or interleaving. The watermark length is increased to 1000 to match the DCT coefficients. The watermark sequence is mapped from {0,1} to {-1,1} and the DCT coefficients are altered in the same manner as above. Figure 3 shows the original 512 x 512 Mandrill image. Figure 4 displays the watermarked image with coding, and Figure 5 shows the watermarked image without coding. The Power Signal-to-Noise Ratio is computed as
10 log ( 2 )
2 [ ˆ ]
[ˆ ] (^10) ∑∑
PSNR (^) m nm^ i(m, n n) − i(m,n) i(m,n) (8)
The watermarked image with convolutional coding acquires a PSNR = 29.142 dB, and the watermarked image without coding obtains a PSNR = 29.121 dB. Both watermarked images appear identical to the original image, and the high PSNR values indicate that these methods are statistically close to the original image. Figure 6 details the watermark detection method. The DCT of the suspected or corrupted image s(m,n) is taken, and knowledge of the original signal i(m,n) gives the location of the
watermark remains unchanged. In all cases, the convolutional coding method performed better than the non-coding method. In fact, the coding method was able to reproduce the original watermark exactly. JPEG Compression Ratio (^) ρ(coding) ρ(non-coding) 2:1 1.000 0. 4:1 1.000 0. 8:1Table 2: JPEG Compression, (^) ρ = correlation coefficient1.000 0.
The watermarked images were resized from 512 x 512, to 384 x 384, 256 x 256, and 128 x 128, corresponding to a 75%, 50%, and 25% reduction. Once the image is reduced, significant information is lost. The images were expanded back to 512 x 512 using a bicubic interpolation, which was provided in MATLAB. Results are shown in Table 3. Both schemes were not particularly robust to image reduction, and the convolutional coding method appears to be more vulnerable to this attack then the non-coding method. % Reduction (^) ρ(coding) ρ(non-coding) 75% 0.566 0. 50% 0.137 0. 25%Table 3: Image Resizing, 0.043 ρ (^) = correlation coefficient0.
Because the Viterbi Algorithm searches exhaustively for all input/output combinations, the amount of computations can be extremely high when compared to the non-coding method. The average time for watermark detection using the coding method was approximately two minutes; without coding, the detection time was fifteen seconds. The coding method may become a problem if many images need to be detected quickly. Sub-optimal decoding may be needed to lower the number of computations.
4. APPLICATIONS Many potential applications exist for digital watermarking. Artists and photographers could mark their images to secure ownership rights. Publishing companies who commercially distribute their images could watermark them to prevent unauthorized distribution. Digimarc
Corporation already has a software package that searches the Internet for web pages containing watermarks [11]. Watermarking could also apply to other multimedia data such as audio and video. Compact Discs (CD) and Digital Video Discs (DVD) are extremely susceptible to bootlegging via the Internet. Digital watermarks might take part in diminishing this potential underground market.
5. CONCLUSION Digital watermarks that employ convolutional coding prove to be more robust to additive noise and JPEG compression when compared to the non-coding method. Surprisingly, the coding method appeared more vulnerable to image resizing. Perhaps more sophisticated method of image restoration are needed to improve detection. Even though the coding method improved the watermark detection under compression and additive noise, there is a significant gain in computation due to the complexity of the Viterbi Algorithm. If detection time is an important factor, then sub-optimal methods may be used to reduce computation with a tradeoff of more errors. Nevertheless, under certain conditions, the watermarking methods that use convolutional coding have the potential to outperform their non-coding counterparts.
Figure 6: Watermark Detection
REFERENCES [1] R. Schyndel, A. Tirkel, and C. Osborne, “A Digital Watermark,”pp. 86-90. Proc. IEEE Int. Conf. on Image Processing , Nov. 1994, vol. II, [2] I. Pitas, “A Method for Signature Casting on Digital Images,”pp. 215-218. Proc. IEEE Int. Conf. on Image Processing , Sept. 1996, vol. III, [3] J. O’Ruanaidh, W. Dowling, and F. Boland, “Phase Watermarking of Digital Images,” Processing , Sept. 1996, vol. III, pp. 239-242. Proc. IEEE Int. Conf. on Image [4] I. Cox, J. Killian, F. Leighton, and T. Shamoon, “Secure Spread Spectrum Watermarking for Multimedia Data,” Transactions on Image Processing , vol. 6, no. 12, pp. 1673-1687, Dec. 1997. IEEE [5] S. Craver, N. Memon, B. Yeo, and M. Yeung, “Resolving Rightful Ownerships with Invisible Watermarking Techniques:Limitations, Attacks, and Implications,” IEEE Journal on Selected Areas in Communications , vol. 16, no. 4, pp. 573-586, May 1998. [6] X. Xia, C. Boncelet, and G. Arce, “A Multiresolution Watermark for Digital Images,” Processing , Oct. 1997, vol I, pp. 548-551. Proc. IEEE Int. Conf. on Image [7] F. Bartolini, M. Barni, V. Cappellini, and A. Piva, “Mask Building for Perceptually Hiding Frequency Embedded Watermarks,” Proc. IEEE Int. Conf. on Image Processing , Oct. 1998, vol. I, pp. 450-454. [8] J. Delaigle, C. De Vleeschouwer, and B. Macq, “Psychovisual Approach to Digital Picture Watermarking,” Imaging , vol.7, no. 3, pp. 628-640, July 1998. Journal of Electronic [9] L. Marvel, C. Retter, and C. Boncelet, “Hiding Information in Images,”1998, pp. 396-398. Proc. IEEE Int. Conf. on Image Processing , vol. II, Oct. [10] J.G. Proakis, and MK. Salehi, Communication Systems Engineering , Prentice-Hall, Inc., ISBN 0-13-158932-6, 1994. [11] http://www.digimarc.com
Suspected orCorrupted Image s(m,n) (^) DCT Deinterleave andDecode
DCT
Threshold ρ<τ
Original Image i(m,n)^ Originalwatermark W(n)
W’(n) ρρ Watermark/No Watermark