-
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
-
CT
说明: Total variation applied to Compted Tomography
- 2010-01-10 16:49:26下载
- 积分:1
-
g-p
说明: 改程序是计算G_P关联维维数的程序 混沌理论(G_P CorrelationDimension_GP\Main_CorrelationDimension_GP.m)
- 2009-08-30 09:31:23下载
- 积分:1
-
NBCOFdEst
窄带相关脉冲估计多普勒频移(包括解模糊算法)(Narrowband related pulse Doppler shift estimation (including solution fuzzy algorithm))
- 2013-11-23 22:49:27下载
- 积分:1
-
Gaborfiltering
一种改进型Gabor滤波方法。此程序可以Gaobr的滤波效果。并且是分4个不同的方向滤波。(An improved Gabor filtering method.)
- 2013-11-20 10:28:23下载
- 积分:1
-
Visualization-in-MATLAB
工程计算可视化与MATLAB实现:本书列举了大量的算例,并附有数值解和图形解,使学生通过上机学到数学和相关领域的知识。(Engineering Computing and Visualization in MATLAB: This book lists a number of examples, along with numerical and graphical solution, so that students learn mathematics through the machine and the related fields of knowledge.)
- 2011-11-11 15:18:05下载
- 积分:1
-
primal_dual
全变差求解病态线性方程组的算法说明及其Matlab上的实现代码,在反演问题中常常会用到,全变差正则化具有边界识别强的特点,在图像去噪和恢复方面很有价值!(Total Variation solving ill-conditioned linear equations Matlab algorithm description and implementation code on the inverse problem will often be used, total variation regularization with boundary recognition and strong features, in terms of image denoising and restoration is very value!)
- 2014-12-18 15:08:55下载
- 积分:1
-
KSVD
说明: ksvd字典学习,KSVD算法程序,完成KSVD重构字典的程序(Ksvd dictionary learning KSVD algorithm program to complete the dictionary KSVD reconstruction program)
- 2019-11-20 21:05:24下载
- 积分:1
-
mat3
will apply adaboost algorithm for making a strong classifier.
- 2011-07-28 16:22:10下载
- 积分:1
-
Matlab-and-cPP-programming
精通Matlab与C/C++ 混合程序设计(第2版)(Proficient in Matlab and C/C++ mixed program design (2nd edition))
- 2012-06-25 16:08:21下载
- 积分:1