/bitplanes

:trident: Extracts bitplanes from all channels of an image, aiding steganalysis

Primary LanguageC++

Bitplanes

Extracts bitplanes from all channels of an image, aiding steganalysis

Basic Idea

Many common (home-made / hobbyist) steganography techniques involve hiding information into the LSB of pixels sequentially etc.

This can easily, visually, be noticed by looking at the bitplanes of the images. This repo does exactly that.

Example

Original Image

orig

Bitplanes Output

out

Personally, I think the top left corner gives it a very retro look indeed.

Usage

The code requires OpenCV 2.x, and CMake installed.

Compile using:

mkdir bin
cd bin
cmake ..
make

Calculate bitplanes using

./bitplanes <image path> <output image path>

License

MIT License