登录
首页 » matlab » dct

dct

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

  • matlabfilterdesign
    基于MATLAB的数字滤波器设计 MATLAB的基本知识 (Digital filter design based on MATLAB' s basic knowledge of MATLAB)
    2010-12-14 09:28:04下载
    积分:1
  • fftview
    做信号处理的时候经常会用到FFT,而MATLAB自带的FFT只能变换出一列系数,想做成频谱图还要自己加一部分,自己写了一个小程序,输入原始信号和采样率,可以画出标准的幅值谱和功率谱。(Do signal processing is often used when the FFT, and FFT MATLAB own transformation from a coefficient of only wanted to make Canada part of the spectrum but also their own, to write a small program, the input original signal and the sampling rate can be Draw a standard amplitude spectrum and power spectrum.)
    2011-02-01 12:07:10下载
    积分:1
  • fffttt
    this file plot fft . in this file two sine wave are plotted then by fft algorithm we plot fft
    2014-11-24 23:05:25下载
    积分:1
  • ond_mono_auto
    The traditional power droop controllers are commonly used in distributed generation (DG) units to share the loads among the parallel inverters. However, the parameters of the power transmission and distribution line in microgrid are small and generally presented high resistance-to-inductance (R/X) ratio which will seriously influence the performance of the traditional power droop controller, even leading to instability
    2013-11-17 05:34:31下载
    积分:1
  • 傅里叶级数算法 MATLAB-Relay-Protection
    介绍了假定输入为正弦量的算法,半周积分算法突变量电流算法,傅里叶级数算法,并且利用MATLAB Simulink仿真了110KV的3段电流保护(MATLAB Relay Protection)
    2013-05-09 10:33:03下载
    积分:1
  • EFFL
    可模拟单透镜的几何光线追迹图,分析焦距与面型的关系,作为输入zemax,codev光学设计软件的初始结构(single lens design,zemax,effective focal length )
    2013-06-01 10:01:25下载
    积分:1
  • MPSK信号基于高阶循环谱估计载波频率
    MPSK信号基于高阶循环谱估计载波频率matlab的代码(MPSK signals based on higher-order loop carrier frequency spectrum estimation matlab code)
    2014-05-29 21:47:14下载
    积分:1
  • Image_Processing
    Image processing matlab codes
    2010-12-22 00:38:57下载
    积分:1
  • MyJacobi
    Jacobi迭 代 法, 用于方程求根 matlab(Jacobi Iterative)
    2011-10-20 12:59:23下载
    积分:1
  • puschthrou
    LTE (Long Term Evolution) and LTE-Advanced have been developed to respond to the requirements of this era and to realize the goal of achieving global broadband mobile communications. The goals and objectives of this evolved system include higher radio access data rates, improved system capacity and coverage, flexible bandwidth operations, significantly improved spectral efficiency, low latency, reduced operating costs, multi-antenna support, and seamless integration with the Internet and existing mobile communication systems. The LTE physical layer includes transmissions in uplink and downlink. The uplink transmissions are governed by PUSCH. The throughput performance of PUSCH is analyzed here
    2015-05-10 13:56:58下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载