-
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
-
sc_algorithms_simulation
说明: 对OFDM系统中的时频同步算法进行了仿真,采用的是SC算法!(OFDM systems on time and frequency synchronization algorithm for the simulation, using the SC algorithm!)
- 2010-04-11 23:53:54下载
- 积分:1
-
dwt-matLab-marking
提出了一种基于小波变换可抗击几何攻击算法。在水印嵌人
部分# 首先对宿主图像进行小波分解
、
嵌人水印, 再通过余弦变换求得该水印图像的一个特征向量, 利用该特征向量和水印
信息通过12 31 函数生成一个二值逻辑系列, 将该序列作为密钥/ 水印提取部分为# 对待测的图像进行小波变换, 再通过余
弦变换求得待测图像的一个特征向量, 利用该特征向量和密钥通过1 2 4 1 函数提取出水印。(Proposed based on wavelet transform algorithm can be against geometric attacks.# Watermark embedded in the first part of the host image wavelet decomposition, embedded watermark, and then through the cosine transform of the watermarked image obtained by a feature vector, using the feature vector and the watermark information through 1231 to generate a binary logic function series, the sequence as the key/watermark extraction part is# treated transform measured image, and then obtained through the cosine transform the image of a feature vector under test, using the feature vector and the key function by 1241 to extract the watermark .)
- 2011-05-15 23:25:27下载
- 积分:1
-
MATLAB-code-for-use
matlab实用程序,可以直接拷贝复制,主要是图像的处理(matlab code for use)
- 2013-12-20 16:13:42下载
- 积分:1
-
E5
说明: E5去白噪声、高斯白噪声分析的源程序,用来处理做分析前的数据(E5 to white noise, Gaussian white noise analysis of the source)
- 2010-10-21 10:58:23下载
- 积分:1
-
rengongmianyi
Matlab人工免疫算法的利用,希望对大家有帮助(Matlab using artificial immune algorithm, we want to help)
- 2010-05-13 17:00:07下载
- 积分:1
-
Truss-Optimization-using-Genetic-Algorithm
Truss optimization using genetic alorithm in matlab under evolutionary computing.
- 2015-02-02 00:32:29下载
- 积分:1
-
1D-standard-Kalman-Filter-(Simulink-model-and-pro
1D standard Kalman Filter (Simulink model and program
- 2015-03-13 05:47:31下载
- 积分:1
-
f3
说明: 这是一个利用FFT内插法求解载波频率问题,精确度很高。(This is to solve a carrier frequency problems using interpolation FFT.It is high degree of precision.)
- 2017-04-10 10:10:28下载
- 积分:1
-
sweb
sweb a pedestrian MATLAB web session starter
- 2010-10-18 05:53:07下载
- 积分:1