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.
Disparity map 2026-11-05
A disparity map assigns an estimated stereo disparity to image locations having accepted matches in another view. For a horizontally rectified pair, a left-image map can storewhere is the matching right-image horizontal coordinate. Constructing the map therefore requires stereo correspondence, rather than only reading individual pixel intensities. OpenCV's tutorial demonstrates block matching and shows how weak texture and spurious matches affect the result.[ref]
Depth Map from Stereo Images in the OpenCV-Python tutorials. Code; disparity image; texture_threshold, speckle and uniqueness filters
For matched coordinate origins, focal length 800 pixels and camera baseline 0.12 metres, valid disparities 20 and 40 pixels imply depths 4.8 and 2.4 metres. Thus a disparity map is not itself a metric depth map: its values must be interpreted using the calibrated geometry and representation. Rejected matches need an explicit validity convention. A displayed dark patch can mean an unavailable match rather than an infinitely distant surface, and an encoded invalid value must not be blindly substituted into .
Epipolar geometry 2026-11-05
Epipolar geometry describes the projective relationship between two camera views. A scene point away from the camera baseline and the two camera centers determine an epipolar plane. Its intersections with the image planes are corresponding epipolar lines. Knowing one image point therefore constrains its partner to a line rather than the whole second image.[ref]
Epipolar Geometry in the OpenCV-Python tutorials. Basic Concepts, two-camera plane and epipolar constraint
With image points in homogeneous coordinates, a fundamental matrix expresses the constraintFor an ideal horizontally rectified pair this reduces to equality of image-row coordinates, while horizontal displacement remains free and carries stereo disparity. A line constraint does not determine depth: many scene points along one viewing ray satisfy the geometry. Correct stereo correspondence selects a partner, and camera calibration then supports metric stereoscopic triangulation.
Fundamental matrix (computer vision) 2026-11-05
The fundamental matrix encodes the epipolar geometry of two distinct camera centers using image homogeneous coordinates. For matching image points , the ideal constraint isThus is an epipolar line in the right image, while is an epipolar line in the left image. A nondegenerate fundamental matrix has matrix rank two and is defined only up to nonzero scale.[ref]
Epipolar Geometry in the OpenCV-Python tutorials. Basic Concepts: correspondence constraint, rank-two matrix and point-to-line mapping
For an ideal horizontally aligned stereo pair with matched image coordinate origins, one possible scale convention isPutting gives , so the right point must satisfy . Its horizontal coordinate remains free: the constraint reduces the search to a line but does not determine stereo disparity or depth. Repeated texture can still make stereo correspondence ambiguous.
With camera calibration matrices and relative pose under the convention , the relation is , where . Translation direction affects the geometry, but multiplying by a scalar only rescales : the fundamental matrix alone cannot establish a metric camera baseline. Pure rotation has and requires a different geometric description.[ref]
Epipolar Geometry in the OpenCV-Python tutorials. Basic Concepts: essential and fundamental matrices, intrinsic calibration and degrees of freedom
Stereo correspondence 2026-11-05
Stereo correspondence identifies image positions in two views that depict the same scene point. This is the matching step needed before stereoscopic triangulation can recover that point. Epipolar geometry restricts a candidate match to an epipolar line; after horizontal stereo rectification, that search follows a corresponding image row.[ref]
What Is Stereo Reconstruction? by MathWorks. How Does Stereo Reconstruction Work?; Epipolar Geometry and Camera Rectification
For example, matching a corner at horizontal coordinate 120 in the left view with coordinate 96 in the right gives stereo disparity 24 pixels. A repeated window pattern might offer equally plausible candidates at 96 and 72, producing different inferred depths. Geometry alone does not choose the correct window. A foreground object can also hide the feature in one view: occlusion in stereo vision then prevents a visible match. Texture, agreement of nearby matches and explicit rejection of ambiguous locations supply evidence beyond mere proximity along a row. A confident disparity map must represent locations where stereo correspondence failed as well as those where it succeeded.
Stereo disparity 2026-11-05
Stereo disparity is the difference between the image positions of the same scene feature in two views. For an ideal horizontally aligned pair, use signed horizontal coordinates with matched principal points and defineWith the orientation and camera baseline convention of stereoscopic triangulation, a point in front of the cameras has : stereo disparity measures inverse depth, rather than depth itself. Halving doubles when the camera baseline and focal length stay fixed.
A disparity map assigns this difference to matched image locations. Finding the matches is a separate stereo correspondence problem. A repeated pattern can give several plausible matches; a feature hidden from one camera has no visible partner. A small measured stereo disparity is therefore not, by itself, proof of a distant object: the match and calibration must also be credible.[ref]
What Is Stereo Reconstruction? by MathWorks. Stereo Image Rectification and Disparity Map Computation: aligned rows, matching pixels and disparity-to-depth conversion
The ideal relation also explains why far-away reconstruction becomes sensitive to measurement error. Differentiating gives ; the first-order propagation of uncertainty is . Thus equal disparity errors produce larger depth errors at greater depth. The example and curves under stereoscopy quantify this effect.
Stereomicroscope 2026-11-05
A stereomicroscope is an optical microscope that sends distinct views of the same specimen to the two eyes through separate viewing channels. The views originate at slightly different directions, producing stereo disparity that supports stereoscopy. Two microscope eyepieces alone do not establish stereo imaging: splitting one image into identical copies supplies no second viewpoint.
A two-objective arrangement uses separate microscope objective assemblies whose viewing directions converge on the specimen. A shared-objective arrangement can instead preserve two distinct viewing bundles through one main objective. The distinction concerns how the two perspectives are formed, rather than the number of eyepieces. A primary manufacturer manual gives a concrete two-path example: its S-series optics have a10° convergence angle and a compact lower assembly providing access around the specimen.[ref]
Leica S Series User Manual by Leica Microsystems. Printed p.13, “What Your Stereo Microscope has to Offer you”, optical paths and specimen access
For an original geometric illustration, take two viewing rays inclined by to the normal of a reference plane. A feature at height above that plane has ray intersections displaced in opposite directions by , so their separation isWith total convergence angle and , the separation is about0.175mm. This back-projected reference-plane geometry illustrates stereoscopic triangulation; it is not a specification of human depth accuracy or a universal pixel-to-height calibration. Actual image coordinates also depend on each channel's optics and alignment.
The distinct viewpoints are useful when positioning a fine tool near a surface, inspecting a small mechanical assembly or distinguishing raised features from flat markings. Illumination reflected from an opaque surface makes many such specimens accessible without preparing a thin transmitting section. The microscope working distance determines how much physical room remains between the instrument and the focused specimen, which matters when a probe or tool must enter that space.
For measurement, retain the magnification setting and calibrate the relevant channel with a stage micrometer. A scale calibration in a reference plane does not automatically convert stereo displacement into height; that requires the viewing geometry or a separate height calibration. Increasing magnification also does not guarantee improved diffraction-limited resolution. The purpose of the second view is geometric information, alongside the instrument's ability to resolve and magnify structure.
Stereo rectification 2026-11-05
Stereo rectification transforms a pair of images so that corresponding epipolar lines become aligned scan lines. In a horizontal stereo arrangement, a scene point visible in both rectified views should have the same vertical image coordinate. This turns a two-dimensional matching search into a one-dimensional search along a row.[ref]
Camera Calibration and 3D Reconstruction by OpenCV. stereoRectify(), horizontal stereo case, R1/R2 and P1/P2
For example, a feature initially at left row 100 and right row 104 can be mapped to the same row in virtual aligned views. Camera calibration supplies geometry for the transforms, and image resampling evaluates the transformed images on a new pixel grid. The new images need not retain every border region. Stereo rectification aligns the geometric search; it does not identify the correct partner among repeated patterns or restore a feature hidden in one view. The rectified focal length and coordinate offsets must also be used when converting stereo disparity to depth.
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
Stereoscopy Created 2026-10-18 Updated 2026-11-05
Stereoscopy uses images from different viewpoints to convey or recover depth. In scientific photography, identifying the same feature in two calibrated views permits stereoscopic triangulation: intersecting the directions inferred from the two images.[ref]
What Is Stereo Reconstruction? by MathWorks. How Does Stereo Reconstruction Work? and Stereo Camera Calibration
Consider ideal cameras with parallel axes, separated by a baseline . With matching forward-projection coordinates and common focal length in image-coordinate units, a point at projects toSubtracting gives the stereo disparity , hence . If and are measured in pixels, has the same length unit as .
For an original example, , pixels and pixels give . First-order propagation of uncertainty gives . Thus fixed disparity precision produces increasing depth uncertainty for more distant objects. Correctly matching the same feature is also essential; ambiguous or hidden features can defeat the reconstruction even when the geometry is known.
Stereo vision 2026-11-05
Stereo vision estimates three-dimensional structure from images taken at different viewpoints. After camera calibration and alignment into a common image geometry, a point's horizontal displacement between the two views is its stereo disparity . For parallel ideal cameras with camera baseline and focal length in pixel units, similar triangles giveFor pixels, and pixels, the inferred depth is . Doubling the depth halves the stereo disparity, making distant structure harder to measure accurately.[ref]
What Is Stereo Reconstruction? by MathWorks. How Does Stereo Reconstruction Work?, disparity-to-depth equation
A practical apparatus uses two rigidly mounted cameras, a calibration target and synchronized exposures. Matching the same physical feature is essential: repeated textures, hidden surfaces and motion can give false correspondences. The measurement is therefore geometric inference from matched observations, not an intrinsic depth label stored in each pixel.[ref]

