-
Notifications
You must be signed in to change notification settings - Fork 0
Decoding
Ryan Kane edited this page May 3, 2015
·
3 revisions
- Partition the image into 8x8 pixel blocks
- For each of the 8x8 test blocks Zr’ two things will happen:
- Set the LSBs to zero (Hash)
- Combine with the entire image X to produce a bitstream of the pixels.
- Hash the combined bitstream of pixels together using MD5 to produce Pr.
- Extract LSBs this will produce Cr”: (Watermark)
- Decrypt Cr” with the private-key to produce the decrypted hash.
- The hash (a) is XORed with the watermark (b) to produce Wr”.
- Test the difference between the extracted watermark and the original watermark.
- Mark the block if the watermarks do not match.
- Recombine all the blocks Zr’ to reproduce the original image.
- J. Pan et al., "Fragile watermarks" in Intelligent Watermarking Techniques, River Edge, N.J.: World Scientific, 2004, ch. 5, sec. 5.2.2, pp. 18-19.
