IMAGE STEGANOGRAPHY LSB ENCODING PROBLEM ..How to do next step.
Show older comments
a=imread('insect.gif');
[m n]=size(a); for i=1:m, for j=1:n, b8(i,j)=bitand(a(i,j),128); b7(i,j)=bitand(a(i,j),64); b6(i,j)=bitand(a(i,j),32); b5(i,j)=bitand(a(i,j),16); b4(i,j)=bitand(a(i,j),8); b3(i,j)=bitand(a(i,j),4); b2(i,j)=bitand(a(i,j),2); b1(i,j)=bitand(a(i,j),1); end end
1 Comment
Massimo Zanetti
on 3 Oct 2016
Wow, nice code.
Answers (0)
Categories
Find more on Read, Write, and Modify Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!