91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2KB
    文件類型: .m
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2021-05-05
  • 語(yǔ)言: Matlab
  • 標(biāo)簽: 信息隱寫??

資源簡(jiǎn)介

信息影藏的三點(diǎn)法隱寫代碼,來(lái)自武漢大學(xué)實(shí)驗(yàn)室的實(shí)驗(yàn)書。

資源截圖

代碼片段和文件信息

function?hide(orifilemsg1outfilelposrinterab)
%參數(shù)說(shuō)明:
%?orifile:原始載體音頻信號(hào)
%?msg1:待隱藏的信息
%?outfile:隱藏后的音頻
%?l:音頻信號(hào)做DCT變換后的分段長(zhǎng)度
%?pos:在每段中嵌入的起始位置
%?r:?每段選出的系數(shù)
%?inter:每段中,相鄰兩個(gè)嵌入點(diǎn)的間隔
%?a:量化步長(zhǎng)
%?b:最鄰近的量化區(qū)間的距離
%?msg1:待隱藏的信息
%?outfile:隱藏后的音頻
fi?=?fopen(msg1‘r‘);
????[msgN]?=?fread(fi‘ubit1‘);
????fclose(fi);??
????[sampledataFSnbits]=wavread(orifile);
????sdmax?=?max(max(max(sampledata))max(abs(min(sampledata))));
????x?=?sampledata/sdmax;
????p=x;
????x1?=?x(:1);
????[Ln]?=?size(x1);
????bn?=?floor(L/l);
????if?N>bn
????????error(‘Message?is?too?long‘);
????end
??????audct?=?zeros(L1);
????for?i=1:bn
????????audct((i-1)*l+1:i*l)?=?dct(x1((i-1)*l+1:i*l));
????end
???????audctmax?=?max(max(max(audct))max(abs(min(audct))));
????audct?=?audct/audctmax;
????for?i=1:N????????
????????tmp?=?audct((i-1)*l+1:i*l);
????????for?j=1:r????????????
????????????t?=?tmp(pos+(j-1)*inter);
????????????si?=?floor(t/a);
????????????mid?=?(

評(píng)論

共有 條評(píng)論

相關(guān)資源