360° Stiching [closed]
Hi,
I'm trying to create a 360° Pamorma, so I used the OpenCV Stichling Library. I found an interesting and pretty well working code in github. https://github.com/Itseez/opencv/blob...
The result is nearly perfect, but if I render this image as a sphere the color/brightness of the beginning and the end doesn't fit very well.
Is there an easy improvement to fix this issue? I don't want to rewrite the complete algorithm. :)
Have you try this code or this one (same code without timelapser bug)?
This is a known problem of panoramic stitching, especially when projecting to a spherical image. You will need to write a personal smooting/brightness adapting algorithm at the final stitch position.
Have you try to use a Multiband blend_type with a blend strength of 2? With these values I think boundary line would disappear but not color difference between two images here an example with feather blend and here with multiband blend
That indeed seems a solution ;)
@LBerger The Problem is, that the border isn't in the middle of the image. Is it possible to cut about 500px from the right end and 500px from the beginning, stitch it and replace this area? I am using OpenCV 2.4.11 if this info is necessary.
Have you try to use a cylindrical projection instead of spherical?
Yes, I tried this, I get the same result. :(
can you post orignal images ?
Yes, but I have to make a new one, I dont want to publish my garden on the Internet :) It looks like a every 360 degree image, but only horizontal :)
In your picture what you call border is it located here ? and should be in the middle?