LSB embeded using image steganography
Show older comments
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
on 6 Jan 2022
yes,sir,what value should n set?such as 7、6、……
Answers (0)
Categories
Find more on Display and Exploration 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!