Camera baseline 2026-11-05
The camera baseline is the separation between the camera centers of two views. For centers , its length is . It measures translation, so turning a stationary camera without moving its camera center does not create a nonzero camera baseline. A known camera baseline supplies the length scale in stereoscopic triangulation.[ref]
What Is Stereo Reconstruction? by MathWorks. opening baseline definition and How Does Stereo Reconstruction Work?
In the ideal aligned model with matched coordinate origins, stereo disparity satisfies . For focal length 800 pixels and depth 5 metres, a camera baseline 0.10 metres gives 16 pixels; doubling the camera baseline gives 32 pixels. With unchanged disparity precision, the larger separation improves depth sensitivity. It can also increase occlusion in stereo vision and reduce overlap of the views. Finally, multiplying both and all reconstructed lengths by the same factor leaves the projections unchanged: a small reprojection error alone cannot certify the metric scale.
Camera calibration 2026-11-05
Camera calibration estimates the parameters relating points in a scene to measured image coordinates. In the ideal pinhole model,where contains focal lengths and the principal point, while the rotation matrix and translation locate the camera relative to the scene. Lens distortion requires additional parameters.[ref]
Camera Calibration and 3D Reconstruction by OpenCV. Detailed Description, pinhole model and distortion coefficients
A calibration experiment photographs a flat board with a known grid from several orientations. Detected grid corners provide image measurements; their known spacing supplies geometric constraints and a length scale. Parameters are fitted by minimizing reprojection error. Multiple orientations help separate camera geometry from board pose. For an ideal camera with focal length 1000 pixels, a point displaced sideways at depth projects 50 pixels from the principal point.[ref]
Camera Calibration and 3D Reconstruction by OpenCV. calibrateCamera, planar-pattern initialization and reprojection error
Checkerboard calibration target 2026-11-05
A checkerboard calibration target is a planar pattern of alternating dark and light squares with known geometry, used to estimate camera calibration parameters. Image measurements of internal corner intersections are paired with known target coordinates. Several tilted views constrain the image projection and distortion model.[ref]
Camera Calibration in the OpenCV-Python tutorials. Code, known checkerboard points, corner detection and calibration
For a board with nine squares across and six down, the internal-corner grid has eight columns and five rows. If square spacing is 20 millimetres, one can assign corner coordinates millimetres for and . Supplying only unit grid spacing instead yields translation estimates in square-size units. A useful experiment varies the target's orientation and image position, then examines reprojection error. Repeated identical views provide less geometric information; a warped board or inaccurate corner measurements can also bias the fitted camera model.
OpenCV 2026-11-05
OpenCV is a software library for computer vision and image processing. Its camera-geometry tools connect observed pixel coordinates to models of imaging, including camera calibration, correction of lens distortion, stereo rectification and three-dimensional reconstruction.[ref]
Camera Calibration and 3D Reconstruction by OpenCV. Detailed Description and calibration/reconstruction functions; pinned documentation version4.13.0
A checkerboard calibration target supplies known geometry that can be observed from several camera positions. Fitting the model compares detected image points with projected target points. The resulting reprojection error measures agreement in the image, rather than independently confirming every physical dimension of the reconstructed scene.
A simple perspective projection illustrates the distinction: in , replacing and by and for leaves unchanged. This scale ambiguity of perspective projection means that image agreement alone cannot verify a chosen unit of length. A camera baseline or a target of known size supplies additional metric information. Using the library well therefore includes checking geometric assumptions and units, alongside the numerical fit.
Reprojection error 2026-11-05
A reprojection error compares an observed image point with the position predicted by projecting a reconstructed scene point through a camera model. If is an observed position and its prediction, the residual is . One possible aggregate is the per-point root mean square Euclidean norm:Coordinates in pixels give an error in pixels. Least squares instead minimizes the associated sum of squares; normalization conventions should be stated when reporting a summary.[ref]
Camera Calibration in the OpenCV-Python tutorials. Re-projection Error, projecting known points and comparing image positions
For an observation and prediction , the Euclidean norm of the residual is 5 pixels. Camera calibration can adjust model parameters to reduce many such residuals, while stereoscopic triangulation can adjust a reconstructed point with the camera parameters fixed. Low reprojection error tests agreement with observations under that model; incorrect stereo correspondence or an incorrect camera baseline can still produce wrong scene geometry.
Stereoscopic triangulation 2026-11-05
Stereoscopic triangulation reconstructs a scene point from corresponding image positions and known camera geometry. Each image position determines a viewing direction. Two correctly matched views constrain the point to lie on both viewing rays; one view alone leaves its position along a ray undetermined.
For an ideal aligned pair, put the left camera at the origin and the right one at in a Cartesian coordinate system, with their axes pointing in the positive direction. Assume a common focal length , square pixels, corrected distortion and image coordinates measured from aligned principal points. Forward perspective projection givesThe stereo disparity therefore determines all three coordinates:Here is depth along the camera axis; the Euclidean distance from the left camera is instead . If use pixels and the camera baseline uses metres, the recovered coordinates use metres. Without a known length scale, the images alone do not determine metric size.[ref]
Camera Calibration and 3D Reconstruction by OpenCV. Detailed Description, camera intrinsic matrix and the distortion-free pinhole projection equations
Real cameras require calibration before these simplified equations apply. Stereo rectification transforms the images to an aligned geometry. With noisy measurements, viewing rays need not intersect exactly; minimizing reprojection error instead seeks a point whose projected positions agree as closely as possible with the observations. Reconstruction also depends on stereo correspondence: a mathematically precise intersection of mismatched viewing directions can still describe the wrong scene point.[ref]
What Is Stereo Reconstruction? by MathWorks. Stereo Camera Calibration; Stereo Image Rectification; Disparity Map Computation; 3-D Scene Reconstruction
