LSB embeded using image steganography

4 views (last 30 days)
Abduellah Elbakoush
Abduellah Elbakoush on 5 Jan 2022
Commented: yanqi liu on 6 Jan 2022
Can you help me for understand this code (S)
x = imread(cover); % cover message
y = imread(message); % message image
n = input('Enter the no of LSB bits to be subsituted- ');
S = uint8(bitor(bitand(x,bitcmp(2^n-1,8)),bitshift(y,n-8))); %Stego
E = uint8(bitand(255,bitshift(S,8-n))); %Extracted
  1 Comment
yanqi liu
yanqi liu on 6 Jan 2022
yes,sir,what value should n set?such as 7、6、……

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!