-
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
-
89346531signal_modulation
说明: 这是本人下载的matlab 代码,希望能注册账号,成为会员(hello)
- 2010-04-08 10:45:41下载
- 积分:1
-
1
说明: 使用与广大科研工作者参考和借鉴降水的分析方法和使用的分析数据(With the majority of researchers using reference for precipitation analytical methods and analysis of data used)
- 2014-11-03 20:04:00下载
- 积分:1
-
基于Z-Source变换器的光伏发电升压电路
基于Z-Source变换器的光伏发电升压电路,包含光伏阵列模块、Z-Source变换器模块。(PV system based on Z-Source converter.)
- 2021-04-20 09:18:50下载
- 积分:1
-
lle_xin
LLE算法的改进算法程序,针对LLE算法中欧氏距离加以改进以后的LLE算法(LLE improved algorithm procedures, LLE algorithm to improve the future for China and the EU' s distance LLE algorithm)
- 2013-11-28 11:12:49下载
- 积分:1
-
盲去卷积滤波法
在matlab中使用盲去卷积滤波法进行图像的复原(Image restoration using blind deconvolution filtering in matlab)
- 2019-04-20 15:02:13下载
- 积分:1
-
B_curve
说明: matlab 闭曲线B样条的拟合,算例可直接使用,使用时只需要修改nq文件或者aline文件中的u1即可,也可定义u1后直接run aline(matlab closed B-spline curve fitting, numerical example can be used directly, using only a need to amend the nq documents or document aline can u1, u1 can be defined also directly run aline)
- 2008-10-27 10:41:26下载
- 积分:1
-
RandomForest
随机森林算法是一个可用于数据分类和显现回归的一个相当不错的算法,可实现很多功能。这个算法只需要将所需文件放入一个matlab路径中即可实现(A pretty good random forests algorithm is an algorithm for data classification and regression show, can achieve a lot of functionality. This algorithm only to the desired file into a matlab path can be realized)
- 2014-08-06 19:55:34下载
- 积分:1
-
Matlab_Radar_Simulation
一个编写的地面雷达的MATLAB仿真程序,基本包括了雷达的各项功能,适合初学者对雷达原理的了解和认识(A preparation of ground radar MATLAB simulation program, basically covers the various functions of the radar, the radar for beginners knowledge and understanding of the principles of)
- 2013-08-20 20:21:51下载
- 积分:1
-
K_mean_julei
这是一个用k均值聚类的matlab 程序
程序对高维数据利用k均值进行了聚类(This is a k-means clustering matlab program procedures for high-dimensional data for the use of k-means clustering)
- 2021-04-23 10:08:48下载
- 积分:1