-
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
-
MSSIM
用于图像的质量评估,比较原始图像与受躁图像之间的结构相似度。
(For image quality assessment, by comparing the original image and the structural similarity between the images impatient.)
- 2011-04-27 17:11:42下载
- 积分:1
-
kalman
卡尔曼滤波算法的一个例子,注释详尽,训练测试分开编写,带有详尽数据,可以用来深刻理解kalman算法(Kalman filter algorithm examples, detailed notes, training tests prepared separately, with detailed data that can be used to a deep understanding of kalman algorithm)
- 2013-07-19 10:47:02下载
- 积分:1
-
Entity_3D_Animation_SimEvents
MATLAB DEMO ENTITY ED EVENTS
- 2011-05-15 01:46:36下载
- 积分:1
-
Micrord
matlab在信号与系统中的应用,连续信号的matlab描述,LTI系统的零输入响应,n阶LTI系统的响应,(matlab in Signal and System, continuous signal matlab description, LTI system, the zero-input response, n-order LTI system response,)
- 2008-04-25 17:09:17下载
- 积分:1
-
new-matlab-project
safar shaghtala has generated this code for electromagnetic modelling.
- 2014-09-06 22:31:15下载
- 积分:1
-
run_qrd_lsl
% because we do not truncate and shift the convolved input
% sequence, the delay of the desired output sequence wrt
% the convolved input sequence need only be the delay
% introduced by the ideal weight vector centred at n=5( Because we do not truncate and shift the convolved input sequence, the delay of the desired output sequence wrt the convolved input sequence need only be the delay introduced by the ideal weight vector centred at n = 5)
- 2007-09-14 11:53:28下载
- 积分:1
-
test05_main2_02
说明: 利用matlab仿真蜂窝小区中调度算法的性能。(Use of matlab simulation in Cellular scheduling performance.)
- 2010-04-26 10:21:10下载
- 积分:1
-
VC_MATLAB_DLL
VC调用MATLAB编译的D(VC Calling MATLAB Compiler DLL )
- 2006-11-29 20:05:40下载
- 积分:1
-
Raptor
数字喷泉码的仿真,使用C++语言所进行的仿真。(Simulation of digital fountain code, using C++ language for the simulation.)
- 2011-11-24 13:09:59下载
- 积分:1