Ir al contenido
Volume 2

The Geometry of Sight

Mastering Visual Odometry and Photometric Motion Estimation

Turn raw pixels into precise physical motion with the power of computer vision.

Strategic Objectives

• Master the mathematical foundations of ego-motion estimation.

• Bridge the gap between raw pixel intensities and 3D spatial awareness.

• Implement robust feature tracking and outlier rejection techniques.

• Understand the critical intersection of photometry and rigid body kinematics.

The Core Challenge

Traditional navigation fails where GPS cannot reach, leaving robots blind to their own movement in complex environments.

01

The Genesis of Visual Odometry

From Mars Rovers to Autonomous Navigation
You will explore the fundamental origins and necessity of visual odometry. By understanding why we move beyond wheel encoders, you will appreciate how optical streams provide a ground truth for ego-motion in challenging terrains.
Historical Motivations
Why Visual Odometry Emerged

Examine the limitations of traditional wheel encoders and inertial sensors, highlighting challenges faced in extraterrestrial exploration and uneven terrestrial terrains. Discuss how these challenges motivated the shift toward camera-based ego-motion estimation.

Pioneering Space Applications
Visual Odometry on Mars Rovers

Explore the implementation of visual odometry in early Mars rover missions, illustrating how optical flow and stereo vision enabled accurate navigation in feature-sparse environments.

Core Principles of Optical Ego-Motion
From Pixels to Pose Estimation

Introduce the foundational mathematical concepts underpinning visual odometry, including motion estimation, photometric consistency, and feature tracking, emphasizing their role in deriving real-world movement from image streams.

02

The Physics of Light

Understanding Photometry and Image Formation
You need to master the science of light measurement to understand how raw pixel intensities are generated. This chapter ensures you can distinguish between surface reflectance and illumination changes, which is vital for photometric consistency.
Fundamentals of Light
Nature, Properties, and Behavior of Light

Introduce the physical nature of light, including wave-particle duality, wavelength, intensity, and energy. Establish how these properties underpin visual perception and sensor response.

Measuring Light: Photometry Principles
From Luminous Flux to Pixel Intensity

Explain key photometric quantities such as luminous flux, illuminance, and luminance, emphasizing how these measurements relate to camera sensors and image formation.

Surface Reflectance and Material Interaction
How Surfaces Modify Incident Light

Discuss the interaction between light and surfaces, including Lambertian and specular reflection models, to differentiate material properties from illumination changes in images.

03

Projective Geometry

Mapping the 3D World to a 2D Plane
You will dive into the mathematical framework that allows 3D points to be projected onto a camera sensor. This foundation is essential for you to reverse the process and recover spatial depth from flat images.
Foundations of Projective Spaces
Understanding Points, Lines, and Planes in Projection

Introduce the core concepts of projective spaces, homogeneous coordinates, and the abstraction of points at infinity. Discuss why these foundations are critical for mapping the 3D world to a 2D plane in visual odometry.

The Mathematics of Projection
Linear Transformations and Camera Models

Detail the linear algebra behind projecting 3D points to 2D images using matrices. Cover pinhole camera models, projection matrices, and the role of intrinsic and extrinsic parameters in visual motion estimation.

Homographies and Planar Mapping
Relating 2D Image Planes Across Views

Explain homographies as the bridge between different 2D views of a plane. Show how they are derived from projective principles and how they help in understanding camera motion and scene geometry.

04

The Pinhole Camera Model

Geometry of the Ideal Imaging System
You will learn the standard model used to represent camera intrinsics. This chapter teaches you how to calibrate your sensors, ensuring your motion derivations are mathematically sound and physically accurate.
Foundations of the Pinhole Camera
Understanding the Idealized Imaging Process

Introduce the basic principles of the pinhole camera model, including the concept of projecting 3D points onto a 2D image plane. Highlight its significance as the theoretical baseline for visual odometry.

Camera Intrinsics and Coordinate Systems
Defining the Parameters of Image Formation

Detail the intrinsic parameters such as focal length, principal point, and pixel scaling. Explain the coordinate systems involved, including camera and image planes, and their role in mapping real-world points to pixels.

Mathematical Formulation of Projection
Deriving the Projection Equations

Present the derivation of the mathematical equations linking 3D world points to 2D image points. Cover homogeneous coordinates, perspective division, and the linear-algebraic representation of the pinhole model.

05

Feature Detection and Extraction

