-
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
-
RD
说明: 无线通信中遗传算法在认知无线电中的简单应用(Simple application of genetic algorithm in cognitive radio)
- 2012-12-30 22:12:53下载
- 积分:1
-
readclk
读取卫星钟钟误差和IGS站接收机钟差的程序(Read the satellite Zhong Zhong error and IGS stations receiver clock error program)
- 2015-01-17 10:14:26下载
- 积分:1
-
Digital-Signal-Processing-LiTAN
Digital Signal Processing-LiTAN
- 2013-12-05 13:29:41下载
- 积分:1
-
newton
this is code for nr method
- 2010-10-22 19:52:54下载
- 积分:1
-
21st_Century_C
C has only a handful of keywords and is a bit rough around the edges, and it rocks.
You can do anything with it. Like the C, G, and D chords on a guitar, you can learn
the basic mechanics pretty quickly, and then spend the rest of your life getting better.
The people who don’t get it fear its power and think it too edgy to be safe
- 2014-09-17 19:07:40下载
- 积分:1
-
my4d_nnf
卡尔曼滤波器的NNF算法,可以用来对飞行器的轨迹进行预测(Kalman filter using the nearest neighbor filter for data association algorithm)
- 2017-04-10 20:25:16下载
- 积分:1
-
xiaojiaodu
采用小角度分析法,采用matlab仿真激光通过海水传播后脉冲展宽的变化(Using small-angle analysis, using matlab simulation of laser pulse propagation through seawater broadening changes)
- 2015-02-10 23:34:43下载
- 积分:1
-
Hz50T
说明: matlab
频偏估计算法
幅度校正和角度校正(matlab )
- 2010-04-13 22:34:44下载
- 积分:1
-
graylevelslicing_mt
gray level slicing and gama correction
- 2014-12-02 01:45:13下载
- 积分:1