Making two overlapping images into a new one

7 Ansichten (letzte 30 Tage)
Hysis Shepard
Hysis Shepard am 13 Jun. 2016
Kommentiert: Hysis Shepard am 14 Jun. 2016
Hello everybody,
I am pretty sure that this question has alredy been posted but I cannot find an answer to my problem:
I have two pictures with an overlapping region (let's say A, the reference and B). I find the best overlapping position by using the cross correlation function (with the indices of the maximum I extract the vector that defines my transformation); Then, I just want to translate image B on image A using my transformation but I cannot find a way. When I translate B with my vector I only get a black picture because the image totally disappear.
Please tell me if my code is needed
(nothing fancy
1-image loading
2-rgb2gray
3-cropping
4-cross correlation
5-finding maximum
6-(the thing that does not work) image registration)
Have a nice day

Akzeptierte Antwort

Image Analyst
Image Analyst am 13 Jun. 2016
  1 Kommentar
Hysis Shepard
Hysis Shepard am 14 Jun. 2016
Thank you, I used the first link with a few changes and it works well

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by