-
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
-
DFIGn
this is use for simulation
- 2012-05-30 20:43:51下载
- 积分:1
-
基于量子相位编码的量子遗传算法
一种基于量子相位编码的量子遗传算法,求解TSP(Quantum genetic algorithm)
- 2020-07-25 11:28:43下载
- 积分:1
-
Ejercicio+3
este es el ejercicio 3 de ssd3 de icarnegie
- 2009-10-02 15:21:36下载
- 积分:1
-
Blind Equalizer 的演算法主要是利用CMA及 LMS 的配合
Blind Equalizer 的演算法主要是利用CMA及 LMS 的配合,当CMA将EYE打开,使讯号趋近于正确值,就切换到LMS,利用Slicer的输出当作training sequence来调整Equalizer的系数,而Carrier Recovery 的部份,则是将phase error track出来(Blind Equalizer algorithm is the use of the CMA and LMS tie, When the CMA will EYE open, signaling close to the correct value, it switched to the LMS. SLICER use of the output as training sequence to adjust Equalize The coefficient r, and some of Carrier Recovery, the type of track out phase error)
- 2020-12-17 17:59:13下载
- 积分:1
-
MATLAB
滑模变结构仿真,malab源程序。滑模变结构控制算法简单、鲁棒性好和可靠性高,故被广泛应用于运动控制中,尤其被用于可建立精确数学模型的确定性控制系统中(SMVSC simulation, malab source. Sliding mode variable structure control algorithm is simple, good robustness and high reliability, it is widely used in motion control, especially be used to establish a precise mathematical model can be deterministic control system)
- 2013-07-25 11:48:44下载
- 积分:1
-
jalase155
nonlinear control jalase 15
- 2014-10-05 05:44:38下载
- 积分:1
-
matlab-feinieer
菲涅尔公式的matlab仿真方法,并画出相应曲线。(The Fresnel formula Matlab simulation method, and draw the corresponding curve.)
- 2020-11-29 17:39:28下载
- 积分:1
-
emd
这是一个EMD分解程序,matlab运行的环境,只要导入数据,肯定可以运行(This is an EMD decomposition process, as long as the import data, they can definitely run)
- 2013-04-16 21:32:46下载
- 积分:1
-
puncture_text
凿孔的matlab代码,本人调试通过可以直接运行 有凿孔和解凿孔两个部分,加在卷积编码模块后,提高传输速率和信道利用率,但也相应地降低了卷积码的性能(Perforated matlab code, I can run a debugging through reconciliation punctured punctured two parts, plus the convolution coding module, to improve the transmission rate and channel utilization, but also a corresponding decrease in the performance of convolutional codes)
- 2013-07-12 17:26:14下载
- 积分:1