Ask Your Question

[stereo calibration] intrinsic parameters estimation at different resolutions

asked 2020-02-06 08:44:29 -0500

amandalucas gravatar image

updated 2020-02-06 08:45:57 -0500


i am currently using opencv to calibrate a camera. once I have the calibration parameters cx and cy for the 2k resolution, am i able to calculate/estimate the cx and cy for a different resolution?

any help will be appreciated. thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2020-02-06 13:38:58 -0500

From Camera Calibration and 3D Reconstruction, in the Detailed Description section, you'll see that calibration fills in the K, D, R and P matrices for you. You'll notice that the K matrix (Camera matrix) center point and focal length is expressed in terms of pixels. If your starting sensor has a calibration resolution of (xr, yr) pixels, and your new resolution is (xr', yr'), then you may scale the K array values like this:

  • fx' = fx * xr' / xr
  • fy' = fy * yr' / yr
  • cx' = cx * xr' / xr
  • cy' = cy * yr' / yr
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-02-06 08:44:29 -0500

Seen: 351 times

Last updated: Feb 06 '20