登录
首页 » matlab » dct

dct

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

  • 1
    说明:  实现Matlab与数模转换器的连接 这个程序是我们教授编写的 我们每次做试验都用他来连接试验箱的 (Matlab and digital realization of the connection of this process is the preparation of our professors to do the test every time we have to connect with his chamber of the)
    2009-05-14 14:56:02下载
    积分:1
  • Stiction
    Stiction建模Simulink model. 用于化工控制过程的测试。(Stiction model for performance assessment on process control)
    2020-12-10 21:59:18下载
    积分:1
  • 1
    说明:  为了提高认知无线电中感知用户对授权用户(主用户) 的检测概率,提出一种新的基于循环 谱统计量的主用户信号检测算法. 该算法利用循环谱离散频域平滑方法,对信号的循环谱在循环频 率处建立合理的检测统计量,然后求解得到对应不同虚警概率的判决门限,以使感知用户能检测信 噪比更低的授权用户信号.(To increase the detection probability of sensing users for licenced users (primary signals) in the cognitive radio , it put s forward a new primary users signal method based on cyclic spect rum statis2 tics. By using discrete f requency smoothing of cyclic spect rum , this algorithm establishes the reason2 able detection statistics on the cyclic f requency of signal cyclic spect rum , then solves and obtains the decision threshold correspond to different false alarm probability , as a result , making the sensing users can detect licenced users signal under lower signal in noise ratio (SNR) .)
    2010-04-14 20:26:37下载
    积分:1
  • classification
    说明:  matlab环境下的模式识别分类例程。高维样本投影到低维空间进行分类识别。(matlab environment classification pattern recognition routines. High-dimensional samples are projected onto low-dimensional space for classification and identification.)
    2008-11-19 17:25:27下载
    积分:1
  • phasetree
    利用matlab模擬phasetree的情況(using Matlab simulation of phasetree)
    2007-05-02 20:39:24下载
    积分:1
  • DQ_model_2phase_stationary
    DQ Model - single phase stationary
    2011-11-09 13:50:09下载
    积分:1
  • GAfitSim
    遗传算法寻优基于SIMULINK的寻优算法(Genetic algorithm optimization)
    2021-04-28 17:38:44下载
    积分:1
  • CONVCON
    通过matlab的m文件对gps卫星信号进行模拟(Gps satellite signal simulation)
    2009-04-18 18:51:06下载
    积分:1
  • 基于马氏距离时间序列分类
    基于马氏距离时间序列分类Time-series-classification-master(Time-series-classification-master)
    2020-12-20 19:49:08下载
    积分:1
  • Untitledx
    二维函数逼近仿真,包含误差分析,三维图显示(Two-dimensional function approximation simulation, including error analysis, three-dimensional map display)
    2011-05-28 19:50:17下载
    积分:1
  • 696524资源总数
  • 103939会员总数
  • 12今日下载