-
Notifications
You must be signed in to change notification settings - Fork 0
Encoding
Ryan Kane edited this page May 3, 2015
·
2 revisions
- Partition the image into 8x8 pixel blocks
- For each of the 8x8 blocks Xr:
- Discard the LSBs.
- 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.
- The watermark Br is XORed with the hashed pattern Pr to produce Wr.
- The result Wr is encrypted using private-key K‘ to produce ciphertext Cr.
- Replace the LSBs of Xr with the ciphertext Cr.
- Recombine all the blocks Xr to produce the watermarked 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.
