How to compare images in MATLAB?

0

See this image so you can understand me: link

I want to focus on GETTING a 3rd more complete image starting:

Image 1: focus from a left angle.

Image 2: focus from a right angle.

CREATE an Image 3: Result of the "fusion and union" of 1 and 2.

If someone can guide me it would be great, I'm new to MatLab, thanks in advance

    
asked by Ronald Flores 06.12.2017 в 17:18
source

1 answer

1

You can try with this code that I leave you below:

% Load two fuzzy versions of an original image
load cathe_1; X1 = X;
load cathe_2; X2 = X;

% Merge the two images from wavelet decompositions at level 5
% using sym4 by taking the maximum of absolute value of the 
% coefficients for both approximations and details
XFUS = wfusimg(X1,X2,'sym4',5,'max','max');

% Plot original and synthesized images
colormap(map);
subplot(221), image(X1), axis square, 
title('Catherine 1')
subplot(222), image(X2), axis square, 
title('Catherine 2')
subplot(223), image(XFUS), axis square, 
title('Synthesized image')

Visit link

    
answered by 09.09.2018 в 16:14