Image fusion of 3 images

10 views (last 30 days)
VINIT KUMAR
VINIT KUMAR on 15 Sep 2020
Edited: VINIT KUMAR on 1 Oct 2020
Hi everyone, I have 3 gray images of same size, I want to apply image fusion on these 3 images, i.e. I want to fuse 3 images and form a single output image. Please Explain how to do it using Matlab commands?
  1 Comment
KSSV
KSSV on 15 Sep 2020
What do you mean by fusion here?

Sign in to comment.

Accepted Answer

VINIT KUMAR
VINIT KUMAR on 15 Sep 2020
Edited: VINIT KUMAR on 1 Oct 2020
Let there are 3 images i1, i2, i3 at first fuse i1 and i2 and store the resulting fused image as 'i'
i= wfusimg(i1,i2,'db2','level of wavelet decomposition', 'mean', 'mean');
[now fuse the only remaining input image i3 with the 1st fused image output 'i'] [Note- level of wavelet decomposition may be taken 2,3,4,5.. as per requirement]
Fused_image=wfusimg(i,i3,'db2','level of fusion', 'mean', 'mean');
Fused_image= uint8(Fused_image):
imshow(Fused_image);
%Above fusion is DWT decomposition based image fusion%

More Answers (1)

Bjorn Gustavsson
Bjorn Gustavsson on 15 Sep 2020
Perhaps:
Im_fused = Im1/3 + Im2/3 + Im3/3;
or more generally:
w = [1 2 3];
w = w/sum(w);
Im_wfused = w(1)*Im1 + w(2)*Im2 + w(3)*Im3;
or perhaps something completely different?
HTH

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!