-
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
-
sfft
此为,计算地震信号频谱的MATLAB程序,效果较好。可以看到不同道数的频谱(This is calculated seismic signal spectrum MATLAB program is better. Can see that the number of different spectrum Road)
- 2010-08-25 20:52:01下载
- 积分:1
-
working
拨号按键DFMF仿真程序,数字键及字母键模拟传输中的发送与接收(Dial buttons simulation)
- 2015-03-18 10:33:49下载
- 积分:1
-
hehanshu
用于核函数的选择,也是基于最小二乘支持向量机预测问题的好帮手,希望能够搬到大家。(For the selection of kernel function, is also based on support vector machine prediction is a good helper, hoping to move to you.)
- 2010-10-20 19:28:41下载
- 积分:1
-
intprog
整数规划matlab代码,代码简洁、效率高(Integer programming matlab code, the code is simple, high efficiency)
- 2012-09-07 11:45:11下载
- 积分:1
-
Helicopter_simulation
直升机模拟仿真,建模,仿真,源代码,有待改进。(Helicopter simulation, modeling, simulation, source code, to be improved.)
- 2021-04-03 17:29:06下载
- 积分:1
-
Extended_KF
It contains sample files of Extended Kalman Filter (EKF).
- 2013-02-27 08:55:22下载
- 积分:1
-
Three Phase Fulll bridge pfc
主要是利用simulink对三相全桥电路的功率因数校正电路,其中三相全桥采用SVPWM(The power factor correction circuit of three phase full bridge circuit is mainly based on Simulink, in which the three-phase full bridge is SVPWM.)
- 2020-07-14 10:28:59下载
- 积分:1
-
DCT_Gaosi_fenkuai
将图像分为16*16的分块进行计算,稀疏矩阵采用DCT矩阵,观测矩阵采用高斯随机矩阵,重构采用OMP算法,对256*256大小的8bit灰度lena图像进行仿真( )
- 2013-09-03 16:35:44下载
- 积分:1
-
xindao44
OFDM 通信信道设计,主要是关于无线移动通信中Jakes 模型进行信道仿真和相应的改进算法。(OFDM communication channel system design)
- 2013-04-14 09:03:09下载
- 积分:1