Watermark Embedding
- Divide the original image I into blocks of size 8X8 and perform three-level DWT transform on each block. Select the position of watermark embedding coefficient using random sequence with a secret key and quantize the DWT coefficient C(I,j) by Q and use that value as the input T of BPN.
- Create the improved neural network and initialize its parameters, we use T as the supervised signal and the average of each block is used as the desired output value of the BPN to train BPN. Training error is set to be 0.001.
- Perform the inverse discrete wavelet transform (IDWT) on the coefficients where the watermark is embedded to obtain the watermarked image.
- Perform the three-level DWT transformation on the watermarked image blocks.
- Select the position of coefficient C(i, j), where watermark is embedded with the same secret key , which is used in watermark embedding sequence.
- Quantize the DWT coefficient by Q, and use it as input value of the trained BPN to get the output T.
- Extract the watermark according to (6) below using the output T and coefficient C(i ,j)
No comments:
Post a Comment