Please Help Me. Can I Get a Matlab Code for Image Steganography Using Channel Differences
1 view (last 30 days)
Show older comments
Hello everyone.. I have final project about steganography with algoritm Vibrant Color. Technique of this algoritm are :
- Use one of the three channels as the indicator. The indicator sequence can be made random, based, on a shared key between sender and receiver.
- Data stored in one of the two channels other than the indicator. The channel whose color value is lowest among the two channels other than that of the indicator, will store the data in its least significant bits.
- Instead of storing a fixed number of data-bits per channel, variable numbers of bit are to be stored depending on the color value of the channel. The lower the value, the higher the data-bits to be stored.
- To retrieve data, need to know which channel stores the data-bits. This is done by looking at the least significant bits of the two channels other then the indicator : # if the bits are same, then the channel following the indicator in cyclic order stores the data. Otherwise, the chaannel which precedes the indicator in cyclic order stores the data.
- Therefor, we needed modified last bit of channel other indicator channel and channel with data. Do this process if needed.
Help please..
4 Comments
Answers (1)
Image Analyst
on 20 Jan 2014
To get a random number between 1 and 3, use randi:
key = int32(randi(3, 1))
then do the mod thing, like you already have, except I made key an integer so you don't need to call uint8().
ind = mod(key,3);
If that what you mean?
See Also
Categories
Find more on Encryption / Cryptography in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!