Ask Your Question

OpenCV doesn't work with 200° FOV camera ?

asked 2018-04-17 15:12:44 -0500

kulkx321 gravatar image

Hello guys.

I've been trying to understand OpenCV for months and I think it was all for nothing.

I have a very wide angle fisheye camera (200 degrees or so) and would like to calibrate it.

I've tried with 27 good pictures but I get really awkward results for calibration, especially for the pictures where the pattern is near the edges. When I calibrate (using fisheye of course), the points on the edges are projected to infinity, and the points in the center are still not 100% accurate...

I also had to disable the CALIB_CHECK_COND because of some images (where checkerboard is beyond 180°). I don't know what to do. After all the time I spent trying to learn OpenCV, do I have to throw all of it away and code my own functions ?

Is the pinhole model still accurate for my camera ?

(I've been searching for 2 hours on Google and found nothing)

edit retag flag offensive close merge delete



Very wide angle fish-eye lens seems to be unsupported currently, see here.

Eduardo gravatar imageEduardo ( 2018-04-17 15:17:28 -0500 )edit

1 answer

Sort by » oldest newest most voted

answered 2018-04-20 03:42:09 -0500

kulkx321 gravatar image

Seems like Omnidir can handle it. I'm giving it a try right now but still I always get this error : matrix.cpp:2450: error: (-215) !fixedSize() || ((Mat*)obj)->size.operator()() == Size(_cols, _rows) in function cv::_OutputArray::create

any methods to hack it ?

edit flag offensive delete link more


instead of writing an answer here (it isn't one, right ?) , you should edit your question, and add some code, that shows your problem.

berak gravatar imageberak ( 2018-04-20 03:53:00 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-04-17 15:12:44 -0500

Seen: 130 times

Last updated: Apr 20 '18