Effacer les filtres
Effacer les filtres

reading multiple images

2 vues (au cours des 30 derniers jours)
k.v.swamy
k.v.swamy le 5 Déc 2011
hi all, i have two sets of images which i need to compare.i have to find the intersection region of those two sets.can any one suggest how to approach and if possible with an example. regards k.v.swamy

Réponse acceptée

Chandra Kurniawan
Chandra Kurniawan le 5 Déc 2011
Hello,
In order to find the intersection of two similar image,
you can do image subtraction.
clear; clc;
I = double(imread('cameraman.tif'));
J = double(I);
J(115:155, 192:204) = 50;
intersection = abs(J - I);
imshow(uint8(I)); title('Image A');
figure, imshow(uint8(J)); title('Image B');
figure, imshow(uint8(intersection)); title('Intersection A and B');
  2 commentaires
k.v.swamy
k.v.swamy le 5 Déc 2011
excellent thank you
k.v.swamy
k.v.swamy le 6 Déc 2011
hi chandra,
what should i do if i want to display the intersection portion.

Connectez-vous pour commenter.

Plus de réponses (1)

Walter Roberson
Walter Roberson le 5 Déc 2011
You will need to say more about what you mean by finding the intersection region. Are you trying to do something like build a panorama image? If so then that is more difficult than one might think at first, as one has to correct for different densities of information as you get further from the optical axis, and then one has to do image registration with the corrected images.

Catégories

En savoir plus sur Geometric Transformation and Image Registration dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by