Ask Your Question

How can I recover image distortion caused by the camera's distortion parameters k1, k2?

asked 2014-07-03 11:55:31 -0500

erogol gravatar image

I have one image and I want to recover its distortion by known camera distortion parameters k1 and k2. What should I do to rectify image view by those params?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-07-03 12:01:22 -0500

See undistort function, which rectify a source image according to the calibration matrix (focal X, Y, K1, K2) and write it in the output image.

If you need to calibrate your camera (to get focal lengths and K1, K2), use the calibrateCamera function.

edit flag offensive delete link more

Question Tools


Asked: 2014-07-03 11:55:31 -0500

Seen: 589 times

Last updated: Jul 03 '14