While using 'wfusimg' to fuse the images, how to 'load' in 'jpg' documents?

2 vues (au cours des 30 derniers jours)
Ziyu Chen
Ziyu Chen le 12 Août 2019
Modifié(e) : KALYAN ACHARJYA le 12 Août 2019
% Example 1: Fusion of two different images
% Load two original images: a mask and a bust
load mask; X1 = X;
load bust; X2 = X;
XFUSmean = wfusimg(X1,X2,'db2',5,'mean','mean');
colormap(map);
subplot(223), image(XFUSmean), axis square,
title('Synthesized image, mean-mean')
What is 'X'?

Réponses (1)

KALYAN ACHARJYA
KALYAN ACHARJYA le 12 Août 2019
Modifié(e) : KALYAN ACHARJYA le 12 Août 2019
how to 'load' in 'jpg' documents?
image1=imread('1-1.jpg');
image2=imread('1-1a.jpg');
fuse_images= wfusimg(image1,image2,'db2',5,'mean','mean');
colormap(map);
image(fuse_images), axis square,
title('Synthesized image, mean-mean')
Please do change the files names

Community Treasure Hunt

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

Start Hunting!

Translated by