Stitching two fisheye images

asked 2016-10-19 06:44:05 -0500

salahuddin_12 gravatar image

I have been trying to stitch two spherical (fish eye) images together by using opencv. I have tried there sample code: but it haven't given me much success (It says that it don't have sufficient features). I want to know exact steps which are required here. Do i need to defish it first? Do i need to remove these black border. I want to create Stereographic or Equirectangular projection from them. Can someone please guide me how this can be done ?

image description image description

edit retag flag offensive close merge delete


I would undistort the images first. Those images don't have very much overlap though. I'd think you'd need another one pointed in-between to get decent results.

Tetragramm gravatar imageTetragramm ( 2016-10-19 17:46:15 -0500 )edit

in order to undistort, you would perhaps try hough circles transform to find the outer contour and then use linear-polar to rectify, given the aforementioned circle. (chouette! c'est le palais royal à Paris!)

guidovitale gravatar imageguidovitale ( 2016-10-21 02:47:22 -0500 )edit

There is a fisheye calibration and un-distortion routine available. It needs to be calibrated with a known pattern, but it would work much better than the linear-polar.

Tetragramm gravatar imageTetragramm ( 2016-10-21 18:49:28 -0500 )edit