i hide a text into an image by using lsb algorithm successfully..now i want to retrive the txt from the stegno image by the same algorithm..how can i retrieve the text

1 次查看(过去 30 天)
stegenography using lsb algorithm

回答(1 个)

Parameswaran Bose
Parameswaran Bose 2014-12-27
Hi, I have done message hiding with image by using java, since I don't have matlab coding knowledge, I will give you the text retrieval from image code in java
int byteCount = 0;
for(int i=0;i<fileBytes.length;i++){
for(int j=0; j<8; j++) {
fileBytes[i] = (byte)((fileBytes[i] << 1) | (colorBytes[byteCount] & 1));
byteCount++;
}
}
rgds Parameswaran Bose

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by