Identifying Salient Landmarks in Pixels
You must learn to find 'anchor points' in an image. This chapter guides you through identifying corners and edges that remain stable across multiple frames, providing the raw data for your motion algorithms.
Fundamentals of Visual Features
Understanding Pixels That Anchor Motion

Introduce the concept of visual features as stable points or patterns in an image that can be tracked across frames, emphasizing why corners, edges, and textured regions serve as reliable anchors for visual odometry.

Edge and Corner Detection Techniques
Pinpointing High-Contrast Landmarks

Examine the main algorithms for detecting edges and corners, including their strengths and weaknesses, and explain how these methods highlight salient points in images for tracking motion.

Scale and Rotation Invariance
Ensuring Robustness Across Views

Discuss strategies to maintain feature stability under changes in scale, rotation, and viewpoint, including the use of multi-scale representations and rotation-invariant descriptors.

06

Scale-Invariant Transformations

Robustness Across Perspectives
You will discover how to maintain feature identity even when the camera moves closer or further away. This chapter empowers you to build systems that don't lose track of the world during rapid scale changes.
Understanding Scale in Visual Systems
Why scale matters in perception

Explains the concept of scale in visual odometry and motion estimation, highlighting the challenges when a camera observes the same scene from different distances or zoom levels.

Detecting Scale-Invariant Features
Preserving identity under transformations

Introduces the methodology for identifying features that remain consistent across scale changes, including keypoint detection, orientation assignment, and descriptor formulation.

Building Robust Descriptors
Encoding features for scale resilience

Covers how to construct descriptors that encode the local image information in a way that is robust to scaling and minor perspective changes, enabling reliable matching across frames.

07

Corner Detection Methods

Mathematical Precision in Image Structure
You will focus on the high-gradient areas of images. By mastering corner detection, you gain the ability to select the most computationally efficient points for real-time tracking applications.
Fundamentals of Image Corners
Understanding High-Gradient Features

Introduce the concept of corners as high-information points in an image. Explain their significance for visual odometry, photometric motion estimation, and the selection of efficient tracking points.

Mathematical Foundations
Gradient Matrices and Eigenvalue Analysis

Detail the mathematical techniques used to identify corners, including gradient computation, structure tensors, and eigenvalue analysis to quantify corner strength.

Classic Corner Detection Algorithms
Harris, Shi-Tomasi, and Beyond

Compare key corner detection algorithms, their assumptions, and their computational trade-offs. Discuss how each method balances detection accuracy with real-time efficiency.

08

The Optical Flow Constraint

Estimating Apparent Motion of Brightness
You will transition from static features to temporal changes. This chapter teaches you how to calculate the velocity of pixels, which is the direct precursor to estimating the physical movement of the camera itself.
Introduction to Optical Flow
Understanding Motion Through Brightness Changes

Introduce the concept of optical flow as the apparent motion of image intensity patterns. Explain its role in linking temporal changes in images to physical motion estimation, highlighting its importance in visual odometry.

The Optical Flow Equation
Deriving the Brightness Constancy Constraint

Detail the derivation of the fundamental optical flow equation using the assumption of constant brightness across consecutive frames. Discuss the relationship between pixel velocities and temporal and spatial image derivatives.

Local Motion Estimation Techniques
Lucas-Kanade and Differential Methods

Explain methods to compute optical flow at a local level. Cover the Lucas-Kanade method, its assumptions, and practical implementation, alongside other differential approaches for estimating small motions in image sequences.

09

Image Registration Techniques

Aligning Frames for Motion Continuity
You will learn the algorithms used to overlay two or more images of the same scene. This is critical for you to establish the geometric relationship between consecutive time steps in a video stream.
Foundations of Image Registration
Understanding Alignment and Transformation

Introduce the concept of image registration, its importance in visual odometry, and the types of transformations (rigid, affine, non-rigid) used to align images in sequential frames.

Feature-Based Registration
Leveraging Keypoints and Descriptors

Explain the use of feature detection and matching for registration, including keypoint extraction, descriptor computation, and correspondence matching to estimate motion between frames.

Intensity-Based Registration
Aligning Images Through Photometric Metrics

Cover methods that rely on pixel intensities, including correlation, mutual information, and gradient-based approaches, highlighting scenarios where feature-based methods may fail.

10

Epipolar Geometry

The Intrinsic Constraints of Two Views
You will uncover the hidden geometric lines that constrain where a point in one image can appear in another. This chapter is your secret weapon for narrowing down search spaces and validating feature matches.
Foundations of Epipolar Constraints
Understanding the Geometry Between Two Views

