-
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
-
quadtree_imageseg
在matlab环境下对图像进行四叉树分解,在此基础上对图像进行分析(In the matlab environment, an image quad-tree decomposition, in this based on image analysis)
- 2010-03-06 19:54:57下载
- 积分:1
-
MT
说明: this is a MT-1D forward modeling code!
- 2011-03-22 21:34:42下载
- 积分:1
-
IS95-link-to-the-system
《MATLABSimulink通信系统建模与仿真实例精讲》IS95前向链路系统(" MATLABSimulink communications system modeling and simulation examples succinctly" IS95 link to the system)
- 2013-10-24 15:04:39下载
- 积分:1
-
TEQC-multipath-metrics
利用TEQC处理的多路径数据绘制卫星空间几何多径彩图。(present
a MATLAB program for creating colorized maps of high frequency multipath using TEQC
report files of single-epoch data.)
- 2013-12-02 15:08:04下载
- 积分:1
-
PCA_fusio
used for image fusion application
- 2015-02-27 13:52:33下载
- 积分:1
-
approx
approximation with neural networks
- 2014-01-23 07:13:26下载
- 积分:1
-
TOmasterMatlab7programme
上传的是<<精通Matlab7程序>>中的全书所有的程序源代码,好不容易才找到的,(From the )
- 2007-07-31 14:17:19下载
- 积分:1
-
half-model
半车模型,考虑车辆悬架,前后俯仰等自由度,利用S函数编写(Half car model, considering vehicle suspension, front and rear elevation and other degrees of freedom, the use of S-function written)
- 2020-07-04 00:40:01下载
- 积分:1
-
DCT
dct image steganography
- 2021-04-11 20:08:57下载
- 积分:1