-
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
-
fisher
fisher例子程序必看fisher例子程序必看fisher例子程序必看(Examples of programs fisher must-see examples of programs fisher must-see examples of procedures for must-see fisher)
- 2009-10-16 17:02:59下载
- 积分:1
-
OFDMSIMULATE
OFDM仿真
参数:
% 子载波数 128
% 位数/ 符号 2
% 符号数/ 载波 1000
% 训练符号数 0
% 循环前缀长度 8 (1/16)*T
% 调制方式 4-QAM
% 多径信道数 3
% IFFT Size 128
% 信道最大时延 2
(OFDM simulation parameters : % subcarriers median number of 128%/2% Symbol Symbol/Carrier Training 1000% 0% Symbol few cyclic prefix length 8 (1/16)* T% modulation 4-QAM% multi-path channel number 3% 128% Size IFFT letter Maximum delay 2)
- 2007-05-05 22:59:17下载
- 积分:1
-
emd
N. E. Huang的一维emd经验模式分解程序(带汉语注释)(the program of emd)
- 2011-12-05 19:29:56下载
- 积分:1
-
matlab-GA
遗传算法的matlab实现代码,已验证无错误(Genetic algorithm matlab code, verified error)
- 2013-12-26 12:32:05下载
- 积分:1
-
matlab_8vazir
8 queens on the chess board with matlab
- 2013-07-12 23:47:42下载
- 积分:1
-
st
说明: S变换的源代码,实现对各种信号的频谱分析。该方法优越于短时傅里叶变换。(S transform source code, and the analysis of the spectrum of various signals. This method is superior to the short time Fourier transform.)
- 2013-03-19 19:05:26下载
- 积分:1
-
MATLABGUI
书籍《精通MATLAB GUI》 光盘的内容.rar
需要的朋友就下载吧(Proficient in MATLAB GUI CD-ROM content. Rar needs a friend to download the Bar)
- 2010-02-02 11:47:12下载
- 积分:1
-
该程序的优点在于障碍可以自己设置,也可以读图-Astar
该程序的优点在于障碍可以自己设置,也可以读图。(The advantage of this program is that obstacles can be set by themselves or read pictures.)
- 2020-06-21 16:20:01下载
- 积分:1
-
Analiza_widmowa
Analiza widmowa a sygnal
- 2010-07-28 04:45:37下载
- 积分:1