Coder Social home page Coder Social logo

gpu-parallel-image-steganography's Introduction

GPU Parallel Image Steganography

The goal of the project is to conceal audio in image while also trying to maintain the noise in the image to a minimum.

Serial Implementation

Encrypting / Concealing Audio

g++ Serial/Encrypt.cpp -o encrypt
./encrypt Dataset/test.ppm Dataset/test.mp3

The resultant image named serial_output.ppm will be saved in Dataset/

Where,
Dataset/test.ppm is the image in which audio must be concealed
Dataset/test.mp is the audio file to be concealed

Decrypting / Retrieving Audio

g++ Serial/Decrypt.cpp -o decrypt
./decrypt Dataset/output.ppm 25823

The resultant audio named serial_output.mp3 will be saved in Dataset/

Where,
Dataset/output.ppm is the image in which audio is concealed
25823 is the size of the audio in bytes

Parallel Implementation

Encrypting / Concealing Audio

nvcc Parallel/Encrypt.cu -o encrypt
./encrypt Dataset/test.ppm Dataset/test.mp3

The resultant image named parallel_output.ppm will be saved in Dataset/

Where,
Dataset/test.ppm is the image in which audio must be concealed
Dataset/test.mp is the audio file to be concealed

Decrypting / Retrieving Audio

nvcc Parallel/Decrypt.cu -o decrypt
./decrypt Dataset/output.ppm 25823

The resultant audio named parallel_output.mp3 will be saved in Dataset/

Where,
Dataset/output.ppm is the image in which audio is concealed
25823 is the size of the audio in bytes

Tests

Make the test scripts executable

chmod +x test_sameAudio.sh
chmod +x test_sameImage.sh

Add your datasets (images and audio) to the Dataset folder (within the respective audio and images folders)

Then run the scripts

./test_sameAudio.sh
./test_sameImage.sh

The execution times will be written to times_sameAudio.txt and times_sameImage.txt

gpu-parallel-image-steganography's People

Contributors

sagarb-97 avatar samvid25 avatar

Watchers

James Cloos avatar Adarsh Honawad avatar  avatar  avatar

Forkers

samvid25

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.