-
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
-
powerflowinmatlab
国外的潮流计算程序 MATLAB矩阵思想很重要 我有些糊涂 希望大家共同讨论(Program abroad, the trend of thought is very important MATLAB matrix confused me some hope that we discuss)
- 2009-03-29 17:15:52下载
- 积分:1
-
matlab
用快速傅里叶变换实现图像融合,将一个人脸上的妆融合到另一个人脸上(With fast Fu Liye transform image fusion, a person will face makeup into another face.)
- 2013-11-29 11:15:03下载
- 积分:1
-
adaptive_median_filter
自适应中值滤波与中值滤波算法的比较,说明自适应中值滤波效果好。(Adaptive median filter and median filtering algorithm comparing the adaptive median filter shows good results.)
- 2010-12-31 17:02:57下载
- 积分:1
-
image-fusion-matlab
图形图像的处理 基于加权的融合方法MATLAB程序设计(Graphic image processing method based on weighted fusion MATLAB programming)
- 2011-04-26 08:07:30下载
- 积分:1
-
MATLABxiaobofenxi
里面是小波分析的实现方法,还有数学介绍。数字信号处理上机实验答案(第三版).docx的电子版(There is a wavelet analysis method, as well as mathematical description. Digital signal processing on the experimental answer (third edition). Electronic version of docx)
- 2013-12-16 23:28:08下载
- 积分:1
-
Kalman
卡尔曼滤波的基础上简要介绍了和处理代码。过程通过随机噪音过滤掉,以获取原始信号。(Kalman filter based on a brief introduction and processing code. Process through the filter out random noise to obtain the original signal.)
- 2009-04-23 20:10:25下载
- 积分:1
-
BinaryArithmeticcoding
说明: 自编二值算术编码算法的matlab演示。从text.txt读取信息,编码过程及结果由matlab图形演示(binary arithmetic coding algorithm matlab demo. Reading information from Text.txt and the encoding process and the results are showed by the matlab graphics demo step by step.)
- 2009-08-10 23:36:10下载
- 积分:1
-
matlab_antenna
This matlab code about how to design antenna in MIMO
- 2013-12-12 18:06:49下载
- 积分:1
-
Corr_Freq_temp_shift
surface acoustic wave for filter correlation
- 2014-01-17 22:16:40下载
- 积分:1