简体   繁体   中英

Image steganography based on DWT integer coefficients

I am trying to code DWT based steganography to hide an image inside another image. I am getting coefficients of subbands as float. How can I make them integers so that I can use lsb embedding?

This is also known as Integer Wavelet Transform. In Matlab this is achieved using lifting schemes . Define a lifting scheme with liftwave and use lwt2 and ilwt2 for the transformations.

lshaar = liftwave('haar','int2int');

[cA cH cV cD] = lwt2(x,lshaar);            % x is your data
ilwt2(cA,cH,cV,cD,lshaar);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM