-
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
-
arima_test
arima代码具体实现 包括平稳性检验 差分 以及预测
数据不在压缩包中 使用者可根据自身情况使用(The specific implementation of the ARIMA code includes the stationary test difference and prediction.
Data is not used in compressed packets, users can use them according to their own circumstances.)
- 2021-01-01 19:58:58下载
- 积分:1
-
MATLABProgrammingTutorial
本书主要是介绍了matlab程序设计的教案。(This book mainly introduces the matlab program to design the curriculum.)
- 2010-08-30 20:13:52下载
- 积分:1
-
hcp
说明: gaussian输入文件 密排六方输入文件(gaussian input file input file HCP)
- 2011-02-23 19:03:30下载
- 积分:1
-
cooperative-spectrum-sensing
This is a program to describe cooperative spectrum sensing of Cognitive radio implemented in cognitive radio
- 2013-11-21 19:51:30下载
- 积分:1
-
DCC
Image zooming using directional cubic convolution interpolation
- 2013-12-11 01:25:10下载
- 积分:1
-
modm
Flexible Job Shop Scheduling _modm in matlabe
- 2013-11-30 18:06:53下载
- 积分:1
-
matlab
Wavelet matlab Wavelet matlab
- 2013-09-20 16:05:27下载
- 积分:1
-
unit-commitment
Power Generation Operation and Control-unit commitment-this is a m-file
- 2014-10-31 20:12:45下载
- 积分:1
-
fanTBM
说明: 介绍matlab对TBM射击的说明文章,可供仿真设计参考(Introduction description matlab shooting of TBM article reference design for simulation)
- 2011-02-17 22:42:21下载
- 积分:1