Image watermarking using LSB
Show older comments
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 Comment
Christoph F.
on 8 Mar 2018
It looks like the code is doing some bit manipulation on the raw pixel data. What image format is used for im2hide?
Accepted Answer
More Answers (0)
Categories
Find more on Watermarking 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!