tags:

views:

30

answers:

1

Hi there,

I have completed an image processing algorithm where I extract certain features from two similar images.

I'm using OpenCV2.1 and I wish to showcase a comparison between these two similar images. I wish to combine both the images into one, where the final image will have both the images next to one another. Like in the figure below. alt text

Also, the black dots are the similarities my algorithm has found, now I want to mark them with digits. Where, point 1 on the right is the corresponding matching point on the left.**

What OpenCV functions are useful for this work?

+1  A: 

The easiest way I can think right now would be to create two windows instead of one. You can do it using cvNamedWindow(), and then position them side by side with cvMoveWindow().

After that if you now the position of the similarities on the images, you can draw your text near them. Take a look at cvInitFont(), cvPutText().

karlphillip
I did the same. Thank you.
vikramtheone
Dear karlphillip, can you please take a look at this other question of mine. http://stackoverflow.com/questions/3438500/opencv-2-1-runtime-error
vikramtheone