-
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
-
homography_2
3x3 homography matrix
- 2013-02-13 16:49:01下载
- 积分:1
-
huidutidu
图像灰度梯度求解 matlab程序
可用于求解图像的灰度梯度值,多幅图像之间比较清晰度等。(Solving matlab image gray gradient gray gradient program can be used to solve the values of the image, more clarity between multiple images.)
- 2014-10-25 13:20:04下载
- 积分:1
-
single_pulse_ambg
单脉冲雷达信号的波形的产生和其模糊函数的计算,以及模糊函数的图形。(Single-pulse radar signal waveform generation and the calculation of its ambiguity function, and the ambiguity function of the graphics.)
- 2010-09-04 21:20:48下载
- 积分:1
-
huarongdao
用matlab编的一款小游戏 华容道 这个小游戏还不尽完善 就huarongdao.m一个文件 可以改善再传上来(Matlab compiled a small game Game hua-rong-dao The game is not perfect A file is huarongdao. M Can improve the pass again
)
- 2014-11-14 16:42:58下载
- 积分:1
-
kalman_GPS_INS_position_sp_NFb
卡尔曼滤波的MATLAB程序,经试验程序,算法简单,结果有效。(Kalman filtering of the MATLAB program, the test procedure, the algorithm is simple, and effective.)
- 2011-11-30 10:19:00下载
- 积分:1
-
MATLAB
关于matlab的一些程序,比如各种滤波器设计(some program about matalb,such as kinds of filter s design)
- 2013-11-22 17:26:37下载
- 积分:1
-
IMC-SIMULINK
黄文兵的内模控制simulink仿真源代码,光盘全套内容(
Internal Model Control huangwenbing simulink simulation source code, CD-ROM full set of content)
- 2021-05-07 21:19:35下载
- 积分:1
-
fuzzy-logic-in-matlab
一篇文献,模糊控制及其matlab应用,文章很好,值得一读(One paper, fuzzy control and its application matlab)
- 2011-04-19 09:55:31下载
- 积分:1
-
num2str
主要用于matlab中的一些基本方法的介绍 以一些功能简介,适合初学matlab用户(used for matlab)
- 2012-05-12 08:25:39下载
- 积分:1