-
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
-
dvr1
compensation of voltage sags and swells
- 2013-11-21 04:06:12下载
- 积分:1
-
Matlab
邓勇夫 基于K-均值聚类算法的数据分类方法MATLAB实现(K-means MATLAB)
- 2015-03-11 15:44:56下载
- 积分:1
-
Campbell
Campbell figure is very good method in solving nonlinear dynamics(this code gives a good approximation method to get Campbell figure)
- 2009-05-29 13:54:38下载
- 积分:1
-
calibration_Tsai
摄像机标定程序:用matlab语言编写,主程序为 Tsai,参考 TestData 以了解调用方法(camera calibration procedures : using Matlab language, the main program for Tsai, TestData reference to understand call methods)
- 2006-09-27 10:12:40下载
- 积分:1
-
channel
信道估计的源程序。可以参考一下,跑得通的(Channel estimation of the source.)
- 2009-12-28 20:31:52下载
- 积分:1
-
Lhs
说明: 拉丁超立方体模拟程序,用于易于拉丁超立方体的蒙特拉罗模拟(latin MC)
- 2021-05-14 16:30:02下载
- 积分:1
-
Simulink
MATLABSimulink工具箱精短教程:包括1、简单过程介绍;2、模块库简介;3、simulink基础;4、simuling建模仿真;5、S函数建立与应用;6、simulink简短例题(MATLABSimulink Toolbox essential short course: 1, simple procedure describes 2, module, introduction to libraries, 3, the Simulink based 4, simuling modeling simulation 5, s establishment and application of function, 6, the Simulink short examples)
- 2012-04-09 14:53:54下载
- 积分:1
-
Simulink_kalman
实现KALMAN滤波算法,通过跟踪,估计物体运动轨迹。-,matlab,matlab例程/matlab,做了仿真(achieve Kalman filtering algorithm, tracking, estimated object trajectories.-, Matlab and Matlab routines/Matlab, so the simulation)
- 2007-06-01 19:24:28下载
- 积分:1
-
CS--design-MATLAB
基于MATLAB的图像压缩感知毕业设计说明书。运用matlab软件,在离散傅里叶变换(DFT)和离散余弦变换(DCT)分块CS的基础上,采用正交匹配追踪算法(OMP)实现了对一维信号和二维图像的高概率重构。将重构结果与原始信号对比,结果表明,只要采样数M(远小于奈奎斯特定理所需要的采样率)能够包含图像所需要的有用信息时,CS算法就能精确的完成对图像的重构,并且重构效果也比较好(Compressed sensing image graduation design specification based on MATLAB)
- 2020-12-23 15:19:07下载
- 积分:1