登录
首页 » matlab » dct

dct

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

  • colea
    colea程序,处理语音信号的M函数集合,对于学习语音处理有很大帮助(colea procedures to deal with M-function voice signal a collection of voice processing for the study of great help)
    2009-06-08 18:20:29下载
    积分:1
  • ssim
    经修改的SSIM代码,在MATLAB环境下运行。不能使用JPG格式的图片。(SSIM revised code, run in the MATLAB environment. You can not use JPG format images.)
    2015-03-16 17:31:58下载
    积分:1
  • sym2str
    matlab程序,将符号计算的结果转化为符号表达式(convert the symbol format to a char expression)
    2021-04-12 17:18:56下载
    积分:1
  • kalmnintroduction
    卡尔曼滤波器介绍,适合初学者了解卡尔曼滤波器的原理!(Kalman filter is introduced, suitable for beginners to understand the principle of Kalman Filter!)
    2010-05-21 22:34:40下载
    积分:1
  • conmunicationnnnnnn
    建立matlab与kingview之间的dde连接(Finsh the DDE connection between matlab and kingview)
    2012-02-13 15:12:40下载
    积分:1
  • support-vector-machine
    support vector machine-used for feature classification for matlab10
    2012-02-28 18:54:59下载
    积分:1
  • 2D_FDTD
    时域有限差分法 Finite Difference Time Domain, FDTD程序,二维的,希望对大家有所帮助。(Several two-dimension Finite Difference Time Domain programs. Hope helpful.)
    2009-10-10 22:35:49下载
    积分:1
  • Bursa_Wolf
    个人整理的,最齐全的Bursa_Wolf,布尔莎坐标转换资料,含matlab实例,说明,以及相应的引文资料。 纯属个人原创,请注明引用出处!
    2010-12-15 19:42:46下载
    积分:1
  • registration
    automatically register 2 images in matlab
    2009-06-11 01:33:11下载
    积分:1
  • tuxiangquzao
    说明:  程序使用说明: 1、软件应用平台:Matlab6.5或更高; 2、打开方法: 将文件所在目录设为工作目录,然后打开wavlet.fig,在noise提示框下输入噪声强度,在0-0.1之间(不能为零)。 然后点process按钮,就会显示实验结果,包括原图像,加噪图像,去噪图像的对比以及当前的psnr值。 wavlet.m是程序文件。 程序内容写在在程序的注释里。 阈值的更改没有实现可视化,在源程序中可以改。(Procedure for use: 1, Software Platform: Matlab6.5 or higher 2, open the way: the file directory set the working directory, then open the wavlet.fig, the noise boxes, enter the noise level, in the 0-0.1 between (not zero). Then process the button, it will show the experimental results, including the original image, noise image denoising image contrast and the current psnr value. wavlet.m is the program file. Program content in the program notes written inside. Threshold changes are not visualized in the source program can be changed.)
    2010-04-17 01:26:54下载
    积分:1
  • 696516资源总数
  • 106430会员总数
  • 0今日下载