登录
首页 » matlab » output_of_DCT_in_image_fusion

output_of_DCT_in_image_fusion

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

  • zhixin
    说明:  可以求一个物体的质心,在获取物体图像后。希望大家多多交流(Can request an object centroid, after access to the object image. Hope that more exchanges)
    2010-04-16 11:18:17下载
    积分:1
  • matlab1
    一个很好的实例,很有用的哦,大家来看看啊。(A good example, very useful, oh, we sight for visitors.)
    2011-04-22 16:24:02下载
    积分:1
  • poly
    objectarx 自定义实体例子 objectarx 自定义实体例子 objectarx 自定义实体例子(objectarx acdbentity test objectarx acdbentity test objectarx acdbentity test)
    2015-01-28 16:44:00下载
    积分:1
  • change
    变步长复化simpson公式,与其他的数值积分比较(change step complex simpson formlua)
    2011-01-09 13:38:55下载
    积分:1
  • SegmentationWithGaborf
    kmean clustering based segmentation using gabor filter bank
    2012-10-02 03:41:39下载
    积分:1
  • tspjinjisousuo
    禁忌搜索算法的matlab实现,以旅行商问题为例,使用该算法找出满意解。(Tabu search algorithm matlab realize, to the traveling salesman problem, for example, the use of the algorithm to find satisfactory solution.)
    2013-11-24 17:41:09下载
    积分:1
  • fdv53
    人脸识别程序代码 基于MATLAB的人脸识别代码(Face recognition code based on MATLAB code for face recognition)
    2010-06-17 20:49:11下载
    积分:1
  • lridex
    matlab函数,专门计算列车车体横向sperling平稳性指标。调用方式:y=lridex(acc),其中acc为测得的或仿真得到的车体横向加速度(不包括时间列)。(matlab function, specifically calculate the train body lateral sperling smooth indicators. The invocation: y = lridex (ACC), wherein acc obtained for the measured or simulation vehicle body lateral acceleration (not including the time column).)
    2013-03-27 20:57:45下载
    积分:1
  • cyclo
    dynamic voltage restorer for sag and swell
    2013-11-20 22:41:39下载
    积分:1
  • 高考志愿填报系统
    我们在暑假编写的高考志愿辅助填报系统,通过一定数量的检验,有一定的可行性,仅供参考(prepared in the summer of the candidates support the voluntary reporting system, through a certain amount of testing, a certain possibility is for reference only)
    2005-08-23 09:53:50下载
    积分:1
  • 696516资源总数
  • 106450会员总数
  • 5今日下载