Introduce the core principles of epipolar geometry, including the epipoles, epipolar lines, and the correspondence problem between two camera views. Emphasize the role of intrinsic and extrinsic camera parameters in defining these constraints.

The Fundamental Matrix
Encoding Two-View Relationships

Explain the fundamental matrix as the algebraic embodiment of epipolar constraints. Show how it maps points in one image to epipolar lines in the other and discuss its properties, estimation methods, and role in feature validation.

Epipolar Geometry in Camera Calibration
From Theory to Real Cameras

Explore how intrinsic and extrinsic calibration affect epipolar geometry. Discuss the simplifications that occur with rectified cameras and how this aids visual odometry and motion estimation.

11

The Essential Matrix

Encoding Rotation and Translation
You will learn to distill the relative motion between two cameras into a single $3 \times 3$ matrix. This chapter shows you how to extract the exact physical rotation and translation of your device from image pairs.
Conceptual Overview of the Essential Matrix
Why a Single Matrix Encodes Camera Motion

Introduce the essential matrix as the core representation of relative camera motion, explaining its role in connecting image correspondences to real-world 3D transformations.

Mathematical Foundations
From 3D Motion to a 3x3 Matrix

Derive the essential matrix from first principles, showing how camera rotation and translation combine algebraically, including the role of skew-symmetric matrices for translation.

Estimating the Essential Matrix from Image Pairs
Practical Computation and Constraints

Describe algorithms for computing the essential matrix from point correspondences, including the 8-point algorithm and normalization techniques, and discuss the epipolar constraint.

12

The Eight-Point Algorithm

Solving Motion from Minimal Correspondences
You will implement the classic solution for estimating the fundamental matrix. This provides you with a concrete programmatic approach to solving the motion problem with just a handful of pixel matches.
From Pixel Matches to Motion Constraints
Why Correspondences Contain Hidden Geometry

Introduces the central challenge of motion estimation from image correspondences. The section explains how matched pixels across two views encode geometric relationships between cameras and why recovering these relationships is essential for visual odometry. It frames the fundamental matrix as the mathematical object that converts raw pixel matches into structured motion constraints.

The Algebra of Epipolar Constraints
Encoding Camera Geometry in a Single Matrix Equation

Develops the epipolar constraint that governs how corresponding points relate between two views. The section explains how the fundamental matrix captures the mapping between points and epipolar lines and introduces the bilinear constraint that becomes the core equation solved by the eight-point algorithm.

Why Eight Points Are Enough
Minimal Information for Solving the Fundamental Matrix

Explains why a minimum of eight correspondences is sufficient to estimate the entries of the fundamental matrix. The section explores the degrees of freedom of the matrix, the linearization of the constraint equations, and the transformation of geometric relationships into a solvable linear system.

13

Rigid Body Kinematics

The Mechanics of 3D Movement
You must understand how objects move in space without deforming. This chapter bridges the gap between image-plane movement and the actual physical trajectory of your robot or drone.
From Image Motion to Physical Motion
Why Visual Odometry Requires a Model of Rigid Movement

Introduces the necessity of rigid body kinematics for interpreting image-plane displacement as real-world motion. The section explains why visual measurements alone are insufficient without a physical motion model and establishes the connection between feature motion in images and the trajectory of a moving camera or robot in three-dimensional space.

The Rigid Body Assumption
Motion Without Deformation

Defines the rigid body model and explains its critical role in robotics and computer vision. The section describes how distances between points remain constant during motion and why this assumption allows visual systems to infer structure and trajectory from observed correspondences between frames.

Describing Motion with Reference Frames
World Coordinates, Camera Coordinates, and Relative Motion

Explains how motion is expressed using coordinate frames and transformations. The section introduces world frames, body frames, and camera frames, showing how robot trajectories are represented as transformations between coordinate systems across time.

14

Bundle Adjustment

Refining Structure and Motion Together
You will learn how to globally optimize your estimates. This chapter teaches you to minimize reprojection errors across many frames, ensuring your visual odometry doesn't drift into inaccuracy over time.
Why Local Estimates Are Not Enough
The Accumulation of Error in Visual Odometry

Introduces the problem of drift in sequential pose estimation and explains why incremental motion estimation inevitably accumulates error over long trajectories. The section motivates the need for global refinement by showing how inconsistencies emerge when multiple frames observe the same scene points. Bundle adjustment is introduced as the mechanism that reconciles these inconsistencies by optimizing all poses and scene points simultaneously.

The Geometry Behind Reprojection
Connecting 3D Structure to Image Observations

