EDA365电子论坛网
标题:
基于matlab Frequency Partition图像融合
[打印本页]
作者:
ulppknot
时间:
2021-4-23 17:47
标题:
基于matlab Frequency Partition图像融合
0 H9 V$ T: u) l V$ _
一、源代码
5 } J, m( d" x! h. w9 d) }1 F
%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('原图')
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
' g% [" ~: Z5 h. A5 X5 j( q
& ]: ^; z9 |$ l/ i1 p8 M
. `- o( O$ t! Y- J6 g+ y
二、运行结果
/ z. V: _# m3 A4 a% ?! A
/ Z W; D; @" t
1.png
(117.14 KB, 下载次数: 9)
下载附件
保存到相册
2021-4-23 17:46 上传
. s+ Z5 v. d& _" o l
' U2 w q& U& P* ^, X$ H: X H
4 r0 t- r1 Z- o# u
作者:
yin123
时间:
2021-4-23 18:48
基于matlab Frequency Partition图像融合
作者:
twel2e
时间:
2021-4-25 16:58
收藏一下
欢迎光临 EDA365电子论坛网 (https://bbs.eda365.com/)
Powered by Discuz! X3.2