|  | 
 
| 
& q4 A! p; g9 @3 g! D
x
EDA365欢迎您登录!您需要 登录 才可以下载或查看,没有帐号?注册  一、源代码
 8 h4 h- e/ f5 d
 %Frequency Partition (FP) fusion technique%VPS Naidu, MSDF Lab, CSIR-National Aerospace Laboratories, Indiaclear all;close all;home;f = [0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1]; %frquency partition factor (bt. 0 to 1)%Reference imageimt = double(imread('saras9t.jpg'));% Imaged to be fusedim1 = double(imread('saras91.jpg'));im2 = double(imread('saras92.jpg'));% image fusionfor i=1:1%length(f)imf = fpdctf(im1,im2,f(i));imf = imf-min(imf(:));figure(3);subplot(221);imshow(imt,[]);title('原图')subplot(222);imshow(im1,[]);title('图1')subplot(223);imshow(im2,[]);title('图1')subplot(224);imshow(imf,[]);title('Frequency Partition 融合后图')e=imt-imf;figure(4); imshow(e,[])per_met1(i,:) = pereval(imt,abs(imf));per_met2(i,:) = perevalwt(imf);end- s3 `7 m7 {" o1 o$ ^
 % b( ?; K6 w; e4 Z  E: M6 `
 + C  Q4 a( g( k% Z5 G8 L! Z. p# |/ u/ @二、运行结果
 ' o+ G6 s, w' C6 C& @0 V
 ) A6 |8 m  a+ s5 ^$ F1 T
  + r9 x" ^) a! p: N / |" j$ f# B& n1 s3 ~  D
 / i6 F4 L* x1 ^  P/ l! p' `
 
 | 
 |