-
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
-
16QAM
16QAM在SG中的模型,对于学习system generator 很实用的(this 16QAM application in SG,and it s very useful for you to study system generator)
- 2010-11-18 10:52:02下载
- 积分:1
-
FCMcluster
模糊C均值的详细说明文档,还包括硬分类与模糊分类的区别.欢迎下载(detailed documentation, including rigid classification and fuzzy classification distinction. Welcome to download)
- 2007-03-17 22:23:02下载
- 积分:1
-
ECWMF_MK
有关再分析数据的MK检验MATLAB程序(test to analyze the data)
- 2015-03-10 20:04:45下载
- 积分:1
-
GOODturbo
非常好的turbo编译码程序,可以给初学者提供参考,共同进步。(Very good turbo encoding and decoding program can provide a reference for beginners and common progress.)
- 2013-05-21 08:23:54下载
- 积分:1
-
200711912145333437
模拟退火算法TSP matlab实现(Simulated annealing algorithm realize TSP matlab)
- 2007-11-09 07:00:34下载
- 积分:1
-
Part-two-figure-to-determine
MATLAB写的,从基本原理出发,判定给定图是不是二部图,文件中有两个例子可以验证算法。(Written by MATLAB, starting from the basic principle, determine a given graph is figure, can validate algorithm file, there are two examples.
)
- 2013-11-01 10:42:01下载
- 积分:1
-
xianxingfenzu
基于matlab的7-4线性分组器设计,简单易懂,有界面(7-4 matlab-based linear block design, easy to understand, interface)
- 2013-11-09 16:47:44下载
- 积分:1
-
Validity-Measures-for-the-Fuzzy-Cluster
Validity Measures for the Fuzzy Cluster
- 2014-02-20 10:14:03下载
- 积分:1
-
EMD
EMD分解算法,包含matlab、C++、JAVA三種環境下的編程,附有說明(EMD decomposition, including matlab, C++, JAVA programming under three annotated)
- 2021-03-31 10:39:09下载
- 积分:1