Ask Your Question
0

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

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

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
1

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

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

Stats

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

Seen: 956 times

Last updated: Jul 03 '14