-
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
-
15636
薛定宇编写的《控制系统仿真与计算机辅助设计》 书中的全部源码(code of book《control system and computer aid design》by xue ding yu)
- 2010-05-18 20:02:41下载
- 积分:1
-
OMP
THIS CODE IS AN IMPLEMENTATION FOR THE GREEDY ALGORITHM IN COMRESSIVE SENSING THE ORTHOGONAL MATCHIN PURSUIT
- 2014-11-28 01:07:21下载
- 积分:1
-
Sampling
对模拟信号抽样,然后进行离散傅里叶变换,利用自编DFT函数,得到频谱,然后进行频谱的还原。(Sampling the analog signal, then the discrete Fourier transform, DFT self function obtained spectrum and the spectrum reduction.)
- 2013-12-08 17:50:18下载
- 积分:1
-
FVS
FVS 算法在MATLAB平台上的实现,包括源代码,说明等(FVS experiment on MATLAB)
- 2015-01-28 20:17:13下载
- 积分:1
-
dIVISIVE-CLUSTER-
dIVISIVE CLUSTER ALGORITHM
- 2014-02-20 10:41:51下载
- 积分:1
-
srchybrid45b_VeryCD
电骡0.45b源码.rar (-- Mule 0.45b source. Rar-- Mule 0.45b source. Rar)
- 2007-01-21 13:07:10下载
- 积分:1
-
adjustBW
Bandwidth (signal processing) or analog bandwidth, frequency bandwidth or radio bandwidth: a measure of the width of a range of frequencies, measured in hertz
Bandwidth (computing) or digital bandwidth: a rate of data transfer, bit rate or throughput, measured in bits per second (bps)
Spectral linewidth: the width of an atomic or molecular spectral line, measured in hertz
- 2011-08-16 14:48:36下载
- 积分:1
-
OFDMxianfu
非常完美的OFDM程序,已经在MATLAB验证过,完全能用!!!(Perfect OFDM program has been validated in MATLAB, can be used completely! ! !)
- 2013-05-15 20:56:38下载
- 积分:1
-
Matlab_base_and_its_application
了解MATLAB,能够熟练掌握数学(矩阵)运算,简单编程,简单的数据处理、符号运算及基本图形绘制.对MATLAB面向对象编程与simulink有基本了解。(Learn MATLAB, to master the math (matrix) operator, simple programming and simple data processing, symbolic manipulation, and basic graphics rendering. On simulink MATLAB object-oriented programming with a basic understanding.)
- 2010-08-04 13:35:49下载
- 积分:1