-
dct
M=512 原图像长度
N=64
K=8
I=zeros(M,M)
J=zeros(N,N)
BLOCK=zeros(K,K)
显示原图像
I=imread( f:ceshiyuanshitu.bmp )
figure
imshow(I)
xlabel( 原始图像 )
显示水印图像
J=imread( f:ceshilogistic_nuaa64.bmp )
figure
imshow(J)
xlabel( 水印图像 )
嵌入水印
tem=1
for p=1:N
for q=1:N
x=(p-1)*K+1
y=(q-1)*K+1
BLOCK=I(x:x+K-1,y:y+K-1)
BLOCK=dct2(BLOCK)
if J(p,q)==0
a=-1
else
a=1
end
BLOCK(2,1)=BLOCK(2,1)*(1+a*0.01)
BLOCK=idct2(BLOCK)
I(x:x+K-1,y:y+K-1)=BLOCK
end
end
显示嵌入水印后的图像
figure
imshow(I)
xlabel( 嵌入水印后的图像 )
imwrite(I, f:ceshiembedded.bmp )
- 2010-06-13 18:43:39下载
- 积分:1
-
ejemplo_tabor_send_data
Generate 4QAM sistem
- 2010-06-17 17:50:19下载
- 积分:1
-
k_means
一个简单的k-means分类方法,有详细的解释,能直接运行的。(A simple k-means classification method, and a detailed explanation can be run directly.)
- 2010-11-11 21:23:59下载
- 积分:1
-
利用加权的排列熵算法WPEwpe
利用加权的排列熵算法WPE,通过白噪声加冲激信号的测试(Using the weighted permutation entropy algorithm WPE, through the white noise plus impulse signal test)
- 2021-02-04 10:49:58下载
- 积分:1
-
802.11n
IEEE802.11n系统级仿真完整程序,引入了MIMO
OFDM等技术,实现更高的吞吐率。(IEEE802.11n complete system-level simulation program, the introduction of MIMO
OFDM technology to achieve higher throughput.)
- 2014-02-25 10:31:50下载
- 积分:1
-
Papers-in-WiMAX
Seamless Handover between WiMAX and UMTS.
- 2011-02-12 01:58:54下载
- 积分:1
-
DEMAnisoEff
能够进行各向异性的差分等效介质(Differential Effective Medium Model)理论,获得各向异性介质的弹性张量(This programme could be used to build anisotropic elastic model by anisotropic Differential Effective Medium Model)
- 2013-09-25 20:21:58下载
- 积分:1
-
Signal_and_Systems_Lab_8
Signal And Sytem Lab_8
- 2012-04-16 14:51:57下载
- 积分:1
-
xiandingjiyizuixiaoercheng
Finite memory least square method
- 2015-04-15 11:00:06下载
- 积分:1
-
realmin
matlab matrix processing functions
- 2010-12-08 01:49:56下载
- 积分:1