-
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
-
789
用matlab解决线性可分不可分问题,关于线性感知器(Using matlab to solve linearly separable problems can not be divided, on the linear perceptron)
- 2010-11-27 18:29:38下载
- 积分:1
-
guocaiyang
实现大点数的IFFT变换,先进行小点数IFFT变化,然后再进行过采样滤波,有频谱图及例子(Achieve great points IFFT transform, first have a small point IFFT change, and then over-sampling filter, a spectrum and examples)
- 2013-10-18 16:41:36下载
- 积分:1
-
MATLAB-algorithm
基于MATLAB的各种优化算法,里面含多种利用MATLAB进行的算法,简单实用(MATLAB various optimization algorithms, which contain a variety of algorithms using MATLAB, simple and practical)
- 2013-04-16 08:19:28下载
- 积分:1
-
zju
这是一本关于matlab在数学建模中的使用的书,希望对大家有用(This is a book on matlab in the use of mathematical modeling in the book, I hope useful for everyone)
- 2007-10-21 13:35:31下载
- 积分:1
-
Matlabjiangyigaoji
本书基于MATLAB 5.2版,提供了使用MATLAB的实践性指导。
MATLAB已成为适合多学科、多种工作平台的功能强大、界面友好
、语言自然并且开放性强的大型优秀应用软件,同时也已成为
国内外高等院校高等数学、数值分析、数字信号处理、自动控制
理论以及工程应用等课程的基本教学工具。本书按逻辑编排,
自始至终用实例描述;内容完整且每章相对独立;
是一本简明的MATLAB参考书,既适用于初学者,也适用于高级
MATLAB用户。对MATLAB与FORTRAN、C等语言结合的描述更是所
有MATLAB书籍中少有的一大特色。 本书适合作为理工科高等院
校研究生、本科生教学用书,也可作为广大科研工程技术人员的
自学用书。(book based on MATLAB version 5.2, providing for the use of MATLAB practical guidance. MATLAB has become suitable for multidisciplinary, multi-platform work of the powerful and friendly interface, natural language and the open-large outstanding software application, but also domestic and foreign institutions of higher learning has become a Higher Mathematics, Numerical analysis, digital signal processing, automatic control theory and engineering applications of the basic curriculum teaching tool. By the logic of the book presentation, from beginning to end, with examples description; As complete and relatively independent of each chapter; is a concise reference book MATLAB, applies to both beginners, and it also applies to senior MATLAB users. On MATLAB and FORTRAN. languages such as C with)
- 2006-11-13 16:43:58下载
- 积分:1
-
outdoorlagrange
This code uses lagrange interation to calculte user s position in outdoor case.
- 2011-07-21 00:00:41下载
- 积分:1
-
00_cac_he_thong_thong__tin_hien_nay_trinh_bay_tho
Trinh bay cac he thong thong tin
- 2011-01-19 16:58:28下载
- 积分:1
-
GAtool
matlab遗传算法工具箱
GAtool(Matlab toolbox GAtool GA)
- 2006-11-23 17:10:28下载
- 积分:1
-
v_g
dtc直接转矩控制 开关选择模型 运动控制(the dtc direct torque control switch selection model motion control)
- 2012-06-23 15:21:40下载
- 积分:1