Ask Your Question

jeremybub's profile - activity

2016-11-23 04:10:49 -0600 received badge  Supporter (source)
2016-11-23 01:17:09 -0600 received badge  Editor (source)
2016-11-22 22:12:31 -0600 commented question Chessboard detection fails on fisheye image

Enabling DEBUG_CHESSBOARD shows that the binarization is failing. In fact, the old binarization work, but the new binarization fails. I have added example images to the question

2016-11-20 16:28:53 -0600 commented question Chessboard detection fails on fisheye image

No omnidir is for fisheye as well, as per the documentation: http://docs.opencv.org/trunk/dd/d12/t.... In any case chessboard detection is independent of the calibration and just depends on the raw image.

2016-11-20 01:18:52 -0600 answered a question install opencv on mac

You can just use homebrew to install it.

brew tap homebrew/science
brew install opencv3

It also includes various installation options, for example

brew install opencv3 --with-contrib --with-ffmpeg
2016-11-20 00:57:24 -0600 asked a question Chessboard detection fails on fisheye image

I am trying to perform calibration for a fisheye lens using the omnidir module. I am finding that the chessboards are not detected on many of the calibration images.

For example, here is an image that it fails on. Why would this be? it has no occlusion and good lighting. I also tried downsampling to half the resolution as I heard that might help. Using opencv3-3.1.0_3 on OSX.

image description

EDIT: After recompiling with DEBUG_CHESSBOARD enabled, I found that the issue was caused by the new binarization failing. The debug output shows what the old binarization algorithm would have given, and it's clear that the old algorithm gave the correct result.

Old binarization: image description

New binarization: image description

This seems like a bug in opencv, so I will report it.