登录
首页 » matlab » output_of_DCT_in_image_fusion

output_of_DCT_in_image_fusion

于 2011-01-09 发布 文件大小:29KB
0 298
下载积分: 1 下载次数: 12

代码说明:

  u can calculate DCT clc inp = imread( Im1.jpg ) inp1 = imread( Im2.jpg ) A = double(inp(:,:,1)) B = double(inp1(:,:,1)) A1=double(blkproc(A,[8 8], dct2 )) B1=double(blkproc(B,[8 8], dct2 )) [r,c] = size(A1) r1 = [] for i=1:r for j=1:c if A1(i,j) > B1(i,j) r1(i,j)=A1(i,j) else r1(i,j)=B1(i,j) end end end r1= double(r1(:,:,1)) C=blkproc(r1,[8 8], idct2 ) round(C) C1=idct2(r1) figure imshow(uint8(C)) figure imshow(uint8(C1)) imwrite(uint8(C), dct8x8min.jpg )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • A13encodeanddecode
    按照A13律编码对一个离散序列对信号进行编码,通信原理(encode by A13-law)
    2010-11-15 17:14:14下载
    积分:1
  • digital-signal-process
    数字信号处理的几个关于快速傅里叶变换的例子的函数,(Fast transforms are important tools in digital signal processing.)
    2012-04-30 11:32:03下载
    积分:1
  • MIMO_TOOLS_Matlab-V2.2
    MIMO TOOLBox Matlab V2.2
    2014-10-27 18:31:47下载
    积分:1
  • yibudiandongjifanjiezhidong
    异步电动机反接制动,与陈伯时电机拖动课程内容相似(Asynchronous motor reverse braking Emulator)
    2013-09-20 19:33:16下载
    积分:1
  • CGA
    CGA - Canonical Genetic Algorithm with matlab
    2021-03-29 17:39:11下载
    积分:1
  • Matlab_Cpp_Programming
    刘维的《精通Matlab与Cpp混合程序设计》。 本书主要介绍如何运用Matlab与C/C++进行混合程序设计。共分8章,主要包括:Matlab程序设计初步、Matlab编译器、Matlab与C语言的接口、生成可独立运行的Matlab程序、Visual C++调用Matlab程序、Matlab DotNet Builder与Visual C++、Matcom与C/C++以及Visual C++调用Mattab C++数学库。另外,附录中介绍有关动态链接库的基础知识。(By Liu Wei. This book describes how to use Matlab and C/C++ mixed programming. Is divided into eight chapters, including: Matlab programming initially, Matlab compiler, Matlab and C language interface, generates an independent run Matlab programs, Visual C++ calling Matlab program, Matlab DotNet Builder and Visual C++, Matcom and C/C++ and Visual C++ call Mattab C++ math library. In addition, the appendix introducing the basics of the dynamic link library.)
    2010-09-04 18:50:58下载
    积分:1
  • tulunjigou
    说明:  MATLAB编写的凸轮机构绕中轴线旋转的程序(MATLAB prepared by the cam rotation axis around which the procedure)
    2006-05-14 09:06:38下载
    积分:1
  • jade
    利用MATLAB实现的两个语音的盲信号分离(BSS)~非常有用(MATLAB implementation of the two voice Blind signal separation (BSS) ~ very useful)
    2020-11-04 22:29:53下载
    积分:1
  • COE466LAB1.m.tar
    A data classifiction matlab script
    2012-11-30 08:03:23下载
    积分:1
  • MARKOV
    MARKOv的应用 Step 1,求出各食品数据的增长率; Step 2,编程,使快速上升(>=0.03) ,在程序中用“2”表示;缓慢上升 (0,0.03),在程序中用“1”表示;相对不变 0,在程序中用“0”表示;缓慢下降(-0.03,0) ,在程序中用“-1”表示;快速下降 (<=-0.03),在程序中用“-2”表示;得到各类食品在不同时期的 ; Step 3,统计相邻增长率变化的一致的次数 ,就菜籽油而言,在2010-3-5到2011-3-15,其增长率为先快速增长后相对不变出现的次数为‘20’=1;具体42中食品的输出情况见附录; Step 4,对每一种食品,分五类进行叠加求和,分别为“先快速增长”、“先缓慢增长”、“先相对不变”、“先缓慢下降”、“先快速下降”;得到 ; Step 5,求出一步转移概率矩阵E ;即 每行的每五个数据依次与对应的 相除,得到概率矩阵E 的一行; Step 6,使用求出的一步转移概率矩阵E ,并求出不同时期的状态概率(MARKOv application Step 1, to obtain the growth rate of each food data Step 2, the programming, so fast rise (> = 0.03), in the program with " 2" slowly rising (0,0.03), used in the program " 1" indicates relatively constant 0, by the program " 0" indicates slow decline (-0.03,0), in the program by " -1" rapid decline (< =- 0.03), in the program with " -2" means get all kinds of food at different times Step 3, the same number of adjacent growth statistics change on rapeseed oil, in 2010-3-5 to 2011-3-15, Its growth rate is relatively rapid growth of the number of times after the first change occurs is ' 20' = 1 42 Output of specific food in Appendix Step 4, for each kind of food, five points are superimposed sum, respectively, " First of rapid growth," " first slow growth" , " first relatively unchanged" , " first slow down" , " first rapid decline" get Step 5, to obtain a step)
    2015-04-21 16:56:16下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载