Ask Your Question
0

[stereo calibration] intrinsic parameters estimation at different resolutions

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

amandalucas gravatar image

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

hi!

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
0

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

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

Stats

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

Seen: 841 times

Last updated: Feb 06 '20