-
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
-
lgkt
用龙格库塔发解二阶微分方程,共三个小程序,初学者可以直接调用龙格库塔源程序(With solutions of second order differential equations Runge-Kutta hair, a total of three small programs, beginners can directly call the Runge-Kutta source)
- 2014-10-10 22:23:47下载
- 积分:1
-
matlne
【matlab编程代做】简单的小波变换(Wavelet)实现数字水印源代码([Do] simple matlab program generation wavelet transform (Wavelet) digital watermarking source code)
- 2015-01-13 21:02:43下载
- 积分:1
-
MATPOWER
MATLAB CODE FOR POWER FLOW
- 2014-01-06 19:52:24下载
- 积分:1
-
menu_analyze
This file contains functions implementing the analyze menu commands.
- 2015-11-28 21:53:00下载
- 积分:1
-
Butterworth
butterworth滤波器的matlab设计,通带截止频率0.3pi,阻带截止频率0.2pi(matlab butterworth filter design, the passband cutoff frequency 0.3pi, stopband cutoff frequency 0.2pi)
- 2011-01-14 09:27:44下载
- 积分:1
-
aeroblk_guidance
航空飞行器惯性导航的数学建模与实时系统仿真(Aviation aircraft inertial navigation Mathematical Modeling and Simulation of real-time systems)
- 2013-07-18 16:09:18下载
- 积分:1
-
Frame-Algorithm
代码实现了平移不变小波框架的快速分解重构算法。(A fast decomposition and reconstruction algorithm based on the translation invariant is included in the pakage. )
- 2012-04-17 22:43:52下载
- 积分:1
-
MSK
MSK信号的调制及解调,包含三种解调方法,每种方法都给出了误码性能模拟。含有以下文件:
MSK.m
MSK_0.m
MSK_2.m
MSK_3.m
delay.m
difference.m
rand_binary.m
(MSK modulation and demodulation of signals, including three demodulation method, each method are given BER performance simulation. Contains the following files:
MSK.m
MSK_0.m
MSK_2.m
MSK_3.m
delay.m
difference.m
rand_binary.m
)
- 2021-02-22 18:49:41下载
- 积分:1
-
3
说明: matlab应用程序,RBF复合PID控制的MATLAB程序(matlab applications, RBF complex PID control, MATLAB program)
- 2009-09-29 20:13:50下载
- 积分:1