-
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
-
Pattern-recognition-experiment
基于Fisher线性判别的基因分类器的设计,里面有源程序(Fisher linear discriminant based on the gene classifier design, which has source code)
- 2011-05-16 16:00:48下载
- 积分:1
-
SAR
SAR signal processing
- 2013-10-31 08:11:59下载
- 积分:1
-
chap2
刘金琨《滑膜变结构控制matlab仿真》第二章( synovial VSC matlab simulation Chapter II)
- 2015-04-08 09:58:07下载
- 积分:1
-
Hotkey
Hotkey traping all Keys grom applications
- 2014-02-09 03:05:50下载
- 积分:1
-
LCMV
本程序是用于天线阵列波束波束形成的 LCMV算法,算法给出了误码率曲线,可以看出LCMV算法在高信噪比时误码率很小。
(this procedure is used for beam antenna array beam forming the Virus algorithm, the algorithm is given BER curves, Virus algorithm can be seen in the high signal-to-noise ratio at the bit error rate is very small.)
- 2006-12-28 10:18:37下载
- 积分:1
-
MATLAB-mechanical-interface
数学交互界面,可以实现求解线性方程组,三维绘图,二重积分等(Math interactive interface for solving linear equations, three-dimensional drawing, the double integral)
- 2012-05-28 22:52:45下载
- 积分:1
-
203102
independent component analysis
- 2013-02-08 04:15:09下载
- 积分:1
-
wnn.zip
小波神经网络是一种利用小波分析和人工神经网络结合的智能模型,是一种人工智能模型。本程序利用小波神经网络进行短时交通流量预测。(Wavelet neural network (WNN) which is the combination of wavelet analysis and artificial neural network is used to predict the future traffic.)
- 2015-01-16 21:15:32下载
- 积分:1
-
matlab
小波分析是傅立叶分析思想方法的发展与延拓(Wavelet analysis is a Fourier analysis of the development and extension thinking)
- 2010-05-14 23:39:03下载
- 积分:1