-
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_ISP
用matlab编程求解图论中独立集问题(ISP),程序简单明了,希望大家能提出更进一步的改进意见.(Matlab programming using graph theory for solving Independent Set Problem (ISP), the procedure is simple and hope that we can introduce a further improvement.)
- 2007-09-20 19:31:58下载
- 积分:1
-
RF-Design-and-Analysis(2)
射频方面的资料,里面有详细的M文件,希望对大家有用。(Radio frequency information, there are detailed paper M, in the hope that useful to everyone.)
- 2007-11-11 12:15:09下载
- 积分:1
-
simplex-algorithm
matlab下的单纯形法 针对函数多个点简单可行的最优化计算(matlab simplex method under the multiple points for the function of the optimization calculation is simple and feasible)
- 2011-02-08 09:28:18下载
- 积分:1
-
pv_3xiang_pqcontrol
三相电逆变器及并网发电方法的控制模型仿真(Three-phase power inverter and the grid method of the control model simulation)
- 2011-09-25 23:43:42下载
- 积分:1
-
SELDIV3RX
Field of Digital Communications.
Topic: Diversity Combining
Matlab Program (m File) for exploiting Receiver Antenna Diversity: Performance Analysis of Selection Diversity with 3 Receiver Antennas
- 2012-10-10 18:38:09下载
- 积分:1
-
matlab
this provides the Discrete Fourier Transform function that can be used im more applications
- 2013-08-26 15:07:29下载
- 积分:1
-
signalcompress
给出了信号压缩通常的变换-量化-编码函数。DHT函数为离散DHT变换,是FFT变换的近似,其正反变换相同,克服了FFT复系数不利于存储的缺点。LLMAX函数给出了某x序列在固定比特下的最佳量化输出。熵编码函数为霍夫曼编码。(Gives the signal compression usually transform- quantitative- coding function. DHT DHT discrete transform function, the FFT transform approximation, the same positive and negative transformation, overcoming complex FFT coefficient is not conducive to storage shortcomings. LLMAX function x is given a fixed bit sequence in the optimum quantized output. Entropy coding function as Huffman coding.)
- 2013-07-27 10:40:54下载
- 积分:1
-
6.5
这是matlab6.5 的使用方法,通过学习该书,可以精通matlab(This is matlab6.5 to use, by learning the book can be proficient in matlab)
- 2011-10-27 11:49:37下载
- 积分:1
-
Appendix2B_neural_netwotk_classifiers
different classifier for matlab
- 2013-09-15 20:08:26下载
- 积分:1