登录
首页 » matlab » output_of_DCT_in_image_fusion

output_of_DCT_in_image_fusion

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

  • psd_est
    Power Spectrum Estimation
    2009-10-05 18:08:55下载
    积分:1
  • Recall_precision_F_re1
    查准率与查全率的计算代码。使用matlab编写完成的。可以计算图像标注的查准率与查全率。(Precision and recall rate calculation code. Prepared using matlab complete. Image annotation can be calculated with precision recall rate.)
    2013-08-13 21:03:25下载
    积分:1
  • segy
    读取和写入segy地震文件,用matlab可以运行(Read and write files segy earthquake)
    2013-12-04 11:28:44下载
    积分:1
  • Three_phase_Induction_Motor
    Three phase induction motor in dq frame simulation
    2010-09-22 07:07:51下载
    积分:1
  • ZantTest1
    电力系统暂态分析计算 分段计算模型 简单计算模型(Measurements of transient analysis of a simple model calculation)
    2011-02-15 12:56:42下载
    积分:1
  • 轴承信号分析
    共振解调的过程如下:首先对采集到的信号进行傅里叶变换,然后利用传感器自身的谐振频率进行分析,对滤波后的信号进行包络,包络以后去除了高频部分,得到包络信号,再对改进的包络信号进一步进行低通滤波,最后对最终得到的信号进行傅立叶变换求其频谱图。共振解调的原理及其过程可以用图2 来进行表述。(The process of resonance demodulation is as follows: First, Fourier transform is performed on the collected signal, and then the resonance frequency of the sensor is used for analysis. The filtered signal is enveloped, and the high frequency part is removed after enveloping to obtain an envelope. The signal is further subjected to low-pass filtering on the improved envelope signal. Finally, the spectrum of the resulting signal is Fourier-transformed. The principle of resonant demodulation and its process can be expressed in Figure 2.)
    2021-01-13 10:58:48下载
    积分:1
  • leida
    将一张图片由直角坐标转换为极坐标,并且分别显示图片(the trans of coordination)
    2012-03-24 19:12:50下载
    积分:1
  • rn
    说明:  iris fisher classifier
    2012-05-02 00:08:20下载
    积分:1
  • numerical-computations
    bisection method for equation solving
    2013-12-10 13:10:06下载
    积分:1
  • NonCvxGroupSparsity
    Non Convex Algorithms for Group Sparse Optimization by Angshul Majumdar @matlab central (Non Convex Algorithms for Group Sparse Optimization by Angshul Majumdar @matlab central)
    2009-04-06 20:02:13下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载