Ask Your Question
0

Did Opencv blending function well manage full 360 panorama ?

asked 2017-01-10 11:35:25 -0600

FMon gravatar image

updated 2017-01-11 03:14:09 -0600

I everyone,

I'am using OpenCV 3.0 in order to make a blending on multiple images. I have an issue and i'am not sure if it is a bug/Enhancement related to OpenCV or a mistake on my own code. Thanks for your help.

Context : I have to blend some fisheyes images acquired by a camera (6 images for a whole 360° panorama). Before blending I have several bands on my 360 panorama due to the multiple images illuminations.

image description

Blending Step : I am using cv::detail::ExposureCompensator for illumination correction and cv::detail::MultiBandBlender for the blending.

image description

The result looks really nice, all the bands that i had before are completely remove out. My 360 panorama seems to be good and well blend.

image description

But if i visualize my panorama not in an image viewer but in a 360 viewer, it still one band at the boundary between 0° to 360°. It suggest that no modulo exist (for full 360 panorama) to say during the blending "the ending part of the panorama correspond to the beginning of the panorama, so blend also this areas".

Maybe I miss something, but i don't know : _ what is wrong or missing in my implementation (no bolean exist on opencv function to say modulo or full pano) _ or Is it an OpenCV issue that need to be mentioned (ticket)

Have you more informations about that or ideas to solve the problem ?.

Thanks again.

edit retag flag offensive close merge delete

Comments

Somehow your image got lost. Can you update the question?

StevenPuttemans gravatar imageStevenPuttemans ( 2017-01-11 00:27:31 -0600 )edit

I know and i'm sorry about that but i am not allowed to post link yet ( a message inform me that i need to be at least Karma 3 ) message : Could not post, because your karma is insufficient to publish links

FMon gravatar imageFMon ( 2017-01-11 02:12:54 -0600 )edit
1

@FMon - we can help you with that, at least:

put a link into a comment, we'll move that to your question.

far easier, to just add 3 karma points to your account, i guess ;)

berak gravatar imageberak ( 2017-01-11 02:41:41 -0600 )edit

As you want, it is not a problem on my side

FMon gravatar imageFMon ( 2017-01-11 02:48:12 -0600 )edit
1

just go , and edit your question ;)

berak gravatar imageberak ( 2017-01-11 02:48:35 -0600 )edit

Thanks for your time

FMon gravatar imageFMon ( 2017-01-11 02:50:11 -0600 )edit

Hey @FMon,

How are you capturing your images and stitching them? I'm currently trying to stitch 360 panorama, but it just doesn't want to work :(

martisan gravatar imagemartisan ( 2017-03-22 09:59:54 -0600 )edit

1 answer

Sort by » oldest newest most voted
2

answered 2017-01-11 08:32:59 -0600

Eduardo gravatar image

updated 2017-01-11 08:54:07 -0600

I think the stitching module has no 360° option. So in my opinion it is normal that you have this kind of issue as you are not supposed to blend the beginning with the end in general.

Maybe a dirty fix would be to cut the final panorama a little bit at the beginning and at the end, stitch and / or blend theses two images and replace the corresponding parts in the full panorama? The best would be to only blend (do the exposure correction), if it is possible, the two images, otherwise the stitching could warp the images and you will have to transform the corrected images to the full panorama.

You can also test the stitching with a dedicated software like Hugin or Microsoft ICE.

edit flag offensive delete link more

Comments

Another option might be to stitch the left of the panorama with the rightmost image again, to create a > 360 degree panorama. Then trim from the sides and blend/overlay to get rid of the seam.

jwatte gravatar imagejwatte ( 2017-11-28 00:48:35 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-01-10 11:35:25 -0600

Seen: 949 times

Last updated: Jan 11 '17