-
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
-
FFTfrequencychartisanalytical
1.通过实验加深对快速傅立叶变换(FFT)基本原理的理解。
2.了解FFT点数与频谱分辨率的关系,以及两种加长序列FFT与原序列FFT的关系。
离散傅里叶变换(DFT)和卷积是信号处理中两个最基本也是最常用的运算,它们涉及到信号与系统的分析与综合这一广泛的信号处理领域。实际上卷积与DFT之间有着互通的联系:卷积可化为DFT来实现,其它的许多算法,如相关、滤波和谱估计等都可化为DFT来实现,DFT也可化为卷积来实现。(1. Deepen the experimental fast Fourier transform (FFT) the basic tenets of understanding. 2. Understand the FFT spectrum and points of the resolution, and two extended sequence with the original FFT FFT relations. Discrete Fourier Transform (DFT) and the convolution of two signal processing is the most commonly used basic arithmetic, they relate to the signal and system analysis and synthesis of the wide range of signal processing field. DFT actually convolution and interoperability between contact : DFT into convolution can be achieved in many other algorithms, If relevant, filtering and spectral estimation could be achieved as DFT, DFT into convolution can be achieved.)
- 2007-03-09 23:52:10下载
- 积分:1
-
shared_ica_code
Imperialist Competition Algorithm - Source Code in MATLAB
- 2013-04-26 22:09:31下载
- 积分:1
-
用SVPWM驱动三相桥的PMSM控制模型svpwm PI control
用SVPWM驱动三相桥的PMSM控制模型,双闭环控制,模型效果较好!(The control model of PMSM using SVPWM to drive three-phase Bridge, double close loop control, and the control result is very well!)
- 2009-10-08 23:05:37下载
- 积分:1
-
matlab
说明: 个人写的一些matlab神经网络的函数和算法,希望大家喜欢(Some people write matlab neural network functions and algorithms, hope you like)
- 2011-04-14 11:10:23下载
- 积分:1
-
demod
bpsk 的源代码 MATLAB 很好的 希望有帮助(802.11b 1Mbps PHY link)
- 2011-05-03 22:14:32下载
- 积分:1
-
sp_fw_full_converter
converter control pwm simuling
- 2013-07-31 22:00:25下载
- 积分:1
-
VDI_2230_calculation
螺栓行业标准,介绍了各种螺栓的受力分析 和计算,图表等举例说明。(Bolt industry standards, describes the various bolt stress analysis and calculations, charts illustrate.)
- 2013-11-30 22:46:59下载
- 积分:1
-
PtRG
对雷达方程的研究,输出功率与测量距离之间的关系(Radar equation, the relationship between the output power and measure the distance)
- 2013-04-19 10:04:22下载
- 积分:1
-
nrlfppg
newton rphson power flow
- 2015-04-22 21:56:50下载
- 积分:1