Ask Your Question

menneske's profile - activity

2019-01-07 06:57:58 -0600 received badge  Popular Question (source)
2016-03-06 08:12:29 -0600 commented question Camera projection matrix from fundamental

Hi, thanks for the links I'll look into that. I'm not worried about getting the scale correct, as this is for entertainment not science. The question about getting the P1 is probably trivial, as most texts just say "from the fundamental matrix you can extract P and P1" and then just continue as if P and P1 is now available... I'm fine with only knowing P1s translation and rotation relative to P (where I assume it will be in some arbitrarily chosen scale?)

2016-03-05 05:27:41 -0600 asked a question Camera projection matrix from fundamental

I'm pretty new to OpenCV and trying to puzzle together a monocular AR application getting structure from motion. I've got a tracker up and running which tracks points pretty well as the optical flow looks good. It needs to work on uncalibrated cameras.

From the point correspondences I get the fundamental matrix from findFundamentalMat, but I'm lost at how to get the camera projection matrix. Matrix math is not my strong suit, and for all my google foo all I can find are examples using pre-calibrated cameras.

  1. Find fundamental matrix using findFundamentalMat (check!)
  2. Find epilines with computeCorrespondEpilines (check!)
  3. Extract projection matrix P and P1 (????)

P is identity matrix for the uncalibrated case, but how do I get P1?