Camera Calibration with OpenCV: Using the distortion and rotation-translation matrix

Abhijay

I am reading the following documentation: http://docs.opencv.org/doc/tutorials/calib3d/camera_calibration/camera_calibration.html

I have managed to successfully calibrate the camera obtaining the camera matrix and the distortion matrix.

I had two sub-questions:

1) How do I use the distortion matrix as I don't know 'r'?

Formula to get corrected coordinates

2) For all the views I have the rotation and translation vectors which transform the object points (given in the model coordinate space) to the image points (given in the world coordinate space). So a total of 6 coordinates per image(3 rotational, 3 translational). How do I make use of this information to obtain the rotational-translational matrix?

Any help would be appreciated. Thanks!

Francesco Callari

Answers in order:

1) "r" is the pixel's radius with respect to the distortion center. That is:

r = sqrt((x - x_c)^2 + (y - y_c)^2)

where (x_c, y_c) is the center of the nonlinear distortion (i.e. the point in the image that has zero nonlinear distortion. This is usually (and approximately) identified with the principal point, i.e. the intersection of the camera focal axis with the image plane. The coordinates of the principal point are in the 3rd column of the matrix of the camera intrinsic paramers.

2) Use Rodrigues's formula to convert between rotation vectors and rotation matrices.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

OpenCV - store camera matrix and distortion coefficients as Mat

From Dev

Opencv python camera calibration : objp matrix

From Dev

openCV distortion calibration resolution scaling

From Dev

OpenCV: get perspective matrix from translation & rotation

From Dev

determine camera rotation and translation matrix from essential matrix

From Dev

Transforming Quaternion to Camera rotation matrix - OpenCV

From Dev

Camera calibration: the projection matrix

From Dev

Matlab Camera Calibration - Correct lens distortion

From Dev

Camera calibration opencv python

From Dev

Rotation without distortion using Matrix3D

From Dev

Opencv Animation Rotation of object using rotation matrix

From Dev

Extrinsic Camera Calibration Using OpenCV's solvePnP Function

From Dev

Recalculating the image points using camera calibration parameters from Opencv in Matlab

From Dev

OpenCV camera calibration in Python without using cv2.findChessboardCorners

From Dev

Recalculating the image points using camera calibration parameters from Opencv in Matlab

From Dev

How to compute rotation-translation matrix between 2 frames with OpenCV

From Dev

Radial distortion correction, camera parameters and openCV

From Dev

Matrix rotation/translation/scaling in openGL

From Dev

ICP transformation matrix translation and rotation

From Dev

Negative focal length in Camera Calibration Matrix

From Dev

Camera calibration with OpenCV - findChessboardCorners returns false

From Dev

OpenCV camera calibration of an image crop (ROI submatrix)

From Dev

OpenCV Camera Stereo Calibration - Strange results

From Dev

camera calibration and Bird's Eye Projection in OpenCV

From Dev

C++ Opencv Calibration of the camera with different resolution

From Dev

Projecting a 2D point into 3D space using camera calibration parameters in OpenCV

From Dev

Projecting a 2D point into 3D space using camera calibration parameters in OpenCV

From Dev

Why my camera matrix is an identity matrix after calibration

From Dev

Camera projection matrix: why transpose rotation matrix?

Related Related

  1. 1

    OpenCV - store camera matrix and distortion coefficients as Mat

  2. 2

    Opencv python camera calibration : objp matrix

  3. 3

    openCV distortion calibration resolution scaling

  4. 4

    OpenCV: get perspective matrix from translation & rotation

  5. 5

    determine camera rotation and translation matrix from essential matrix

  6. 6

    Transforming Quaternion to Camera rotation matrix - OpenCV

  7. 7

    Camera calibration: the projection matrix

  8. 8

    Matlab Camera Calibration - Correct lens distortion

  9. 9

    Camera calibration opencv python

  10. 10

    Rotation without distortion using Matrix3D

  11. 11

    Opencv Animation Rotation of object using rotation matrix

  12. 12

    Extrinsic Camera Calibration Using OpenCV's solvePnP Function

  13. 13

    Recalculating the image points using camera calibration parameters from Opencv in Matlab

  14. 14

    OpenCV camera calibration in Python without using cv2.findChessboardCorners

  15. 15

    Recalculating the image points using camera calibration parameters from Opencv in Matlab

  16. 16

    How to compute rotation-translation matrix between 2 frames with OpenCV

  17. 17

    Radial distortion correction, camera parameters and openCV

  18. 18

    Matrix rotation/translation/scaling in openGL

  19. 19

    ICP transformation matrix translation and rotation

  20. 20

    Negative focal length in Camera Calibration Matrix

  21. 21

    Camera calibration with OpenCV - findChessboardCorners returns false

  22. 22

    OpenCV camera calibration of an image crop (ROI submatrix)

  23. 23

    OpenCV Camera Stereo Calibration - Strange results

  24. 24

    camera calibration and Bird's Eye Projection in OpenCV

  25. 25

    C++ Opencv Calibration of the camera with different resolution

  26. 26

    Projecting a 2D point into 3D space using camera calibration parameters in OpenCV

  27. 27

    Projecting a 2D point into 3D space using camera calibration parameters in OpenCV

  28. 28

    Why my camera matrix is an identity matrix after calibration

  29. 29

    Camera projection matrix: why transpose rotation matrix?

HotTag

Archive