CSE 5524: �Image formation
Course information, grading, reading, policy, etc.
https://sites.google.com/view/osu-cse-5524-sp25-chao/home
2
Textbook
3
Foundations of Computer Vision
You have PDF access!
Homework release and due (tentative)
4
Today
5
From lights to world interpretation
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Images & cameras
Projection surface
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
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.]
Can we really have orthographic projection?
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Today
11
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.]
Bending the light
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.]
Generalization to the “whole plane”
[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.]
Today
24
Imaging with lenses
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Lenses impose a “perspective” projection, like pinhole cameras
Imaging with lenses
f: focal length
n: material index
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Imaging with lenses
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Depth of field
Sensor plane
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Focal plane
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Depth of field:
region around the focal plane whose blur effect is within the tolerance
Depth of field
[Figure credit: https://www.google.com/url?sa=i&url=https%3A%2F%2Ffstoppers.com%2Fnews%2Fchange-your-depth-field-app-9507&psig=AOvVaw1mooNsqleZkvCtSeA28kSk&ust=1737132367428000&source=images&cd=vfe&opi=89978449&ved=0CBQQjRxqFwoTCICPo8bY-ooDFQAAAAAdAAAAABAR]
Is Depth of field adjustable?
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
A: aperture
A = f/N, N is a camera’s f-number
U: object plane
Is Depth of field adjustable?
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Consumer cameras
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Questions?
Lens is not necessarily convex
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Lenses in telescope
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Consumer camera
https://i1.adis.ws/i/canon/pro-infobank-aperture-lens-cutaway_3823a2b43d46401999eb0c4886f78d99?$media-collection-full-dt-jpg$
Questions?
Camera as linear system (section 7)
Cameras as linear systems
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Inverse problem
Cameras as linear systems
[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.]
Other imagers: edge camera
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Other imagers: pinspeck camera
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Fun read
Light field camera
Homework 1
Problem overview
Given
Goal: Generate
Y: 3D height
Z: 3D depth
Convention
i
j
For implementation, locations are indexed by [I, j]
Y: 3D height
Z: 3D depth
(i, j)
y: 2D vertical
Cue 1: edges (white pixels mean edges)
All edges
Contact edges
Vertical edges
Horizontal
You need to find edge locations!
Put all the constraints together
Least square solution!
For example,
A is like 2300-by-1681
Why linear system? Try this toy example
1
4
7
2
?
8
3
6
9
i
j
Self introduction