-
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
-
quadrature_sampling
说明: 中频正交采样与正交相干检波,很有价值的一篇论文。(IF quadrature sampling and quadrature coherent detection is a valuable paper.)
- 2009-09-01 10:51:18下载
- 积分:1
-
601
图像配准matlab的实现,可以实现图像的配准(image registration Matlab achieve, can achieve image registration)
- 2007-05-15 12:36:34下载
- 积分:1
-
sayed_projects
matlab image processing project
- 2013-08-13 20:44:47下载
- 积分:1
-
KSVD-MOD
KSVD和MOD字典学习稀疏表示程序代码(KSVD, and MOD dictionary learning sparse representation of program code)
- 2012-11-01 20:06:30下载
- 积分:1
-
DISPATCH-OF-MICROGRID
微电网多目标调度,运用改进的多目标粒子群算法进行计算,里面包含经济等三个目标函数设置(Microgrid multi-objective scheduling, using the improved multi-objective particle swarm optimization calculations, which contains the three economic objective function settings)
- 2020-11-05 12:29:50下载
- 积分:1
-
CCA
可以进行典型相关分析,注释很详细,可以直接调用(cca Canonical correlation analysis can be done, annotation is very detailed, can be called directly)
- 2017-08-10 20:43:03下载
- 积分:1
-
electromotor_servo_control
电机伺服控制Matlab纯代码仿真
可转换成C代码(Motor servo control Matlab simulation code can be converted into pure C code)
- 2011-11-09 23:57:14下载
- 积分:1
-
MK
做m-k突变检验,直接载入excel,方便快捷,真心实用(Do mk mutation testing, direct loading excel, convenient, really practical)
- 2013-10-02 10:21:47下载
- 积分:1
-
MPPT_S_INC
MPPT程序 采用了比较传统的电导增量法,该算法相对较为精确(maximum power point tracking)
- 2013-05-09 10:31:14下载
- 积分:1