登录
首页 » matlab » output_of_DCT_in_image_fusion

output_of_DCT_in_image_fusion

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

  • TotalLE
    可用于分析放电信号的混沌特性,并能计算出各种参数值,十分有用,本人编制的(Discharge signals can be used to analyze the chaotic characteristics, and can calculate the value of various parameters, very useful, I prepared)
    2007-12-17 14:37:29下载
    积分:1
  • sobel
    完整的用sobel算子进行边缘检测的例子(Complete with a sobel edge detection operator is an example)
    2010-05-08 13:36:37下载
    积分:1
  • sudujisuanbuchang
    在非理想情况下,在对经纬度实施更新的情况下,一直长度,求速度。(In the ideal case, the latitude and longitude of implementing the update situation, has length, and speed.)
    2011-09-17 21:21:52下载
    积分:1
  • MATLAB-gatool
    遗传算法matlab程序,matlan遗传算法工具箱,放在工作目录即可使用。(matlab gatool)
    2014-01-14 14:07:51下载
    积分:1
  • incircle
    The INCIRCLE code formulates the problem as an LP with slack variables
    2010-07-08 14:44:49下载
    积分:1
  • frame
    基于matlab的小波变化之框图的典型应用(Matlab wavelet-based block diagram of a typical application of the changes)
    2010-09-19 17:02:56下载
    积分:1
  • STBC
    Adaptive Filter_Simon Haykin_Matlab_code STBC
    2021-05-13 02:30:02下载
    积分:1
  • PWM_IGBT
    pwm Igbt model in matlab simulink
    2021-03-13 14:19:24下载
    积分:1
  • analyse_fringes
    reconstruct image with an input image with interference fringe (use fft2, ifft2, angle)
    2011-01-20 19:27:37下载
    积分:1
  • final-table
    bootstrap method for calculate realibility of one shot system and simulation for accuracy it
    2013-01-03 18:27:08下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载