Ask Your Question

Elessar's profile - activity

2016-06-27 02:41:14 -0600 received badge  Teacher (source)
2016-06-24 23:18:20 -0600 received badge  Self-Learner (source)
2016-06-24 22:29:26 -0600 received badge  Student (source)
2016-06-24 15:10:31 -0600 answered a question Simple image stitching (C++)

Using Phase Correlation I was able to find the correct x/y offset. I used the Phase Correlation tutorial found here: http://web.archive.org/web/2012101411...

The only hiccup I have come across is when the images are aligned top-right / bottom-left. The phase correlation only returns the correct x coordinate OR y coordinate at a time, so I have to calculate twice. (Once for X, once for Y.) And the Y coordinate generated for this positioning is consistently 1 pixel off. (Not desirable, but manageable.)

The other arrangements all work out fine (directly above / below, side-by-side, and top-left / bottom-right).

2016-06-22 15:04:46 -0600 received badge  Enthusiast
2016-06-15 12:23:19 -0600 commented question Simple image stitching (C++)

Yes, they always do.

2016-06-14 22:12:15 -0600 commented question Simple image stitching (C++)

My program would know the general direction of the offset, but not the amount. It could also be offset by both x and y. Each image might be at a different x/y offset.

2016-06-14 18:38:34 -0600 asked a question Simple image stitching (C++)

I'm having a hard time finding a tutorial that explains how to do image stitching. I've read https://ramsrigoutham.com/2012/11/22/..., but it's only a code example, and not an actual tutorial.

Are there any good tutorials in C++ that would explain how image stitching?


What I'm trying to do is stitch images that are created on a computer (eg. screenshots), which will be consistently the same orientation, resolution, angle, etc. The only thing that differs is the offset, which isn't consistent.

How do I go about stitching these images so that they are matched pixel-perfect?