-
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
-
kalman_filter
kalman滤波器的Matlab验证,以及迭代算法的实现(kalman filter Matlab validation, and iterative algorithm)
- 2013-10-12 15:39:48下载
- 积分:1
-
eigenvaluefield33
Calculate the eigenvalues of many 3x3 real symmetric matrices.(Calculate the eigenvalues of many 3x3 real symmetric matrices. Computation is non-iterative, based on fully vectorized matlab matrix operations, and GPU computation is supported. It is fast and efficient for processing a number of 3-by-3 matrices at once. This code particularly suits tensor/Riemannian calculus in 3D, visualization/analysis of volumetric tensor images, image Jacobian/Hessian analysis, stress/tensile strength computation on tensor fields, three dimensional diffusion processes, determining the rotation axes of a motion field, etc....)
- 2013-05-12 22:36:36下载
- 积分:1
-
GoldGenerator
文件里包括了扩频系统中所需的gold码序列的产生。(File system, including the spread spectrum code sequence required to produce gold.)
- 2010-08-31 09:48:34下载
- 积分:1
-
aroticalpulsewaveprograme
这是关于中心大动脉与外围动脉如桡动脉,股动脉的临床医学数据,用这些数据进行盲辨识与估计(This is the main artery on the central and peripheral arteries such as the radial artery, femoral artery of the clinical data, using these data for Blind Identification and Estimation)
- 2010-11-23 11:22:17下载
- 积分:1
-
IEEESPL06
to extract the pitch
- 2011-01-01 13:44:10下载
- 积分:1
-
matlab1011
MATLAB数值分析与应算习题代码10 11节,用于学习交流,不可用商业用途。(MATLAB Numerical Analysis and Problem code 1011 should be considered section for learning exchanges, can not be used for commercial purposes.)
- 2010-05-14 13:42:00下载
- 积分:1
-
simulink2
又一个simulink的ppt,对于初学simulink 的人可能有用,不过太简单了。(also a Simulink ppt for the novice Simulink may be useful But too simple.)
- 2006-11-22 18:50:46下载
- 积分:1
-
compare_pcm
均匀PCM量化和u律非均匀量化的对比效果分析实验(uniform PCM quantifiable and non-uniform legal u quantitative analysis of the experimental contrast)
- 2007-03-05 21:21:43下载
- 积分:1
-
delcam_flexlm_new_crack
delcam soft crack,very good.
- 2013-07-30 18:36:19下载
- 积分:1