登录
首页 » matlab » dct

dct

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

  • Vblast_flatfading_channel
    V_BLAST flading channel 的一个实例,可供了解V-Blast系统的同仁参考!(V_BLAST flading channel an example of V-Blast system for understanding colleagues reference!)
    2010-11-23 07:07:53下载
    积分:1
  • CHAPTER4
    Communition MATLAB (Proakis)中的源程序,很不错(Communition MATLAB (Proakis) of the source, it is good)
    2008-05-16 18:03:54下载
    积分:1
  • Layer
    the file is for light
    2011-11-18 04:03:01下载
    积分:1
  • xinghaofengxi
    数字信号处理-理论、算法与实现 一书中所涉及到的绝大部分算法。 Dsp_c C语言编写的算法程序。 Dsp_fortran FORTRAN语言编写的算法程序。 Dsp_matlab用MATLAB编写的信号处理程序,包含本书各个章节的 大部分例题。(" Digital Signal Processing- Theory, Algorithm and Implementation of a book related to most of the algorithm. The DSP_C C language algorithm. Dsp_fortran FORTRAN language written algorithm. Dsp_matlab prepared using MATLAB signal processing procedures, including most of the examples of the various chapters of the book.)
    2013-04-24 21:13:43下载
    积分:1
  • OFDM
    OFDM正交多载波传输技术具有抗无线传输多径效应影响的能力,正逐步成为各种宽带无线数字传输系统(OFDM Orthogonal multi-carrier transmission technology with anti-multipath effects of wireless transmission capacity, is becoming a variety of broadband wireless digital transmission system)
    2010-05-13 21:24:52下载
    积分:1
  • ldpc
    LDPC码仿真,采用peg构造矩阵H,译码为spa。(The code for ldpc simulation under matlab。)
    2015-03-19 12:58:40下载
    积分:1
  • matlab神经网络43个案源代码
    说明:  基于MATLAB实现的43个经典神经网络源代码,包括遗传算法、BP神经网络、RBF神经网络等。(Based on MATLAB to achieve 43 classic neural network source code, including genetic algorithm, BP neural network, RBF neural network.)
    2021-04-09 08:08:52下载
    积分:1
  • GradEstimation
    Gradient Estimation by Derivative Measurement Method, LMS
    2010-06-16 02:40:44下载
    积分:1
  • xingjianlianlu
    详细描述星间链路系统,一共5个文件,可进行星间噪声和多普勒进行研究(Detailed description of the inter-satellite link system, a total of 5 files can be inter-satellite and Doppler study of noise)
    2010-10-22 19:52:49下载
    积分:1
  • DFT
    信号与系统试验报告 离散傅立叶变换(DFT)和频谱分析 一、实验内容 1、实验题目 (1)编写DFT、IDFT程序,并验证其正确性(提示:可利用冲激函数进行验证)。 (2)计算信号f(t)=e-at2sin(2∏ft)的离散傅立叶变换(DFT),求其振幅谱,相位谱、振幅最大值对应的频谱(检测主频)以及对发f(t)进行DFT变换的结果实现IDFT变换,并画出图形。 参数选择如下:频率f =30HZ,a=f 2㏑(M),M=2.5 2、通过实验理解信号振幅谱、相位谱的物理意义,掌握DFT、IDFT算法的实现方法。()
    2008-05-07 10:38:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载