Computer vision 2026-11-05
Computer vision infers information about a scene from digital images or video. Tasks include recognizing objects, image segmentation and estimating three-dimensional geometry. A digital image records pixel measurements after image formation; lighting, viewpoint and occlusion therefore affect what can be inferred. A dark pixel can indicate a dark surface, a shadow or a surface facing away from the light.
For example, in rectified stereo vision with parallel cameras, horizontal disparity is related to depth by , where is focal length in pixel units and is camera separation. similar triangles give the relation; a smaller disparity means greater distance. The relation requires corresponding scene points and calibrated geometry. Since , a fixed disparity error produces much greater depth error for distant points. Camera calibration, correspondence and uncertainty are thus part of the computation, rather than details that can be ignored after acquiring a picture.
Scale ambiguity of perspective projection means that image coordinates alone cannot determine absolute scene size and distance. In an ideal camera with focal length and centered image coordinates,
Replacing by for any positive leaves unchanged. A geometrically similar scene twice as large and twice as far away therefore produces the same projection.[ref]
For example, a object at depth and a object at depth subtend the same image height under this model. Extra metric information, such as a known object length or a measured camera baseline, supplies a scale. In stereo vision, scaling the reconstructed scene and the assumed baseline together preserves the image observations; measuring the baseline breaks that freedom. Camera calibration of focal length alone does not provide an absolute length for an otherwise unknown scene.
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 give
For pixels, and pixels, the inferred depth is . Doubling the depth halves the stereo disparity, making distant structure harder to measure accurately.[ref]
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]