-
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
-
tema3
pdf para el estudio de markov
- 2010-09-28 10:56:25下载
- 积分:1
-
enhance1
加权中值滤波,用于图像增强,只用于超声图像,对超声图像去噪有很好的效果。内还包括信噪比计算方法。(weighted median filter for image enhancement, only for ultrasound images of ultrasound image denoising with very good results. Which is also a signal-to-noise ratio calculation.)
- 2006-12-10 12:07:26下载
- 积分:1
-
MUSIC_KUAIPAI
matlab程序实现快拍数在分辨力上对music算法效果的影响(matlab program, the number of snapshots in the resolution on the effect of music algorithm)
- 2021-04-13 17:58:56下载
- 积分:1
-
xlswrite
Montel Carlo图形的重要程序:它可以将MATLAB生成的数据转存到excel中(Montel Carlo)
- 2010-10-22 14:41:05下载
- 积分:1
-
Classfy-Shape
Shape Classification
- 2012-02-01 21:43:32下载
- 积分:1
-
MATLAB_GUI_Design_EXAMPLE_PHYSICAL
说明: MATLAB GUI设计实例程序(大学物理)
- 2010-03-24 17:24:54下载
- 积分:1
-
m4-16-64k20ber
ofdm系统功率自适应功率分配算法研究的matlab程序(ofdm Power System Adaptive Power Allocation for the Matlab procedures)
- 2021-04-22 21:08:48下载
- 积分:1
-
ALOHA
CTS协议的主程序,和aloha的主程序(CTS protocol of the main program, and the main routine of aloha)
- 2013-03-17 22:44:46下载
- 积分:1
-
Seed
基于种子点的区域增长算法 Matlab (Matlab seed region growing)
- 2013-07-10 19:59:31下载
- 积分:1