Explains how 3D points project into camera images and how these projections form the fundamental constraint used for optimization. The section describes reprojection error as the discrepancy between observed feature locations and their predicted image positions based on estimated camera poses and scene geometry.

Formulating the Global Optimization Problem
Estimating Cameras and Scene Structure Together

Presents the mathematical formulation of bundle adjustment as a joint optimization problem over camera parameters and 3D point coordinates. The section explains how minimizing the total reprojection error across all frames creates a globally consistent estimate of motion and structure.

15

Random Sample Consensus (RANSAC)

Robust Estimation Amidst Noise
You will discover how to deal with 'bad data.' Since pixel matches are often wrong, this chapter gives you the statistical tools to find the 'consensus' and ignore the outliers that would otherwise ruin your motion path.
When Vision Lies
The Reality of Outliers in Pixel Correspondence

Introduces the fundamental problem of incorrect feature matches in visual odometry pipelines. The section explains how occlusions, repetitive textures, illumination shifts, and tracking drift generate misleading correspondences, and why even a small number of such outliers can catastrophically distort geometric estimation.

Consensus as a Statistical Strategy
Separating Signal from Geometric Noise

Explains the core idea behind consensus-based estimation: rather than trusting all measurements equally, the algorithm searches for a subset of data points that agree with a geometric model. This section frames consensus as a philosophical and statistical response to unreliable measurements in vision systems.

The RANSAC Algorithm
Random Sampling to Discover Reliable Geometry

Breaks down the RANSAC procedure step by step: random minimal sampling, model hypothesis generation, evaluation of agreement, and selection of the best consensus set. The narrative emphasizes why random sampling works surprisingly well in the presence of large numbers of incorrect correspondences.

16

Structure from Motion (SfM)

Reconstructing the Environment
You will expand your focus from just 'where am I' to 'what is around me.' This chapter explains the simultaneous recovery of 3D scene geometry and camera poses from a sequence of 2D images.
From Motion Estimation to Scene Reconstruction
Extending Visual Odometry Toward Spatial Understanding

This section introduces the conceptual leap from estimating camera motion to reconstructing the surrounding environment. It explains why recovering three-dimensional structure is the natural next step after determining camera trajectories. The section frames Structure from Motion as the process that unifies motion estimation and spatial inference, allowing a visual system to transform sequences of images into a coherent representation of the world.

Geometric Foundations of Multi-View Reconstruction
How Multiple Images Encode Depth and Spatial Layout

This section explains how depth information emerges from multiple viewpoints. It introduces the geometric principles that allow image correspondences across frames to reveal three-dimensional structure. By examining how camera motion changes perspective, the section clarifies how parallax enables the recovery of both point positions in space and the relative orientation of cameras.

Recovering Camera Poses and 3D Points Simultaneously
The Core Computational Problem of SfM

This section explores the central challenge of Structure from Motion: estimating camera positions and scene geometry at the same time. It explains why these two unknowns are interdependent and how iterative estimation strategies solve the coupled problem. The section introduces the concept of reconstructing sparse point clouds while progressively refining camera trajectories.

17

Direct Methods vs. Feature-Based

Harnessing Every Pixel Intensity
You will explore an alternative to feature matching. By looking at the direct intensity gradients of every pixel, you will learn how to achieve higher density and robustness in environments where corners are hard to find.
Two Philosophies of Visual Motion Estimation
Sparse Features Versus Dense Photometric Evidence

This section frames the historical and conceptual divide between feature-based visual odometry and direct intensity-based approaches. It explains how classical pipelines rely on detecting and matching salient keypoints, while direct methods treat the image as a continuous photometric signal. The discussion highlights the implications for robustness, density of reconstruction, and computational design.

The Photometric Consistency Principle
Assuming Intensity Stability Across Motion

This section introduces the central assumption that enables direct methods: the brightness of a point in the world remains approximately constant between frames. The concept of photometric consistency is explored along with the physical and imaging assumptions required for it to hold, including camera response, illumination stability, and exposure considerations.

From Pixels to Motion
Using Intensity Gradients to Estimate Camera Movement

This section explains how motion can be inferred directly from pixel intensity gradients without relying on explicit feature matches. It introduces the role of image derivatives, spatial gradients, and local intensity variation in constructing motion constraints that allow estimation of camera pose and scene structure.

18

Visual-Inertial Odometry

Fusing Cameras with Accelerometers
You will learn to augment your visual data with IMU sensors. This chapter shows you how to resolve scale ambiguity and handle high-speed movements where images might become blurred or lost.
Why Vision Alone Is Not Enough
Limits of Pure Visual Odometry

