登录
首页 » matlab » dct

dct

于 2010-06-13 发布 文件大小:1KB
0 260
下载积分: 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 个回复

  • sequence-correlation
    说明:  m序列相关性研究比较,m序列的产生方法, m序列自相关性函数的应用(m_sequence generate m_sequence correlation comparing )
    2011-03-14 10:45:40下载
    积分:1
  • kalman
    kalman filter matlab code
    2010-11-25 19:48:08下载
    积分:1
  • as
    说明:  基于MPLS的微观移动性管理协议模拟分析(MPLS-based micro-mobility management protocol simulation)
    2010-04-07 21:10:20下载
    积分:1
  • fitlertuning
    matlab code for the tuning filter in analog communications.
    2013-11-17 02:47:47下载
    积分:1
  • svm_demo
    matlab code for SVM Demo
    2015-02-07 13:53:44下载
    积分:1
  • ga
    说明:  用MA TLAB 语言及MA TLAB 语言编制的优化工具箱进行优化设计具有语言简单、函数丰富、用法比 较灵活、编程效率高等特点. 本文对遗传算法和基于MA TLAB 的遗传算法优化工具箱(GAO T ) 作了简要的介 绍、分析了优化工具函数, 并结合非线性、多峰值函数问题的优化实例, 说明了遗传算法是一种具有良好的全局 寻优性能的优化方法.(MA TLAB with language and language of the MA TLAB optimization toolbox to optimize the design of the language is simple, function-rich, and using more flexible programming and high efficiency. In this paper, genetic algorithm and MA TLAB based on genetic algorithm optimization toolbox (GAO T ) gave a brief introduction, an analysis of function optimization tool, combined with non-linear, multimodal function optimization problem examples to illustrate the genetic algorithm is a good global optimization method to optimize performance.)
    2007-11-28 19:20:39下载
    积分:1
  • noise
    用matlab处理音频, 对一段音频加入噪声然后滤除噪声还原, 绘制过程中的频谱图(Matlab deal with audio, for adding some audio noise reduction and filter noise, rendering the process of spectrum)
    2013-12-16 13:01:51下载
    积分:1
  • ofdm
    用MATLAB实现OFDM技术的仿真 用MATLAB实现OFDM技术的仿真(ofdm)
    2009-03-29 19:40:05下载
    积分:1
  • fft2_and_fdtd
    2D Fourier变换在光衍射方面的应用一例,对孔函数直接应用FFT2,得到衍射结果;以及FDTD方面的两个不成熟的程序(2D Fourier Transform-ray diffraction case of the application of direct application Kong FFT2 function, be diffraction; FDTD and the two immature procedures)
    2006-12-29 10:10:52下载
    积分:1
  • Particle-Swarms
    粒子算法,特征提取,比较详细的文献解释。(Particle algorithm, feature extraction, and a more detailed interpretation of the literature.)
    2013-01-23 21:07:12下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载