facebookarchive / Surround360

Surround360 is Facebook's open source hardware and software for capturing stereoscopic 3D 360 video for VR. The repo contains hardware designs, as well as software for camera control and rendering.
Other
2.17k stars 580 forks source link

Rendering panorama with own sample data #34

Closed PaulBergmann closed 8 years ago

PaulBergmann commented 8 years ago

Hello!

I managed to render the panorama with the provided sample data and now want to try to stitch my own images together. Therefore I adapted the configuration files (intrinsics and json file), I also created a new .yml file for the rectification as described in your configuration document.

I have a problem with the stereo panorama creation after the optical flow step. The picture pairs for optical flow are generated nicely but the resulting images to be horizontally stacked as a panorama are not 100% filled with image data, so there is a black bar on the right where there is no data (this seems like some projection problem to me).

Are there some other parameters (maybe in the python script) that I have to change to get the stitching working with my own data? Which parameters should be generally altered?

Thank you!

PaulBergmann commented 8 years ago

Especially im curious about if the software also works if another number of cameras is used. Im only using 14 cameras and it seems when I decrease the number of cameras further, the unfilled gaps between the images become larger although a full 360 view should still be creatable.

fbriggs commented 8 years ago

In order to help, I will need some more information. Can you please post:

thanks.

3DMM-ICME2023 commented 8 years ago

hello,i want to render panorama with own sample data,too. my images are from only 3 cameras which record the left, middle,right direction of a playground, i want get the panorama video of 180 rather than 360.Could you please tell me how to implement it with your nice code? and could you tell me what should i write in my config files ? what about r and other parameters ?

fbriggs commented 8 years ago

Hi liu666666, the Surround 360 rendering code is only designed to render full 360 degree panoramas with a ring of cameras. It doesn't support generating partial panoramas.