-
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
-
kl
说明: (1)应用9×9的窗口对上述图象进行随机抽样,共抽样200块子图象;
(2)将所有子图象按列相接变成一个81维的行向量;
(3)对所有200个行向量进行KL变换,求出其对应的协方差矩阵的特征向量和特征值,按降序排列特征值以及所对应的特征向量;
(4)选择前40个最大特征值所对应的特征向量作为主元,将原图象块向这40个特征向量上投影,所获得的投影系数就是这个子块的特征向量。
(5)求出所有子块的特征向量。
((1) the application of 9 × 9 window of these images at random, a total sample of 200 sub-image (2) all sub-images according to out-phase into a 81-dimensional row vector (3) all 200 lines for KL transform vector, derived its corresponding covariance matrix of eigenvectors and eigenvalues, in descending order by eigenvalue and the corresponding eigenvector (4) a choice to 40 corresponding to the largest eigenvalue eigenvector as the PCA, the original image block to the 40 feature vectors on the projection, the projection coefficients obtained by this sub-block eigenvector. (5) calculated for all sub-block eigenvector.)
- 2007-08-07 18:04:13下载
- 积分:1
-
77
说明: i m engineer in telecom field can i download matlab codes
- 2010-05-05 17:59:51下载
- 积分:1
-
LEO_SPECK
一种无系数表的SPECK编码算法,不再单独划分动态存储空间用于 LSP、LIS 系数表,可在损失一定PSNR的情况下,降低算法的实现复杂度,提高处理速度
(A coefficient table SPECK coding algorithm is no longer a separate division of the dynamic storage space for the LSP, LIS coefficient table, in the case of the loss of a certain PSNR, reduce the algorithm complexity, increase processing speed
)
- 2012-05-16 18:29:26下载
- 积分:1
-
07476650HSoptflow
图像处理读入图像序列,可以读入20张图像每次,只要你设定参数(Read image processing image sequences, can be read into the 20 images each, as long as you set the parameters)
- 2011-10-06 11:49:21下载
- 积分:1
-
BPtianranqi
BP预测天然气需求量的问题,可下载来进行修改做预测分析。(BP prediction of natural gas demand, can be downloaded to be modified to do predictive analysis.)
- 2014-11-29 14:26:43下载
- 积分:1
-
AISradar
关于AIS与雷达信息融合方面的文章,其中包括航迹融合和模糊融合算法方面的知识,可为写这方面论文或者研究这方面的人员提供一些新的思路想法。(About AIS and radar data fusion aspects of the article, including track fusion algorithm and fuzzy aspects of the integration of knowledge can provide ideas for some new ideas to write papers or research in this area in this area staff.)
- 2013-12-12 16:36:49下载
- 积分:1
-
Analyzing-2-opt
Analyzing 2-opt for Traveling Salesman problem (TSP)
- 2020-08-28 09:28:12下载
- 积分:1
-
linearholdwithfeedback
this mdl explains the working of the linear hold circuit
- 2010-02-01 14:25:39下载
- 积分:1
-
MIMO-OFDM-Wireless
仿真书籍: Communications with MATLAB(Simulation books: Communications with MATLAB)
- 2013-04-12 17:07:42下载
- 积分:1