LSB embeded using image steganography

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

yanqi liu
yanqi liu 2022년 1월 6일
yes,sir,what value should n set?such as 7、6、……

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

질문:

2022년 1월 5일

댓글:

2022년 1월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by