We provide codes for 3 steganographic algorithms here: J-uniward, nsF5 and UERD.
Part of our codes are downloaded from:
You need MATLAB to run the scripts.
Note: R2016b and R2017a are recommended as we have tested on these two versions and everything works fine.
-
In MATLAB, set your working directory to this folder
cd '/path/to/this/folder';
-
Run the following command (It may take 1-3 minutes):
run example.m
-
If your code runs correctly, four steganographic images are generated in this folder, and you can hardly tell the difference between them and the cover image test.jpg:
-
Have a look at the example code you just run, it's very easy to understand, now you can play it with yourself!
- If you end up with an error when reading/writing jpeg
- you may need to compile JPEG toolbox by yourself instead of the one we provided, see here for more details.
- Otherwise
- Check your working directory and ensure that you have read/write permission on this folder.
- Try to search the error information with google.
- If you still have the problem, please open an issue in this repository. We'll try our best for help.