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

stegenography using lsb algorithm

1 Comment

I don't think that you use the same algorithm but one that just reverses the steps in the other. Try working backwards from the other code.

Sign in to comment.

Answers (1)

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

Categories

Find more on Display Image in Help Center and File Exchange

Asked:

on 25 Dec 2014

Answered:

on 27 Dec 2014

Community Treasure Hunt

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

Start Hunting!