登录
首页 » matlab » output_of_DCT_in_image_fusion

output_of_DCT_in_image_fusion

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

  • excitation
    excitation generatrice asychrone
    2012-05-11 18:52:00下载
    积分:1
  • Automated-Diabetic-Retinopathy-Detection
    Retinopathy detection
    2014-09-17 14:22:59下载
    积分:1
  • MyFiles
    EM Wave propagation and antenna analysis m-files:
    2012-10-09 03:39:57下载
    积分:1
  • line
    matlab程序,利用Hough变换进行线提取。有图,可直接运行查看效果!(matlab procedures, the use of Hough transform for line extraction. There are maps, can be run to view results!)
    2009-06-05 17:21:22下载
    积分:1
  • chap7
    说明:  自动控制系统中滑膜变结构控制matlab仿真程序(Automatic Control System of Variable Structure Control of synovial matlab simulation program)
    2010-04-21 18:20:14下载
    积分:1
  • ofdma
    ofdma matlab code....orthogonal FDMA
    2011-08-20 10:09:44下载
    积分:1
  • pso
    用MATLAB实现PSO算法,程序没错误,可以直接运行(Implementation of PSO algorithm with MATLAB, the program no error, can be directly run )
    2013-08-04 12:05:14下载
    积分:1
  • GMRES
    经典的GMRES算法,用matlab实现,与matlab自带gmres比对成功(Matlab implementation of the GMRES algorithm)
    2012-05-21 13:40:52下载
    积分:1
  • computing-reflecting-series
    设计地震子波和反射系数序列,合成单道地震记录,再利用对数分解法求取子波,反褶积得反射系数序列(Design seismic wavelet and reflection coefficient sequence, the synthesis of single-channel seismic recording, re-use logarithmic decomposition strike wavelet deconvolution reflection coefficient sequence)
    2012-12-03 21:32:15下载
    积分:1
  • BCJRForTurbo
    BCJR decoder,inputs are source bit,coded bit, and a priori, outputs are source bit and coded bit (a posteriori)(There s an array named table inside, describe the trellis, five column is: start state, destination state, source bit,coded bit 1,coded bit 2, respectively.)
    2011-01-13 10:52:46下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载