-
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
-
1
说明: 用matlab进行中值去噪的程序,建立一个被噪声污染的函数然后进行中值去噪处理。(Median denoising using matlab program, the establishment of a noise pollution function then median denoising.)
- 2012-09-18 10:03:13下载
- 积分:1
-
Asynchronous-Machine
在dq坐标系下建立异步电机,并进行启动仿真(In the dq system of asynchronous motor, and start the simulation)
- 2015-06-30 11:12:55下载
- 积分:1
-
1_27
download document for reciver
- 2012-12-28 22:13:32下载
- 积分:1
-
RLS_filter2
噪声过滤器,实现混合噪声的去噪功能,能运行,由运行结果图!!(The noise filter, the realization of mixed noise denoising function, can run, run by the result map!!
)
- 2014-11-30 08:53:52下载
- 积分:1
-
Rules-debris-splicing
在MATLAB环境下实现规则文字碎片的自动拼接(Rules for implementation of the text fragments in the MATLAB environment automatic stitching)
- 2015-01-04 22:21:48下载
- 积分:1
-
simAnealing
Simulated annealing (SA) is a generic probabilistic metaheuristic for the global optimization problem of applied mathematics, namely locating a good approximation to the global optimum of a given function in a large search space. It is often used when the search space is discrete (e.g., all tours that visit a given set of cities). For certain problems, simulated annealing may be more effective than exhaustive enumeration — provided that the goal is merely to find an acceptably good solution in a fixed amount of time, rather than the best possible solution.
- 2010-07-07 12:57:40下载
- 积分:1
-
matlab_code
Lagrange interpolation, Heun...
- 2010-01-09 14:53:40下载
- 积分:1
-
MATLAB
说明: matlab命令大全,比较全,对大家学习matlab很有帮助的(matlab command Guinness, comparison-wide to all of us to learn matlab helpful)
- 2008-09-18 15:24:21下载
- 积分:1
-
Optical-flow-based-motion-estimation
基于光流场的运动估计,解决光流场计算的不适定问题的方法(Optical flow motion estimation, solving ill-posed problem of optical flow computation based approach)
- 2014-10-21 16:36:47下载
- 积分:1