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
7
votes
2 answers

Interpreting the Reprojection Error from camera calibration

I'm kind of confused about the Reprojection Error during camera calibration. I understood that the Reprojection Error describes the differences between the detected point and the world point. I even found out that a value <1 is "good". But what does…
flor1an
  • 960
  • 3
  • 15
  • 33
7
votes
1 answer

What's the difference between reprojectImageto3D(OpenCV) and disparity to 3D coordinates?

I'm trying to get 3D coordinates with a stereo camera. The first method is to calculate directly using this formula. The second method is to use reprojectImageTo3D in opencv. But I do not know the principle of this method. The result is not in…
bgyooPtr
  • 163
  • 1
  • 10
7
votes
1 answer

Field of view of a GoPro camera

I have calibrated my GoPro Hero 4 Black using Camera calibration toolbox for Matlab and calculated its fields of view and focal length using OpenCV's calibrationMatrixValues(). These, however, differ from GoPro's specifications. Istead of 118.2/69.5…
7
votes
0 answers

Opencv PNP in a Corridor

I have reconstructed two frames using 5-point essential matrix, for sequential frames I am using PNP to get the camera pose before reconstructing the matches. When I use video frames progressing through a corridor the results of PNP are terrible? Is…
West1234
  • 189
  • 14
7
votes
2 answers

input arguments of python's cv2.calibrateCamera

I get the following error when I try to calibrate camera using cv2.calibrateCamera: rms, camera_matrix, dist_coefs, rvecs, tvecs = cv2.calibrateCamera(pts3d, pts2d, self.imgsize, None, None) cv2.error:…
krips89
  • 1,683
  • 4
  • 17
  • 32
7
votes
2 answers

Creating stereoParameters class in Matlab: what coordinate system should be used for relative camera rotation parameter?

stereoParameters takes two extrinsic parameters: RotationOfCamera2 and TranslationOfCamera2. The problem is that the documentation is a not very detailed about what RotationOfCamera2 really means, it only says: Rotation of camera 2 relative to…
7
votes
3 answers

OpenCV Stereo Camera Calibration/Image Rectification

I'm trying to calibrate my two Point Grey (Blackfly) cameras for stereo vision. I'm using the tutorial stereo_calib.cpp that comes with OpenCV (code below). For some reason, I'm getting really bad results (RMS error=4.49756 and average reprojection…
Khaled
  • 644
  • 1
  • 8
  • 14
7
votes
2 answers

How I make color calibration in opencv using a colorchecker?

I have a image of the colorchecker get by a digital camera, how i use this to calibrate the images using opencv? follow below the colorchecker image:
aliel
  • 157
  • 1
  • 2
  • 8
7
votes
2 answers

camera calibration MATLAB toolbox

I have to perform re-projection of my 3D points (I already have data from Bundler). I am using Camera Calibration toolbox in MATLAB to get the intrinsic camera parameters. I got output like this from 27 images (chess board; images are taken from…
user1388142
  • 581
  • 2
  • 11
  • 26
7
votes
1 answer

Is the depth image returned by Microsoft Kinect SDK already undistorted?

Supposedly the Microsoft SDK has access to the Kinect's intrinsic parameters but does anyone have any idea if the depth image it returns is actually undistorted? I couldn't find anything relevant. Let me know if I'm out of topic although I consider…
Sassa
  • 3,294
  • 2
  • 28
  • 42
6
votes
1 answer

Camera Calibration - Zhang vs. Gold Standard

What are the dis/advantages of using the Gold Standard algorithm described in Multiple View Geometry (Hartley and Zisserman), with respect to using the other popular algorithm described by Zhang in A Flexible New technique for Camera Calibration? I…
memecs
  • 7,196
  • 7
  • 34
  • 49
6
votes
0 answers

How to interpret lens distortion coefficients in iOS Portrait mode EXIF data

iOS provides lens distortion information for images obtained with the iPhone depth cameras, specifically the front-facing TrueDepth camera and the rear-facing Portrait mode camera. These lens distortion coefficients are stored in the…
David G.
  • 371
  • 4
  • 11
6
votes
4 answers

OpenCv C++ Perspective Transform

I am trying to use OpenCv to correct an image for distortion and then calculate the real world coordinates given a pixel coordinate. I can not find any examples online or in the OpenCv book of how to do this. I have done the camera calibration with…
Crbreingan
  • 641
  • 2
  • 8
  • 18
6
votes
6 answers

Calculate Intrinsics for a Thermal Camera?

I"m using a Thermal camera for a project and I'm a little stumped so as to how to think about calculating intrinsics for it. The usual camera's would determine different points on a chessboard or something similar, but the thermal camera won't…
sparkFinder
  • 3,336
  • 10
  • 42
  • 57
6
votes
4 answers

How to compute the rotation and translation between 2 cameras?

I am aware of the chessboard camera calibration technique, and have implemented it. If I have 2 cameras viewing the same scene, and I calibrate both simultaneously with the chessboard technique, can I compute the rotation matrix and translation…
xboxmysox
  • 61
  • 1
  • 3