登录
首页 » matlab » output_of_DCT_in_image_fusion

output_of_DCT_in_image_fusion

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

  • chap1
    MATLAB实现位置跟踪控制程序 MATLAB实现位置跟踪控制程序(MATLAB to achieve position tracking control program MATLAB to achieve position tracking control procedures)
    2008-06-12 18:44:53下载
    积分:1
  • waterm_tut
    it s about digital watermark using LSBs, DCT and Wavelet methods
    2009-10-12 14:16:46下载
    积分:1
  • beampattern
    由切比雪夫权值矢量及阵元间距画波束方向图:有x输入,计算该方向的值,否则计算所有方向的值,画出方向图(By the weight vector and the array element spacing beam pattern draw: there is x input, calculate the value of the direction, otherwise the value calculated in all directions, draw the direction of graph)
    2009-04-08 15:03:32下载
    积分:1
  • New-folder-(3)
    a pdf for learning of matlab
    2011-10-21 13:58:31下载
    积分:1
  • HATAMODEL
    Hata pathloss model matlab implementation.
    2015-02-19 10:00:13下载
    积分:1
  • New-Compressed-(zipped)-Folder
    it is an audio watermarking code.
    2013-05-25 22:24:02下载
    积分:1
  • LZ78
    本程序简单地实现了LZ78编码的功能,包括从文件输入以及输出(This program implements the LZ78 encoding simple features, including file input and output from)
    2010-12-23 19:10:04下载
    积分:1
  • fdtd3D_pec
    基于matlab的三维时域有限差分程序(cpml吸收边界),使学习时域有限差分方法的好资料。(Matlab-based three-dimensional finite difference time domain procedures (cpml absorbing boundary), so that learning FDTD good information.)
    2007-11-26 20:08:05下载
    积分:1
  • BCC
    this program is a code for DEA, BCC model in matlab programming . I hope that can help you.
    2013-09-23 21:32:44下载
    积分:1
  • Genetic-Algorithm-for-TSP
    本资源为自己编写的遗传算法求解TSP问题的Matlab代码,共大家共同学习和研究。(This resource for TSP is to write your own genetic algorithm Matlab code, total common learning and research.)
    2015-04-13 21:16:26下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载