The goal of the project is to conceal audio in image while also trying to maintain the noise in the image to a minimum.
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
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
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
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
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