-
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
-
altrmean
alpha trimmed mean filter for image
- 2015-02-20 18:05:21下载
- 积分:1
-
erjiezhijie
间接解耦内模控制,可以克服多变量内模控制间的耦合现象(Indirect decoupling internal model control, can be overcome internal model control of multi-variable coupling between the)
- 2009-11-19 09:12:58下载
- 积分:1
-
MATLAB-2660
《MATLAB程序设计教程》源代码-2660(" MATLAB programming tutorial" source code-2660)
- 2011-05-07 20:27:13下载
- 积分:1
-
pulse-compression-radar-
雷达发射信号即典型的线性调频宽带信号的脉冲压缩算法仿真(
Algorithm simulation of pulse compression radar emitter signals
)
- 2015-02-08 15:42:58下载
- 积分:1
-
Program_exercise3
this file simulates robust control with LMI
- 2013-07-26 16:18:20下载
- 积分:1
-
tensor_toolbox_2.4.tar
this file is contained the tensor toolbox for matlab platform.
- 2011-11-13 01:28:32下载
- 积分:1
-
FLC
FUZZY CONTROL LOGIC for CAR HOVER PROE
- 2013-12-01 18:30:35下载
- 积分:1
-
gender-classification-experiments
这是用身高体重数据进行性别分类的实验。
用最小错误率贝叶斯分类器决策时,首先通过比较概率大小判断一个体重身高二维向量代表的人是男是女,然后再逐一与已知性别的数据比较,就可以得到错误率的统计。然后改变先验概率,重复上面的过程,观察数据结果的变化。
用最小风险贝叶斯分类器决策时,首先求出用最小错误率贝叶斯分类器得到的条件概率;然后根据人为给定的决策表,根据公式算出条件风险;然后逐一比较条件风险,找出使条件风险最小的决策(也就是分类)。最后用分类得到的结果逐一比较已经知道的原始数据,统计处错误率。
(This is the height and weight data for gender classification experiment.
With the minimum error rate Bayesian classifier decisions , first by comparing the probability of the size and weight to height to determine a person represented by two-dimensional vector is male or female , and then one by one with known gender data comparison, the statistical error rate can be . Then change the prior probability , repeat the above process , the results of the changes observed data .
Bayesian classifier with the minimum risk decision-making , first find the minimum error rate using Bayesian classifier to get the conditional probability then artificially given decision table , according to the formula to calculate conditional risk and then one by one more conditional risk , to find ambassador to the conditions of minimum risk decision making (ie classification) . Finally, the results obtained with the classification by-side comparison of the raw data have been aware of SD error rate .
)
- 2012-02-02 20:40:46下载
- 积分:1
-
course-of-MATLAB2010a-Zhangzhiyong
MATLAB2010a教程,适合于MATLAB的初学者学习!(MATLAB2010a tutorial)
- 2012-11-27 18:27:26下载
- 积分:1