Image watermarking using LSB
Ältere Kommentare anzeigen
Below are few line from LSB image watermarking. Please can someone explain why we divide by 32 in the first code line. Why do we choose 224 and 248 for image2hide and coverImage and not same number or other number
im2hide = bitand(floor(im2hide), 224) / 32;
coverimage = bitand(floor(coverimage), 248);
same way why 7 * 32 is done in decryption line
im2hide = bitand(floor(watermarkedIm), 7) * 32;
1 Kommentar
Christoph F.
am 8 Mär. 2018
It looks like the code is doing some bit manipulation on the raw pixel data. What image format is used for im2hide?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Watermarking finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!