-
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
-
silinderpenuh
kode sederhana membuat silinder penuh pada matlab
- 2013-04-17 06:04:15下载
- 积分:1
-
IO
说明: 控制安捷伦矢量信号源,在本地计算机上产生一个信号然后传入信号源,本代码含若干练习性的源代码,结合自己大量的调试经验,在signal1.m中对初学者甚至经常使用的用户极易犯得错误进行了详细标注,(Matlab generate data in the waveform file, downloaded to the Agilent signal sources. By reading it, you will get a lot.)
- 2021-01-26 22:38:41下载
- 积分:1
-
matlab_Sonar
声纳技术实验常用水声信号及其处理方法,包括CW信号产生,LMF信号产生(Sonar technology experiments commonly used in underwater acoustic signal processing methods, including the CW signal generator, Model LMF signal generator)
- 2021-04-17 15:18:53下载
- 积分:1
-
column_scroll_wi_mikrobasic_pic
This code intends to demonstrate how to use MAX6953 for message column scroll.
- 2012-04-14 20:19:03下载
- 积分:1
-
xport
Xport Transport Stream Demuxer
Updated 09/06/2007 - current version is 0.98(Xport Transport Stream Demuxer
Updated 09/06/2007- current version is 0.98)
- 2007-09-25 17:34:43下载
- 积分:1
-
Untitled
说明: 很好用的小波分解程序,简单,对初学者很有帮助。(Nice wavelet decomposition program, for beginners helpful.)
- 2011-03-23 10:05:47下载
- 积分:1
-
toumo
对国际上通用的标准Shepp-logan人头模体进行投影和反投影、滤波反投影、ART和SART重建。(include anisotropic filter, bilateral filter and functions for tomographic reconstruction using BP, FBP, ART, SART, LSQR algorithm)
- 2020-11-19 21:29:37下载
- 积分:1
-
Program_0.2
Tutorial Two (You should run it in the Command Window)
- 2012-04-22 18:31:14下载
- 积分:1
-
snow
matlab画的科赫雪花曲线,非分形算法,简单易懂(matlab painting Koch snowflake curve, an improper shape algorithm, easy to understand)
- 2009-12-04 20:54:18下载
- 积分:1