Skip to content

alinenunessouza/dsp-steganography

Repository files navigation

Wavelet Transform Based Image Steganography


Process of hiding an image within another image:

image

  1. Read the files (cover and hidden image).
  2. Convert the files to the RGB format.
  3. Separate the channels (colors) for the cover image and the hidden image.
  4. Apply the wavelet transform to the cover and hidden images.
  5. Perform Singular Value Decomposition (SVD) on the cover and hidden images.
  6. Embed the hidden information into the 'D' parameters of the cover image.
  7. Reconstruct the coefficient matrix from the embedded SVD parameters.
  8. Concatenate the three reconstructed RGB channels into a single matrix.
  9. Extract the horizontal, vertical, and diagonal coefficients from each RGB channel of the image.
  10. Apply inverse transform to each channel of the processed image, generating the stego image.

Steganography reversal process::

image

  1. Apply the decoding transform to each channel of the stego image.
  2. Perform Singular Value Decomposition (SVD) on the stego image.
  3. Reverse the information embedded in the 'D' parameter of the cover image in step 5 through the inverse operation.
  4. Combine the approximations with the hidden SVD values to reconstruct the hidden image.
  5. Obtain the reconstructed hidden image, which consists of the color channels combined with the normalized SVD differences.
  6. Extract the horizontal, vertical, and diagonal coefficients from each RGB channel of the hidden image.
  7. Apply inverse transform to each channel of the image to generate the final hidden information image.

For more details, please refer to our Wiki!


Project Setup

  1. Create a virtual python environment
python3 -m venv env
  1. Activate virtual environment
    • Linux / macOS
    source env/bin/activate
    
    • Windows
    .\env\Scripts\activate
    
  2. Install packages from requirements.txt
pip install -r requirements.txt

Add new packages to requirements.txt

  1. Install the package into the local environment
pip install <PACKAGE>
  1. Update the requirements.txt
pip freeze > requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages