Lec02 Image Mod
Lec02 Image Mod
Computational Vision
Image Modalities
most slides are shamelessly stolen from
Steven Seitz, Aleosha Efros, and Terry Peters
CS 484/684
Computational Vision
Photo/Video data
• Lenses
• Pin-hole camera model – the basics
• Digital images and volumes
Medical Images and Volumes
• X-ray, MRI, CT, and Ultrasound
Pinhole camera
Depth is ambiguous
as distant objects appear smaller
e.g. compare the image of A and C
Camera Obscura
Slide by Aleosha Efros
http://www.debevec.org/Pinhole/
?
Slide by Steve Seitz
Adding a lens
“circle of
confusion”
object distance (depth) image distance
Adding a lens
more generally,
image plane
point
far away
(at infinity)
assuming image assuming object
distance equals distance is
focal length f infinity
Basic lens camera
image
plane lens
point
far away
(at infinity)
focal
assuming object
length f
distance is
infinity
Basic lens camera
image
plane lens
point
far away
(at infinity)
focal
assuming object
length f
distance is
infinity
Basic lens camera
image
plane lens
point
far away
(at infinity)
focal
assuming object
length f
distance is
infinity
Basic lens camera
image
plane lens
focal
assuming object
length f
distance is
infinity
Basic lens camera
image
plane lens
focal
assuming object
length f
distance is
infinity
NOTE: - Rays from closer 3D points converge at a “circle of confusion” if image distance is lens’ focal length.
- In-focus points can be adjusted by changing image distance.
- We use simplified “pin hole camera model” ignoring “out-of-focus” issues assuming 3D points are far enough.
Basic camera model: “pin hole”
image
plane lens
simplified
“pin hole” model
NOTE:
for pin hole camera model “focal length” (f) is defined as image distance (to the “hole”).
As mentioned earlier, focal length of a lens does not have to be equal to the image distance (to the lens).
Basic camera model: “pin hole”
image “equivalent”
plane lens image plane
simplified
“pin hole” model
f f
Basic camera model: “pin hole”
(virtual)
lens image plane
simplified
“pin hole” model
camera’s
“optical center” C
or
“view point”
Simplified camera representation: image plane is drawn in front of the optical center.
We will use such “pin hole” camera model later in the course.
Simple example of
projective geometry (from 3D point to 2D pixel)
y
v
camera-centered
z
world coordinate f for image pixels locations (2D)
system
u
C image
x coordinate Simplifying Assumptions
system (more general case in Topic 7)
y
v
camera-centered
z
world coordinate f (u,0) u v
system
(x,0,z)
u image-based
C image
coordinates
x of the projection
coordinate
point
system
y
v
camera-centered
z
world coordinate f (x,y,z) u v
(u,v)
system
u image-based
C image
coordinates
x of the projection
coordinate
point
system
The eye
Cameras
Widely available
Figure by Gonzalez & Woods
spatial resolution
(number of pixels, pixel size)
Figure by Gonzalez & Woods
What is an image?
Images as functions
Slide by Aleosha Efros
RGB
Image Data “Tensors”
(multidimensional arrays)
Video - 3D = X*Y*Time
Medical volumetric data (MRI, CT) - 3D = X*Y*Z
Image Modalities
PART II:
Medical images and volumes
• X-ray
• CT
• MRI
• Ultrasound
Slides from Terry Peters
In the beginning…..X-rays
Discovered in 1895
Mainstay of medical imaging till 1970’s
1971 – Computed Tomography (CAT, CT) scanning
1978 - Digital Radiography
………
1980 Magnetic Resonance Imaging
X-rays
Wilhelm Conrad Röntgen (1845-1923)
Nobel Prise in Physics, 1901
Late 1960’s:
Radon Transformation
CT imaging
CT imaging, inventing (1972)
Sir Godfrey Hounsfield
Engineer for EMI PLC
1972
Nobel Prize 1979 (with
Alan Cormack)
CT imaging, availability (since 1975)
25 years later
1974
Original axial CT image from the Axial CT image of a normal brain using a
dedicated Siretom CT scanner circa 1975. state-of-the-art CT system and a 512 x
The EMI-Scanner
This image is a coarse 128 x 128 matrix; 512 matrix image. Note the two black
however, in 1975 physicians were "pea-shaped" ventricles in the middle of
fascinated by the ability to see the soft the brain and the subtle delineation of
tissue structures of the brain, gray and white matter
including the black ventricles for the first (Courtesy: Siemens)
time (enlarged in this patient)
Slides from Terry Peters
30 Years of CT
Slides from Terry Peters
Birth of MRI
Birth of MRI
Lauterbur
and the
first
magnetic
resonance
images
(from
Nature)
Slides from Terry Peters
30 Years of MRI
MR Imaging
MR Angiography
GD-enhanced
Phase-contrast
GD-enhanced
In-flow
Slides from Terry Peters
1 www.atamai.com
Slides from Terry Peters
Diffusion-Weighted MRI
Tractography
Tractography
Wernicke’s area
Broca’s area
Short fibres
Long fibres
Insula
fibres
Temporal fibres
“just like Gray’s Anatomy”!
Superior
Longitudinal Fasciculus
- Dr. D Jones, NIH USA
Slides from Terry Peters
fMRI
Tumour
Face Activation
Slides from Terry Peters
Ultrasound