-
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
-
Matlab
matlab编程,使用于初学者,很不错,主要与数字信号处理有关(matlab is fit for beginning learner)
- 2010-01-19 21:02:09下载
- 积分:1
-
poisson
这是一个将指定区域内的图像提取出来,与指定图像进行融合的matlab程序,由泊松方程引申而来(This is a designated area of the extracted image, with a specified image of Matlab integration process from the Poisson equation arising from)
- 2007-03-15 20:02:10下载
- 积分:1
-
antenna
利用GUI制作另一个简单的多种常见天线方向图的二维和三维制图界面。适合初学者掌握GUI功能和天线基础。(A simple GUI for some common antenna direction graph with 2-dimension and 3-dimension.)
- 2015-01-14 16:16:08下载
- 积分:1
-
DLTcode
针对图片或视频数据的眼睛区域的检测,以及眨眼的检测确定人脸区域的程序。 份关于智能图像增强的美国专利,对图像处理感兴趣的朋友可以看一下。(Tracking learning)
- 2013-11-26 14:17:49下载
- 积分:1
-
MagField.m
Computes earth magnetic field using the IGRF model
- 2014-02-13 16:38:08下载
- 积分:1
-
IEHelper_src
The purpose of this article is to show how to use IWebBrowser2, IHTMLDocument2 and IHTMLElement objects
- 2016-04-29 16:49:05下载
- 积分:1
-
ARIMA
MATLAB ARIMA 模型 做时间序列分析预测(MATLAB ARIMA )
- 2014-11-24 09:39:24下载
- 积分:1
-
spaceresection
空间后方交会程序,已知地面点坐标及对应像点求相机位置和姿态。(
Space resection procedure, known ground point coordinates and the corresponding image point for camera position and posture.)
- 2013-12-04 00:14:09下载
- 积分:1
-
Chapter_1
data converters by maloberti
- 2013-04-19 15:07:35下载
- 积分:1