I. Source code
%Frequency Partition (FP) fusion technique
%VPS Naidu, MSDF Lab, CSIR-National Aerospace Laboratories, India
clear 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 image
imt = double(imread('saras9t.jpg'));
% Imaged to be fused
im1 = double(imread('saras91.jpg'));
im2 = double(imread('saras92.jpg'));
% image fusion
for i=1:1%length(f)
imf = fpdctf(im1,im2,f(i));
imf = imf-min(imf(:));
figure(3);
subplot(221); imshow(imt,[]); title('original')
subplot(222); imshow(im1,[]); title(Figure 1 ' ' ')
subplot(223); imshow(im2,[]); title(Figure 1 ' ' ')
subplot(224); imshow(imf,[]); title(Frequency Partition fusion)
e=imt-imf;
figure(4); imshow(e,[])
per_met1(i,:) = pereval(imt,abs(imf));
per_met2(i,:) = perevalwt(imf);
end
Copy the code
Second, operation results
Third, note
Version: 2014 a