Unit 3
Unit 3
UNIT-3
Lecture-1
Stereo Geometry
Stereo Geometry
• (A) Disparity
• Disparity measures the difference in pixel
coordinates
• of corresponding points in two images.
• It is used to estimate depth.
• where: d is disparity.
• xL, xR are the x-coordinates of the point
• in the left and right images.
Fundamental Elements Stereo Geometry
• Depth Estimation
• From disparity, we compute depth Z
using:
• Rectification
• Rectification aligns stereo images
• corresponding points appear on the same
horizontal line,
• simplifying disparity computation.
• In rectified images, epipolar lines are parallel.
Example: Depth Computation
• Given:
• Baseline: B=0.2m
• Focal length: f=700pixels
• Left image coordinate: xL=120
• Right image coordinate:
xR=110
Example: Depth Computation
Epipolar Geometry
• Epipolar geometry describes the relationship
• between corresponding points
• in two images taken from different viewpoints.
• Instead of searching the entire second image for a
match,
• It restricts the search to a line called the epipolar
line.
Epipolar
Geometry
Real world scene captured from two different
view points
Elements of Epipolar Geometry
• gray region is the epipolar plane.
• The orange line is the baseline,
• while the two blue lines are the epipolar
lines.
Elements of Epipolar Geometry
• Affine Motion
• Includes scaling, shearing, rotation, and translation.
• Used in cases where the camera model is not strictly
pinhole.
• Homography (Planar Motion)
• Assumes the scene is planar.
• Useful in image stitching and panorama generation.
Motion Type Description Example
Dolly Moves forward/backward Pushing in on an actor’s
face
Side-tracking a
Tracking Moves left/right
running character