Skip to content

Encoding

Ryan Kane edited this page May 3, 2015 · 2 revisions

Steps for Encoding

  1. Partition the image into 8x8 pixel blocks
  2. For each of the 8x8 blocks Xr:
  3. Discard the LSBs.
  4. Combine with the entire image X to produce a bitstream of the pixels.
  5. Hash the combined bitstream of pixels together using MD5 to produce Pr.
  6. The watermark Br is XORed with the hashed pattern Pr to produce Wr.
  7. The result Wr is encrypted using private-key K‘ to produce ciphertext Cr.
  8. Replace the LSBs of Xr with the ciphertext Cr.
  9. Recombine all the blocks Xr to produce the watermarked image.

Encoding

Citations

  1. 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.

Clone this wiki locally