Questions tagged [camera-calibration]

In Computer Vision, camera-calibration is the process of finding the true parameters of the camera that produced a given photograph or video. Usually, the camera parameters are represented in a 3 × 4 matrix called the camera matrix.

Usually we say a camera is calibrated when we know the Intrinsic Parameters.

Source: Wikipedia

1354 questions
9
votes
3 answers

Camera calibration with single image? It seems to work, but am I missing something?

I have to do camera calibration. I understand the general concept and I have it working, but in many guides it says to use many images or at the very least two with different orientation. Why exactly is this necessary? I seem to be getting…
RHawkeyed
  • 327
  • 3
  • 13
9
votes
2 answers

how can i get the camera projection matrix out of calibrateCamera() return values

I am trying to get a 3x4 camera matrix for triangulation process but calibrateCamera() returns only 3x3 and 4x1 matrices. How can i get the 3x4 out of those matrices? Thanks in advance!!
Srol
  • 721
  • 2
  • 7
  • 16
9
votes
3 answers

How to calculate extrinsic parameters of one camera relative to the second camera?

I have calibrated 2 cameras with respect to some world coordinate system. I know rotation matrix and translation vector for each of them relative to the world frame. From these matrices how to calculate rotation matrix and translation vector of one…
9
votes
2 answers

To calculate world coordinates from screen coordinates with OpenCV

I have calculated the intrinsic and extrinsic parameters of the camera with OpenCV. Now, I want to calculate world coordinates (x,y,z) from screen coordinates (u,v). How I do this? N.B. as I use the kinect, I already know the z coordinate. Any help…
Paul
  • 167
  • 1
  • 2
  • 11
8
votes
1 answer

Calculate Camera parameters and HandEyeCalibration

I'm trying to port an old Augmented Reality project, which is based on the metaio framework for an other see-through HMD. Cause metaio is bought by apple, it's available documentation and support is very limited and this new HMD is not supported out…
8
votes
2 answers

Finding CheckerBoard Points in opencv for any random ChessBoard( pattern size not known)

Well, OpenCv comes with its function findCheckerboardCorners() in C++ which goes like bool findChessboardCorners(InputArray image, Size patternSize, OutputArray corners, int flags=CALIB_CB_ADAPTIVE_THRESH+CALIB_CB_NORMALIZE_IMAGE ) After using…
8
votes
1 answer

How can I estimate the camera pose with 3d-to-2d-point-correspondences (using opencv)

Hello my goal is to develop head-tracking functionality to be used in an aircraft (simulator) cockpit, in order to provide AR to suport civilian pilots to land and fly with bad visual conditions. My approach is to detect characteristic points (in…
8
votes
1 answer

How do I convert focal length in pixels to millimeter (mm)?

I am using OpenCV calibration method to determine the focal length of my endoscope. http://docs.opencv.org/doc/tutorials/calib3d/camera_calibration/camera_calibration.html And I am getting a focal length which is in pixels. But I want this to be in…
j1897
  • 1,507
  • 5
  • 21
  • 41
8
votes
1 answer

calculate Object Points in OpenCV CameraCalibration function

I want to use opencv Cameracalibration function (calibrateCamera()) to calibrate my camera. According to opencv document, I have to take at least 10 shots of my chessboard. But when I want to calculate the objectPoints (here, the location of…
Zhr Saghaie
  • 1,031
  • 2
  • 16
  • 41
8
votes
1 answer

Describing nonlinear transformation between two images, using homography

A one to one point matching has already been established between the blue dots on the two images. The image2 is the distorted version of the image1. The distortion model seems to be eyefish lens distortion. The question is: Is there any way to…
8
votes
4 answers

OpenCV calibration trouble

I'm working on an OpenCV project, and I'm on to calibration. I believe I've implemented the code correctly; however I'm getting different values for the camera matrix, sometimes wildly varying. After 6 repetitions of showing the calibration pattern…
Ryan Kennedy
  • 3,275
  • 4
  • 30
  • 47
8
votes
2 answers

How can I undistort an image in Matlab using the known camera parameters?

This is easy to do in OpenCV however I would like a native Matlab implementation that is fairly efficient and can be easily changed. The method should be able to take the camera parameters as specified in the above link.
twerdster
  • 4,977
  • 3
  • 40
  • 70
7
votes
1 answer

How do we do rectilinear image conversion with swift and iOS 11+

How do we use the function apple provides (below) to perform rectilinear conversion? Apple provides a reference implementation in 'AVCameraCalibrationData.h' on how to correct images for lens distortion. Ie going from images taken with a wide-angle…
Abe
  • 485
  • 5
  • 17
7
votes
2 answers

Format of parameters in KITTI's calibration file

I accessed calibration files from part odometry of KITTI, wherein contents of one calibration file are as follows: P0: 7.188560000000e+02 0.000000000000e+00 6.071928000000e+02 0.000000000000e+00 0.000000000000e+00 7.188560000000e+02…
Finley
  • 795
  • 1
  • 8
  • 26
7
votes
1 answer

Bird's eye view perspective transformation from camera calibration opencv python

I am trying to get the bird's eye view perspective transform from camera intrinsic, extrinsic matrices and distortion coefficients. I tried using the answer from this question. The image used is the sample image left02.jpg from the opencv official…
Abhijit Balaji
  • 1,870
  • 4
  • 17
  • 40