CSE 5524: �Image formation
Course information
https://sites.google.com/view/osu-cse-5524-sp25-chao/home
Dr. Wei-Lun (Harry) Chao (chao.209), Office: DL 587
Office hours: Tu 11 am – noon; Th 9 – 10 am (DL 587)
Amin Karimi Monsefi (karimimonsefi.1), CSE PhD student
Office hours: M 9 – 10 am; W 10 – 11 am (BE 406)
2
Course information
3
Textbook
4
Foundations of Computer Vision
In talking with OSU Library to have PDF access!
Final project vs. Final exam
1/23 next Thursday
Linear algebra quizzes are released
Today
8
Goal
Depth estimation and 3D reconstruction
A simple world: the blocks world
What are inside?
Image formation assumptions
10
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
[Figure credit: https://www.geeksforgeeks.org/parallel-othographic-oblique-projection-in-computer-graphics]
Our goal: recover the world coordinate of all pixels
We want to know X(x, y), Y(x, y), and Z(x, y) from the given image!
What we know:
We need some cues from images and the 3D world!
11
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Our goal: recover the world coordinate of all pixels
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
(x, y)
Reconstructed 3D worlds from other views
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Cue 1: edges
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Cue 2: Surfaces & Cue 3: properties from 3D to 2D
Our goal: recover the world coordinate of all pixels
We want to know X(x, y), Y(x, y), and Z(x, y) from the given image!
16
If we know Y(x, y), we know Z(x, y)
Our goal: recover the world coordinate of all pixels
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
(x, y)
Estimating Y(x, y) from the input image
Y
Estimating Y(x, y) from the input image
Y
Estimating Y(x, y) from the input image
Y
Estimating Y(x, y) from the input image
Y
Horizontal edges: Y won’t change along the edge
= 0
Estimating Y(x, y) from the input image
Y
Surfaces: flat, not curved
Constraints propagation via “optimization”
Least square solution!
Results
Today
25
Goal
“Visible” light interacting with surfaces
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Power (wavelength)
Bidirectional reflection distribution function
Lambertian surfaces
Specular surfaces
Why are these models important?
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Two light sources
From lights to world interpretation
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Questions?
Images & cameras
Projection surface
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Examples of pinhole cameras
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Does the distance between the projection surface and the pinhole matter?
The world is full of accidental cameras
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Image formation by perspective projection
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Image coordinates vs.
virtual camera coordinates?
Perspective projection equations
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Orthographic (parallel) projection equations
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Good for the telephoto lenses
Can we really have orthographic projection?
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Questions?
What’s wrong with pinhole cameras
Projection surface
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Images are dime …
Limited lights ...
From pinholes to lenses
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Light needs to be concentrated/ bent!
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Lensmaker’s formula
Snell’s law
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
A lens
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Simplified optical system
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
General cases
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]