April 2020
Intermediate to advanced
438 pages
12h 2m
English
The open() and save() methods from the PIL Image object were used to load and save and image, respectively. The lsb.hide() function was used for LSB data-hiding, which takes the cover image and the stego text as input parameters and returns the stego image. The lsb.reveal() function was used to get the stego text back from a stego image. parity.steganalyse() was used to obtain a parity-encoded image from an image (stego and cover).
The difference() function from PIL ImageChop was used to compute the difference image between two input images (for example, stego and cover). statistics.steganalyse() returns the pixel values with frequencies (histogram) where the cover and stego images differ in frequency.
Read now
Unlock full access