登录
首页 » matlab » output_of_DCT_in_image_fusion

output_of_DCT_in_image_fusion

于 2011-01-09 发布 文件大小:29KB
0 269
下载积分: 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 个回复

  • GetDisp-a-Getstress
    Displacement recovery for MLS method and compute stress from "An Introduction to Meshfree Methods and Their Programming [G.R. Liu, Y.T. Gu] " the orginal code is in fortran but this code is in matlab
    2013-08-18 13:56:20下载
    积分:1
  • matrix
    MATLAB矩阵及其运算,包括变量和数据操作、结构数据和单元数据等(MATLAB matrix and its operation, including the variables and data manipulation, data, structure data and cell)
    2010-11-14 12:00:36下载
    积分:1
  • service-2.1
    this is about the queuing models like mm1/mmc/marconi
    2009-06-05 17:08:08下载
    积分:1
  • bp
    说明:  三层bp matlab版,输入输出可选,训练样本可选(Three-bp matlab version, input and output optional optional training samples)
    2010-01-25 11:07:12下载
    积分:1
  • sevenpoint
    Matlab function to find fundamental matrix using the seven point algorithm. Returns upto 3 solutions.
    2010-01-29 08:16:19下载
    积分:1
  • Weighted-least-squares
    说明:  加权最小二乘法的原理 应用及其运算方式方法(Applying the principle of weighted least squares method and the ways and means of operation)
    2011-03-16 16:33:06下载
    积分:1
  • Analytical-design-of-robust-control
    说明:  化工不稳定时滞过程鲁棒控制的解析设计:针对化工不稳定时滞过程,提出一种两自由度控制结构 (Chemical instability in the process of robust control for time-delay analytic design: chemical instability for time-delay process, a two degree of freedom control structure)
    2008-11-29 13:41:52下载
    积分:1
  • artificial-segments.tar
    Artificial networks exampls
    2014-11-26 22:30:01下载
    积分:1
  • softsource
    二维FDTD仿真soft source入射到有限区域边界后的传播,区域中间放置了一块pec,并且设定了ABC边界条件,可以自动生成关于Ez,Hx和Hy的.avi文件,播放脉冲动态传输。(Dimensional FDTD simulation soft source is incident to spread limited area boundary after placing a piece of the middle region pec, and set the ABC boundary conditions, can automatically generate .avi files on Ez, Hx and Hy, and play dynamic pulse transmission.)
    2014-11-06 06:50:26下载
    积分:1
  • MatlabaC_CPP(3)
    最新版《精通Matlab与C/C++混合程序设计》( 第三版) 刘维编著- proficient Matlab and C/C mixed Program Design (third edition)(The latest version of Mastering Matlab and C/C++ programming mix (third edition) edited by Richard- proficient Matlab and C/C mixed Program Design (third edition))
    2015-04-21 08:55:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载