-
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
-
lxt
输入年月日显示星期
输入年月日显示星期(输入年月日显示星期)
- 2010-01-04 11:02:59下载
- 积分:1
-
FDTD_2D_Yee_2D_TM_final
二维FDTD程序,在Yee元胞中,实现二维电磁波传播(2D FDTD program, Yee cell, two-dimensional electromagnetic wave propagation)
- 2012-10-29 22:48:25下载
- 积分:1
-
GA
说明: 关于遗传算法的matlab程序,可实现gatool中的大部分功能。(Matlab genetic algorithm on these procedures is to realize most of the functionality gatool.)
- 2007-08-16 23:28:33下载
- 积分:1
-
zuobiaozhuanhuan
大地测量学原理坐标转换程序,能实现大地坐标到平面的互相转换(The geodetic coordinate conversion program principle, can realize the earth coordinate to plane conversion to each other
)
- 2012-05-01 12:11:11下载
- 积分:1
-
report
基于gps卫星广播星历进行的卫星预报,涉及到站心坐标系的转换(Gps satellite broadcast on the satellite ephemeris prediction, involving the heart coordinate system conversion station)
- 2010-10-11 23:37:31下载
- 积分:1
-
OneDimensionalSearch
说明: 优化设计中的一维搜索方法,包括牛顿梯度法,平分线法,割线法,以及各种插值方法;能计算函数最优点,以及迭代的循环次数(Optimal Design of one-dimensional search methods, including Newton)
- 2008-10-12 09:22:01下载
- 积分:1
-
dicm2nii
DICOM to NIfTI converter
by Xiangrui Li
- 2014-02-07 02:56:11下载
- 积分:1
-
martinspeech
用于speech enhancement的经典噪声估计源代码完整,可直接使用。(Classical speech enhancement for noise estimation complete source code can be used directly.)
- 2010-10-24 10:27:21下载
- 积分:1
-
shepindianlu-Matlab
关于《射频电路设计》的Matlab程序,有与smith原图相关的,每章节中的图形程序。(On " RF circuit design" Matlab procedures, smith artwork associated with each section of the graphics program.)
- 2013-12-03 22:30:53下载
- 积分:1