-
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
-
code2
3D shape reconstruction matlab code. It used shape from defocus technique with divergence. You can reconstruct 3D shape with only two different depth images.
- 2021-04-14 09:28:56下载
- 积分:1
-
gmres_m
gmres算法的一个特殊形式,用来求解大型稀疏矩阵方程(gmres algorithm a special form used to solve large sparse matrix equation)
- 2005-04-21 01:03:45下载
- 积分:1
-
SOMP
SOMP图像处理的matlab程序,可供参考学习。(The SOMP image processing matlab program)
- 2013-05-11 23:23:45下载
- 积分:1
-
matlablearn
这个是学习MATLAB的书籍,适合基础较差的朋友(This is a learning MATLAB books, suitable for the basis of poorer Friend)
- 2007-07-14 22:29:24下载
- 积分:1
-
MATLABforCProgrammers
MATLAB 和C语言进行混编的教程,很详细,具有较强的指导作用(MATLAB and C mixed language tutorial, very detailed, has a strong role in guiding)
- 2010-08-14 20:51:25下载
- 积分:1
-
rls
RLS算法详解及对多径信道的均衡,误差曲线特性(RLS algorithm)
- 2012-06-10 15:18:51下载
- 积分:1
-
DFIG
DFIG PID CONTROL ,MODELING DFIG IN STATE SPACE MODELAND CONTROL WITH PID CONTROL
- 2014-10-27 22:14:39下载
- 积分:1
-
zhichixiangliangji1
基于MATLAB利用Particle-in-cell模型,对梯形管内壁等离子体离子注入过程,进行了二维数值模拟.计算结果表明在中心电极附近出现了“阳极鞘层”,该鞘层内部不存在离子,而且在鞘层边缘离子密度最高.在上下管壁上的离子注入剂量呈现“m”形分布.通过对注入过程中等离子体密度分布和不同时间段管壁不同位置离子注入剂量的跟踪,发现“阳极鞘层”扩展行为是导致“m”形分布的原因.由于梯形管形状的不对称性,“阳极鞘层”的边缘向梯形长底方向扩展较快.在注入初始时刻离子注入的能量很低,随着时间延长离子能量逐渐升高,这是由离子初始位置决定的.可见梯形管自身形状决定了鞘层形状和最终的离子注入能量和剂量分布.(Based on MATLAB use Particle-in-cell model, the trapezoidal pipe wall plasma ion implantation process, the numerical simulation of two-dimensional calculation results show that in the vicinity of the center electrode to a "anode sheath," which does not exist inside the plasma sheath, and the highest in the sheath edge ion density ion implantation dose showing the upper and lower walls of the "m"-shaped distribution through the process of injecting the plasma density distribution and the wall at different locations in different time periods ion implantation dose tracking, found that "anode sheath "extension behavior is leading to" m "-shaped distribution of the reasons due to the asymmetry of the trapezoidal shape of the tube," Edge anode sheath "extension to the end of a long trapezoid direction quickly in the initial moment of implantation energy ion implantation is low ion energy with time gradually increased, which is determined by the initial position of the ion. visible trapezoida)
- 2014-01-09 14:08:57下载
- 积分:1
-
多小波分解
说明: 对数据进行多小波分解比传统的经验模态分解效果更好(The multi wavelet decomposition is better than the traditional empirical mode decomposition)
- 2020-07-24 09:47:52下载
- 积分:1