-
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
-
ModulationDemodulationPAM
matlab code modem PAM
- 2009-07-11 22:46:14下载
- 积分:1
-
MATLAB
说明: Matlab编程练习题集,非常适合初学者(matlab practise examples)
- 2010-04-26 22:08:30下载
- 积分:1
-
c4-5
c4.5 algorithm in matlab
- 2010-06-07 11:35:47下载
- 积分:1
-
7310708-Synchronization-in-OFDMBased-WLAN-With
synchronisation in OFDM systems
- 2009-05-25 21:08:57下载
- 积分:1
-
moban
此代码实现的是适用matlab实现输入文件的模版匹配,(Realize this code is applicable to realize the input file matlab template matching,)
- 2008-07-31 10:56:51下载
- 积分:1
-
byf
两机五节点的仿真 可能有点错误 嘿嘿潮流分析的计算(Two five-node machine simulation may be a bit wrong hehe trend analysis calculations)
- 2011-10-30 15:33:08下载
- 积分:1
-
tsuspension_so
matlab 实现汽车悬架分析,四分之一、二分之之一,整车悬架悬架 ,经测试可直接使用。
(matlab vehicle suspension analysis, one-quarter, one-half of vehicle suspension suspension, tested directly use.)
- 2012-09-30 19:24:01下载
- 积分:1
-
TeagerKaiser
TeagerKaiser Energy operator method has been explained with help of Matlab 2007a version. This method can be used in case of speech and voice processing as well as any kind of signal processing activities.
This has been explained with multiple input signals. A noise has been added in order to explain the method s efficiency at last.
- 2021-01-25 13:28:38下载
- 积分:1
-
gist
说明: 本程序用于提取图像库的gist特征,matlab编写,有test文件(This procedure is used to extract the gist features of the image library, matlab prepared a test file)
- 2011-03-25 20:57:58下载
- 积分:1