简体   繁体   English

基于DWT整数系数的图像隐写术

[英]Image steganography based on DWT integer coefficients

I am trying to code DWT based steganography to hide an image inside another image. 我正在尝试对基于DWT的隐写术进行编码,以将图像隐藏在另一个图像中。 I am getting coefficients of subbands as float. 我正在将子带系数作为浮点数。 How can I make them integers so that I can use lsb embedding? 如何使它们成为整数,以便可以使用lsb嵌入?

This is also known as Integer Wavelet Transform. 这也称为整数小波变换。 In Matlab this is achieved using lifting schemes . 在Matlab中,这是通过提升方案实现的。 Define a lifting scheme with liftwave and use lwt2 and ilwt2 for the transformations. 定义与提升格式liftwave和使用lwt2ilwt2的转换。

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

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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