登录
首页 » matlab » dct

dct

于 2010-06-13 发布 文件大小:1KB
0 281
下载积分: 1 下载次数: 5

代码说明:

  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 )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • mono_LBP
    一种处理图像的新方法,monogenic,用于人脸识别,识别率不错(A new method of image processing, monogenic, for face recognition, recognition rate of well)
    2010-11-18 19:56:52下载
    积分:1
  • Automatic-seeded-region-growing-for-color-image-s
    matlab image processing Automatic Image Segmentation by Integrating Color-Edge Extraction and Seeded Region Growing
    2012-12-31 23:53:33下载
    积分:1
  • SVPWM
    Space vector pulse width modulation
    2013-04-06 04:30:43下载
    积分:1
  • kalman
    自适应卡尔曼滤波在分析变形监测数据的实现(Adaptive Kalman filtering in the analysis of deformation monitoring data to achieve )
    2011-12-21 20:30:24下载
    积分:1
  • QPSK_for_DPD
    刚刚做的数字非线性功放的预失真模型,对调制信号的非线性功放造成的失真有很好的修复作用。(Just do digital predistortion model nonlinear amplifier, power amplifier nonlinear distortion caused by the modulation signal has a good repair.)
    2016-06-08 16:33:46下载
    积分:1
  • NXT-toolbox
    乐高公司开发的NXT机器人,通过matlab进行编程的小工具箱(Lego NXT robot, developed by a small toolbox matlab programming)
    2011-04-22 20:53:08下载
    积分:1
  • MATLAB-LATEX
    Matlab中使用LaTeX字符编辑数学公式,很漂亮哦(Matlab LaTeX characters used in editing a mathematical formula, it is very beautiful, oh )
    2014-09-18 08:46:26下载
    积分:1
  • cvx
    这是斯坦福大学的教授研制的软件,中国现在学习用的很广的工具,我给出的是相关的资料文章。(This is a professor at Stanford University, developed software, China is now very widely used learning tools, I give the relevant information in the article.)
    2014-11-30 12:23:40下载
    积分:1
  • eemd
    本程序是希尔伯特黄变换中的EMD分解得到IMF分量的源程序(This procedure is the Hilbert-Huang transform EMD decomposition IMF component of the source)
    2013-10-16 17:47:59下载
    积分:1
  • MatlabTutorial
    some tutorials and books of matlab
    2013-12-22 02:46:23下载
    积分:1
  • 696516资源总数
  • 106627会员总数
  • 16今日下载