Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

stitching vertical images

Hi, i'm trying to move further with my project of panorama stitching andoid app. Stitching horizontal images still need some improvements, but at the moment i'm satisfied. I got bigger problem with stitching vertical images (one above another).

Frome time to time it works fine: image description +

image description

image description

But more oftenly result image looks horrible: image description +

image description

image description

Can anyone give suggestions what i should check first? What might went wrong?

stitching vertical images

Hi, i'm trying to move further with my project of panorama stitching andoid app. Stitching horizontal images still need some improvements, but at the moment i'm satisfied. I got bigger problem with stitching vertical images (one above another).

Frome time to time it works fine: image description +

image description

image description

But more oftenly result image looks horrible: image description +

image description

image description

Can anyone give suggestions what i should check first? What might went wrong?

EDIT: Landscape scene examples image description +

image description

image description

stitching vertical images

Hi, i'm trying to move further with my project of panorama stitching andoid app. Stitching horizontal images still need some improvements, but at the moment i'm satisfied. I got bigger problem with stitching vertical images (one above another).

Frome time to time it works fine: image description +

image description

image description

But more oftenly result image looks horrible: image description +

image description

image description

Can anyone give suggestions what i should check first? What might went wrong?

EDIT: Landscape scene examples image description +

image description

image description

EDIT: Another example. This time images were previously stitched and then i tried to make panorama putting one above the other. Results was completly wrong. image description + image description

=

image description

stitching vertical images

Hi, i'm trying to move further with my project of panorama stitching andoid app. Stitching horizontal images still need some improvements, but at the moment i'm satisfied. I got bigger problem with stitching vertical images (one above another).

Frome time to time it works fine: image description +

image description

image description

But more oftenly result image looks horrible: image description +

image description

image description

Can anyone give suggestions what i should check first? What might went wrong?

EDIT: Landscape scene examples image description +

image description

image description

EDIT: Another example. This time images were previously stitched and then i tried to make panorama putting one above the other. Results was completly wrong. image description + image description

=

image description


EDIT:

My problem, as stated above has been solved. Once again - big thanks to Harris. But there is another issue also connected to stitching vertical images. I guess it's better to continue my question here to get comprehensive problem answear.

I rotate two images (partial panoramas): first partial panorama second partial panorama.

Then I create object for result image:

size = com.googlecode.javacv.cpp.opencv_core.cvSize(640,480);
resultImage = com.googlecode.javacv.cpp.opencv_core.cvCreateImage(
    size,
    com.googlecode.javacv.cpp.opencv_core.IPL_DEPTH_8U, 
    1);

Loaded images and resultImage are passed as arguments to Stitcher.stitch method:

status = stitcher.stitch(images, resultImage);

As a result i get below image: result image

It's not the rule. Sometimes this method generates good panoramas, but unfortunately not always. It seems there something with image ratio goes wrong. Can anyone give me a hint what should I change?