-
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
-
matlab--OFDM--UWB
在matlab环境下,利用ofdm实现的uwb。(In the matlab environment, the use of ofdm implementation uwb.)
- 2010-03-13 09:54:03下载
- 积分:1
-
conversion
极化SAR矩阵的相互转换的程序,包含s、k、c、t矩阵的转换(The conversion of Pol-SAR matrixes,including s,k,c,t matrixes)
- 2013-11-29 09:31:04下载
- 积分:1
-
Electromagnetic_AC_MOTOR_actuator1
Electromagnetic AC MOTOR actuator simulation
- 2010-09-22 07:01:45下载
- 积分:1
-
MyPgui
matlab自编程序,实现读取txt文件的一些数学分析:如标准化方法等(self matlab program to read txt files to achieve some of the mathematical analysis: such as a standardized method)
- 2011-05-26 16:41:59下载
- 积分:1
-
TsaiCalibration
Tsai二步法摄像机标定算法 matlab(Tsai two-step camera calibration algorithm)
- 2013-07-22 10:24:07下载
- 积分:1
-
bdfm
双馈风电模型基于matlab的仿真模型供大家学习参考下(Doubly-fed wind power model matlab-based simulation model for them to learn to refer to the following)
- 2013-04-15 10:38:57下载
- 积分:1
-
Numerical-Methods-in-Engineering-with-MATLAB
Description of tools and methods in Matlab that can be applied in the Engineering.
- 2013-12-10 07:07:42下载
- 积分:1
-
a
说明: matlab code OFDM SC FDMA OFDMA PAPR matlab code OFDM SC FDMA OFDMA PAPR matlab code OFDM SC FDMA OFDMA PAPR matlab code OFDM SC FDMA OFDMA PAPR
- 2013-05-19 22:43:57下载
- 积分:1
-
single-phase-inverter-MPPT
单相带有mppt的光伏逆变器仿真,mppt采用扰动观察法,带有DC-DC变换器(Single-phase photovoltaic inverter with mppt simulation, mppt using perturbation and observation method, with DC-DC converter)
- 2015-04-16 10:28:08下载
- 积分:1