-
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
-
MATLAB
这个一个进行频率检测的程序,简单实用,欢迎大家下载学习(The frequency of detection of an ongoing program, simple and practical, are welcome to download the study)
- 2010-11-05 20:32:16下载
- 积分:1
-
Matlab
说明: 吐血推荐的学习matlab的好资料。非常适合matlab初学者。包括matlab矩阵运算法则,matlab绘图功能。GUI简介和simulink的介绍。帮助初学者马上上手。(it is suitable for beginners of matlab,which includes algorithm and plotting methods in matlab.The introduction of GUI and simulink is also included,thus it is a road to successful operation of matlab )
- 2009-07-28 23:57:48下载
- 积分:1
-
producefsk
自编程序产生FSK信号的函数源代码,可以实现函数调用,载波频率可以修改的!(FSK signal generated by ourselves to a function of the source code, function call, the carrier frequency can be modified!)
- 2010-05-15 08:41:08下载
- 积分:1
-
bark2frq
bark to freq transformation
- 2010-11-17 15:09:56下载
- 积分:1
-
12jj
说明: 最小二乘法直线拟合在matlab的应用 (Least Squares Linear Fitting)
- 2010-04-29 15:13:15下载
- 积分:1
-
Mashood-Ahmad-(070332)Okumura-Hata-Model
Okumura hata model
power against frequencies
- 2011-05-04 19:28:18下载
- 积分:1
-
CDMA2000-MATLAB-simulation
CDMA2000调制扩频与解调解扩的MATLAB仿真(CDMA2000 spread spectrum modulation and de conciliation spread MATLAB simulation)
- 2013-07-15 16:43:45下载
- 积分:1
-
sourcecode
PID算法,通过PID控制温度,实现PID自整定(PID algorithm, temperature, PID self-tuning PID control)
- 2012-11-08 11:04:48下载
- 积分:1
-
ball
小球在圆环上做圆周运动,可以滑动调节小球运动速度.(Small ball in the circle to do the circular motion, you can adjust the ball sliding velocity.)
- 2008-06-06 22:40:05下载
- 积分:1