2

How do I recover correct image from a radially distorted image using OpenCV? for example:

enter image description here

Please provide me useful links.

Edit The biggest problem is I neither have the camera used for taking the pic nor the chessboard image.
Is that even possible?

user3891236
  • 607
  • 1
  • 9
  • 23
  • http://stackoverflow.com/questions/8355180/how-to-remove-radial-distortions-from-images-using-opencv – amdn Nov 16 '14 at 05:44
  • @amdn The biggest problem is I neither have the camera used for taking the pic nor the chessboard image. – user3891236 Nov 16 '14 at 07:02
  • You only have to compute the parameters once for each camera. In your sample image you would measure whether the mosaic elements lie on a line after undistortion. In general you want to achieve that straight lines in world space are visible as straight lines in image space, too. – Micka Nov 16 '14 at 13:14

1 Answers1

0

Well, there is not much to do if you don't have the camera, or at least the model of it. As you may know a usual camera model is pin-hole, this basically consist in the 3D world coordinates are transformed (mapped) to the camera image plane 2D coordinates.

Camera Resectioning

If you don't have access to the camera or at least two chessboard images, you can't estimate the focal, principal point, and distortion coefficients. At least not in a traditional way, if you have more images than the one that you showed or a video from that camera you could try auto or self calibration.

Camera auto-calibration

Another auto-calibration

yet another

Opencv auto-calibration

Luis Enrique
  • 440
  • 1
  • 4
  • 10