-
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
-
berbpskofdmrayleighchannel
ber for bpsk modulation in ofdm channel
- 2010-09-13 14:23:51下载
- 积分:1
-
BandTrader
这是一个债券交易策略。由2条交叉线产生交易信号。( This MATLAB function implements a simple band trading strategy. A band
consists of two lines that form the upper and lower boundaries of the band.
The upper and lower boundaries are used to to enter and exit trades.
For example, if prices fall below the lower boundary a buy signal is
generated.
)
- 2013-07-28 14:21:17下载
- 积分:1
-
space-smooth-MUSIC
用空间平滑music算法对波达方向(DOA)信号进行DOA估计的matlab程序。(Music by spatial smoothing algorithm for direction of arrival (DOA) signal DOA estimation matlab program.)
- 2014-10-10 10:30:06下载
- 积分:1
-
dpdlfwxt
单排队论服务系统,顾客源无限,选择仿真时间,选择最大来到顾客数(Single queuing theory service system, customers unlimited source, select the simulation time, select the maximum number of customers came)
- 2013-09-15 11:09:53下载
- 积分:1
-
GenAlgo
GENETIC ALGORITHM FOR OPTIMAL LOAD FLOW
- 2014-08-18 00:15:36下载
- 积分:1
-
mohu
模糊控制仿真模型,在simulink 里已成功试验,主要用来控制自动导航。(Fuzzy control simulation model has been successfully tested in simulink where mainly used to control the automatic navigation.)
- 2013-12-04 14:49:33下载
- 积分:1
-
featureselection
使用MATLAB,ReliefF算法应用于特征提取,适用于shp属性数据。(Using MATLAB, the ReliefF algorithm is applied to feature extraction and is suitable for SHP attribute data.)
- 2015-05-20 23:05:21下载
- 积分:1
-
HOSA
提供了Matlab平台下高阶统计量的常用算法以及运算函数。并且给出了时间延迟估计等实际应用的算例(Matlab platform provides a higher-order statistics of the commonly used algorithms and computing functions. And gives the time delay estimation in practical applications, such as the numerical example)
- 2007-10-09 16:19:02下载
- 积分:1
-
alphabet
This is a file for alphabet recognition as for accident with matlab
- 2013-07-29 21:38:17下载
- 积分:1