This section examines the fundamental weaknesses of visual-only motion estimation, including scale ambiguity, motion blur, low-texture scenes, and temporary feature loss. It motivates the need for complementary sensing modalities by showing how inertial measurements provide continuity when visual tracking degrades.

Inertial Measurement Units as Motion Sensors
Accelerometers and Gyroscopes as Dynamic Observers

This section introduces the inertial measurement unit and explains how accelerometers and gyroscopes capture short-term motion dynamics. It explains how angular velocity and linear acceleration measurements provide high-frequency motion signals that complement slower visual updates.

Bridging Geometry and Dynamics
The Principle of Visual-Inertial Fusion

This section explains the conceptual framework of visual-inertial odometry. It shows how camera-based geometric observations and inertial dynamic measurements can be combined to estimate pose and velocity consistently. The section introduces the idea of state estimation across multiple sensor streams.

19

Pose Graph Optimization

Correcting Drift in Long Trajectories
You will treat your estimated path as a network of constraints. This chapter teaches you how to smooth out the entire history of your motion, ensuring that the start and end of your journey align perfectly.
The Accumulation of Error in Visual Motion
Why Long Trajectories Inevitably Drift

Explores the fundamental reason visual odometry trajectories degrade over time. The section explains how incremental motion estimation compounds small errors and why independent frame-to-frame estimates cannot maintain global consistency. It introduces the concept of correcting an entire trajectory rather than fixing local errors individually.

Representing Motion as a Graph of Constraints
From Sequential Estimates to a Network of Relationships

Introduces the pose graph representation in which each camera pose becomes a node and each motion estimate becomes an edge. This section reframes the trajectory as a constraint network and explains how relative pose measurements define relationships between states in the graph.

Relative Pose Constraints and Measurement Models
Encoding What Each Motion Estimate Actually Means

Examines how relative transformations between poses are encoded as constraints in the graph. The section explains uncertainty, covariance, and how measurement noise influences the strength of each edge. It highlights how different sensor modalities produce constraints with varying reliability.

20

Stereo Vision Geometry

Depth Perception through Dual Streams
You will investigate how using two cameras simplifies the odometry problem. This chapter provides you with the skills to calculate absolute scale and depth instantly, mimicking human binocular vision.
From Monocular Ambiguity to Binocular Certainty
Why Two Cameras Solve the Scale Problem

This section introduces the geometric limitations of monocular visual odometry, particularly the inability to determine absolute scale. It explains how the introduction of a second camera transforms the problem by creating measurable spatial relationships. The reader is guided through the conceptual leap from temporal motion inference to instantaneous spatial triangulation.

The Stereo Camera Model
Parallel Cameras, Baseline Geometry, and Calibration

This section defines the geometric configuration of a stereo camera rig. It explains the meaning of baseline distance, camera alignment, intrinsic and extrinsic parameters, and how calibration establishes the rigid relationship between the two imaging systems. The foundation is laid for translating pixel correspondences into real-world geometry.

Epipolar Geometry in Stereo Systems
Constraining Correspondence Across Dual Views

This section explores the geometric constraints that govern how points observed in one camera must appear in the other. It introduces epipolar planes, epipolar lines, and the fundamental relationship between corresponding pixels. The section emphasizes how these constraints drastically simplify the search for feature matches.

21

The Future of Photometric Navigation

Deep Learning and Neural Radiance Fields
You will conclude by looking at the cutting edge. This chapter introduces you to how AI is revolutionizing photometric geometry, allowing you to synthesize and navigate complex 3D scenes with unprecedented realism.
Reimagining Visual Odometry with AI
From Traditional Photometry to Neural Approaches

Explore how deep learning transforms photometric navigation by learning complex scene representations, moving beyond conventional feature tracking and intensity-based methods.

Neural Radiance Fields: Principles and Mechanics
Understanding Scene Representation through Continuous Volumes

Introduce the concept of Neural Radiance Fields (NeRFs), explaining how they model 3D scenes via neural networks and volume rendering to synthesize novel views with high fidelity.

Integrating NeRFs into Photometric Navigation
From Synthetic Views to Real-Time Motion Estimation

Discuss methods to leverage NeRFs for navigation, including pose estimation, path planning in synthesized environments, and photometric consistency across views.

Available eBook Editions

Arabic
English
French
German
Italian
Japanese
Korean
Portuguese
Spanish
Turkish