Stitching 2 images with different zooming setting

asked 2015-10-12 02:30:34 -0600

alexandra gravatar image

updated 2015-10-13 02:06:44 -0600

Hello,

The Opencv stitching module can stitch 2 images with different zooming setting. My question is how the zoom setting of the output image (stitched image) decided?? What i mean is that, if i have 2 images one with zoom in and one with zoom out and i want to stitch this two images together. When i look at the result of the stitching i observed that the zoom in image became zoom out and the zoom out image became zoom in and that is achieved in away that make the 2 images can be stitched together. How the zoom value of each image is decided ??

Regards,

I didn't use the stitcher detailed example.

I just read the images and use this command Stitcher::Status status = stitcher.stitch(vImg, rImg);

and the result is:

image description

I reduce the image quality so i can upload it.

As you can see the result is different in zooming than the input images and its like there is no different in zooming value between the two images , i want to know how to specify the zooming value of the result.

This image may explain what i need exactly to know

image description

As you can see image 1 has been zoomed in while image 2 has been zoomed out in the resulted image, how it decide the zooming value in the resulted image.

edit retag flag offensive close merge delete