Lecture 8 Camera Models

Similar documents
Lecture 2 Camera Models

Lecture 2 Camera Models

Lecture 7: Camera Models

Lecture 7: Camera Models

Building a Real Camera. Slides Credit: Svetlana Lazebnik

Building a Real Camera

Image formation - Cameras. Grading & Project. About the course. Tentative Schedule. Course Content. Students introduction

Computer Vision. The Pinhole Camera Model

CS6670: Computer Vision

Projection. Announcements. Müller-Lyer Illusion. Image formation. Readings Nalwa 2.1

Image Formation III Chapter 1 (Forsyth&Ponce) Cameras Lenses & Sensors

Cameras. CSE 455, Winter 2010 January 25, 2010

Projection. Readings. Szeliski 2.1. Wednesday, October 23, 13

CS6670: Computer Vision

Lecture 02 Image Formation 1

CPSC 425: Computer Vision

CSE 473/573 Computer Vision and Image Processing (CVIP)

Projection. Projection. Image formation. Müller-Lyer Illusion. Readings. Readings. Let s design a camera. Szeliski 2.1. Szeliski 2.

How do we see the world?

The Camera : Computational Photography Alexei Efros, CMU, Fall 2008

Unit 1: Image Formation

Two strategies for realistic rendering capture real world data synthesize from bottom up

The Camera : Computational Photography Alexei Efros, CMU, Fall 2005

Dr F. Cuzzolin 1. September 29, 2015

Image Formation: Camera Model

Image Formation. Dr. Gerhard Roth. COMP 4102A Winter 2015 Version 3

Announcements. Image Formation: Outline. The course. How Cameras Produce Images. Earliest Surviving Photograph. Image Formation and Cameras

Overview. Pinhole camera model Projective geometry Vanishing points and lines Projection matrix Cameras with Lenses Color Digital image

IMAGE FORMATION. Light source properties. Sensor characteristics Surface. Surface reflectance properties. Optics

Cameras, lenses and sensors

CS 443: Imaging and Multimedia Cameras and Lenses

CS-184: Computer Graphics. Today

Reading. 8. Projections. 3D Geometry Pipeline. 3D Geometry Pipeline (cont d) Required: w Watt, Section

CSE 527: Introduction to Computer Vision

Image Formation and Capture

TSBB09 Image Sensors 2018-HT2. Image Formation Part 1

Cameras, lenses, and sensors

Image Formation. Dr. Gerhard Roth. COMP 4102A Winter 2014 Version 1

LENSES. INEL 6088 Computer Vision

Announcement A total of 5 (five) late days are allowed for projects. Office hours

Computer Vision. Thursday, August 30

Image Formation and Capture. Acknowledgment: some figures by B. Curless, E. Hecht, W.J. Smith, B.K.P. Horn, and A. Theuwissen

VC 16/17 TP2 Image Formation

VC 14/15 TP2 Image Formation

To Do. Advanced Computer Graphics. Outline. Computational Imaging. How do we see the world? Pinhole camera

VC 11/12 T2 Image Formation

Lenses, exposure, and (de)focus

PREDICTING SOUND LEVELS BEHIND BUILDINGS - HOW MANY REFLECTIONS SHOULD I USE? Apex Acoustics Ltd, Gateshead, UK

Single-view Metrology and Cameras

Geometrical Optics Optical systems

Basic principles of photography. David Capel 346B IST

Lecture 4: Geometrical Optics 2. Optical Systems. Images and Pupils. Rays. Wavefronts. Aberrations. Outline

Cameras. Outline. Pinhole camera. Camera trial #1. Pinhole camera Film camera Digital camera Video camera

Graphics and Interaction Perspective Geometry

6.A44 Computational Photography

Cameras and Sensors. Today. Today. It receives light from all directions. BIL721: Computational Photography! Spring 2015, Lecture 2!

Applied Optics. , Physics Department (Room #36-401) , ,

Lenses. Overview. Terminology. The pinhole camera. Pinhole camera Lenses Principles of operation Limitations

6.098 Digital and Computational Photography Advanced Computational Photography. Bill Freeman Frédo Durand MIT - EECS

Reading. Angel. Chapter 5. Optional

Reading. Projections. The 3D synthetic camera model. Imaging with the synthetic camera. Angel. Chapter 5. Optional

Announcements. Focus! Thin Lens Models. New Topic. Intensity Image Formation. Bi-directional: two focal points! Thin Lens Model

Digital Image Processing COSC 6380/4393

PHY 1160C Homework Chapter 26: Optical Instruments Ch 26: 2, 3, 5, 9, 13, 15, 20, 25, 27

Digital Image Processing COSC 6380/4393

Cameras. Digital Visual Effects, Spring 2008 Yung-Yu Chuang 2008/2/26. with slides by Fredo Durand, Brian Curless, Steve Seitz and Alexei Efros

Prof. Feng Liu. Spring /05/2017

The eye & corrective lenses

Cameras. Shrinking the aperture. Camera trial #1. Pinhole camera. Digital Visual Effects Yung-Yu Chuang. Put a piece of film in front of an object.

Camera Simulation. References. Photography, B. London and J. Upton Optics in Photography, R. Kingslake The Camera, The Negative, The Print, A.

Chapters 1 & 2. Definitions and applications Conceptual basis of photogrammetric processing

Waves & Oscillations

TECHSPEC COMPACT FIXED FOCAL LENGTH LENS

Hand Gesture Recognition and Its Application in Robot Control

On the field of view of a Galilean telescope

Computer Vision Lecture 1

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

Chapter 25 Optical Instruments

Fundamental Paraxial Equation for Thin Lenses

Section 3. Imaging With A Thin Lens

Design Optimisation of Compound Parabolic Concentrator (CPC) for Improved Performance R. Abd-Rahman, M. M. Isa, H. H. Goh

ECEN 4606, UNDERGRADUATE OPTICS LAB

HISTORY OF PHOTOGRAPHY

Image Processing & Projective geometry

Virtual and Digital Cameras

Computational Photography and Video. Prof. Marc Pollefeys

MEM: Intro to Robotics. Assignment 3I. Due: Wednesday 10/15 11:59 EST

Acquisition. Some slides from: Yung-Yu Chuang (DigiVfx) Jan Neumann, Pat Hanrahan, Alexei Efros

OPAC103 GEOMETRICAL OPTICS LABORATORY MANUAL. Focal Length and Magnification of a Concave Mirror

Optical Magnetic Response in a Single Metal Nanobrick. Jianwei Tang, Sailing He, et al.

Lecture 2: Geometrical Optics. Geometrical Approximation. Lenses. Mirrors. Optical Systems. Images and Pupils. Aberrations.

Reading. Projections. Projections. Perspective vs. parallel projections. Foley et al. Chapter 6. Optional. Perspective projections pros and cons:

3D Viewing I. Acknowledgement: Some slides are from the Dr. Andries van Dam lecture. CMSC 435/634 August D Viewing I # /27

Laboratory experiment aberrations

Lecture 22: Cameras & Lenses III. Computer Graphics and Imaging UC Berkeley CS184/284A, Spring 2017

Perspective. Does linear perspective occur in nature. Perspective or perspectives? E.g. we experience foreshortening.

The Art and Science of Depiction. Linear Perspective. Fredo Durand MIT- Lab for Computer Science. Perspective 2

Shaw Academy. Lesson 2 Course Notes. Diploma in Smartphone Photography

Lecture 2: Geometrical Optics. Geometrical Approximation. Lenses. Mirrors. Optical Systems. Images and Pupils. Aberrations.

Reading: Lenses and Mirrors; Applications Key concepts: Focal points and lengths; real images; virtual images; magnification; angular magnification.

Transcription:

Lecture 8 Caera Models Professor Silvio Savarese Coputational Vision and Geoetr Lab Silvio Savarese Lecture 8-5-Oct-4

Lecture 8 Caera Models Pinhole caeras Caeras & lenses The geoetr of pinhole caeras Other caera odels Reading: Silvio Savarese [FP] Chapter Caeras [FP] Chapter 2 Geoetric Caera Models [HZ] Chapter 6 Caera Models Soe slides in this lecture are courtes to Profs. J. Ponce, S. Seit, F-F Li Lecture 8-5-Oct-4

How do we see the world? Let s design a caera Idea : put a piece of fil in front of an object Do we get a reasonable iage?

Pinhole caera Add a barrier to block off ost of the ras This reduces blurring The opening known as the aperture

Soe histor Milestones: Leonardo da Vinci (452-59): first record of caera obscura

Soe histor Milestones: Leonardo da Vinci (452-59): first record of caera obscura Johann Zahn (685): first portable caera

Soe histor Milestones: Leonardo da Vinci (452-59): first record of caera obscura Johann Zahn (685): first portable caera Joseph Nicephore Niepce (822): first photo - birth of photograph Photograph (Niepce, La Table Servie, 822)

Soe histor Milestones: Leonardo da Vinci (452-59): first record of caera obscura Johann Zahn (685): first portable caera Joseph Nicephore Niepce (822): first photo - birth of photograph Daguerréotpes (839) Photographic Fil (Eastan, 889) Cinea (Luière Brothers, 895) Color Photograph (Luière Brothers, 98) Photograph (Niepce, La Table Servie, 822)

Let s also not forget Motu (468-376 BC) Oldest eistent book on geoetr in China Aristotle (384-322 BC) Also: Plato, Euclid Al-Kindi (c. 8 873) Ibn al-haitha (965-4)

Pinhole caera Pinhole perspective projection f o f = focal length o = aperture = pinhole = center of the caera

f ' f ' P P Pinhole caera Derived using siilar triangles

Pinhole caera k f i P = [, ] P =[, f ] O f

Pinhole caera f f Coon to draw iage plane in front of the focal point. What s the transforation between these 2 planes? ' ' f f

Pinhole caera Is the sie of the aperture iportant? Kate lauka

Shrinking aperture sie - Ras are ied up -Wh the aperture cannot be too sall? -Less light passes through -Diffraction effect Adding lenses!

Caeras & Lenses A lens focuses light onto the fil

Caeras & Lenses circle of confusion A lens focuses light onto the fil There is a specific distance at which objects are in focus Related to the concept of depth of field

Caeras & Lenses A lens focuses light onto the fil There is a specific distance at which objects are in focus Related to the concept of depth of field

Caeras & Lenses focal point f A lens focuses light onto the fil All parallel ras converge to one point on a plane located at the focal length f Ras passing through the center are not deviated

Caeras & Lenses Z - f o Fro Snell s law: ' ' ' ' f ' f R 2(n ) o

Thin Lenses o ' f o f R 2(n ) Snell s law: Focal length n sin = n 2 sin 2 Sall angles: n n 2 2 n = n (lens) n = (air) ' ' ' '

Issues with lenses: Radial Distortion Deviations are ost noticeable for ras that pass through the edge of the lens No distortion Pin cushion Barrel (fishee lens) Iage agnification decreases with distance fro the optical ais

Lecture 2 Caera Models Pinhole caeras Caeras & lenses The geoetr of pinhole caeras Intrinsic Etrinsic Other caera odels Silvio Savarese Lecture 8-5-Oct-4

Pinhole caera Pinhole perspective projection f o f = focal length o = center of the caera (,, ) 3 E 2 (f,f )

Fro retina plane to iages Piels, botto-left coordinate sstes

Coordinate sstes c c

Converting to piels c. Off set C=[c, c ] c (,, ) (f c, f c )

Converting to piels c c. Off set 2. Fro etric to piels (,, ) (f k c, f l c ) C=[c, c ] Units: k,l : piel/ f : Non-square piels, : piel

Converting to piels c (,, ) ( c, c ) C=[c, c ] c Matri for? A related question: Is this a linear transforation?

(,, ) (f,f ) Is this a linear transforation? No division b is nonlinear How to ake it linear?

Hoogeneous coordinates hoogeneous iage coordinates hoogeneous scene coordinates Converting fro hoogeneous coordinates

Caera Matri ) c, c ( ),, ( c c c c X c c C=[c, c ]

Perspective Projection Transforation f f f f X f f X i X M X M 3 H 4

X M X X K I Caera Matri c c X Caera atri K

Finite projective caeras c c s X Skew paraeter c c C=[c, c ] K has 5 degrees of freedo!

Lecture 2 Caera Models Pinhole caeras Caeras & lenses The geoetr of pinhole caeras Intrinsic Etrinsic Other caera odels Silvio Savarese Lecture 8-5-Oct-4

World reference sste R,T j w k w O w i w The apping so far is defined within the caera reference sste What if an object is represented in the world reference sste

3D Rotation of Points Rotation around the coordinate aes, counter-clockwise: cos sin sin cos ) ( cos sin sin cos ) ( cos sin sin cos ) ( R R R p Y p

World reference sste R,T j w X k w O w X i w In 4D hoogeneous coordinates: X R T 4 4 X w I X X K Internal paraeters R T ' K I X w 44 K Eternal paraeters R T X w M

Projective caeras R,T j w X k w O w X i w 3 w 4 X 3 M 34 X w K 3 R T 34 X K s c c How an degrees of freedo? 5 + 3 + 3 =!

Caera calibration More details in CS23A Estiate intrinsic and etrinsic paraeters fro or ultiple iages 3 w 4 X 3 M 34 X w K 3 R T 34 X K s c c How an degrees of freedo? 5 + 3 + 3 =!

Projective caeras O w i w k w j w R,T w 3 X X M w 4 4 3 3 3 X T R K 3 2 M W W W W X X X X 3 2 3 2 ), ( 3 2 3 w w w w X X X X E X X

Properties of Projection Points project to points Lines project to lines Distant objects look saller

Properties of Projection Angles are not preserved Parallel lines eet! Parallel lines in the world intersect in the iage at a vanishing point

Horion line (vanishing line) l horion

Horion line (vanishing line)

One-point perspective Masaccio, Trinit, Santa Maria Novella, Florence, 425-28 Credit slide S. Laebnik

Lecture 2 Caera Models Pinhole caeras Caeras & lenses The geoetr of pinhole caeras Intrinsic Etrinsic Other caera odels Silvio Savarese Lecture 8-5-Oct-4

Projective caera p q r f O Q R P

Weak perspective projection When the relative scene depth is sall copared to its distance fro the caera p f q r Q Q O o R R P P

Weak perspective projection When the relative scene depth is sall copared to its distance fro the caera f p R q r Q Q O o R P P ' ' f f ' ' ' ' f ' f ' Magnification

Weak perspective projection f o p R q r Q Q O R P M P w P P M A b M K Instead of R T A v b

2 3 2 P P P W 2 W W 3 2 ) P, P ( 2 w w E P M P w b A M agnification 3 2 P M P w v b A M W 3 W 2 W W 3 2 P P P P ) P P, P P ( 3 2 3 w w w w E Perspective Weak perspective

Orthographic (affine) projection Distance fro center of projection to iage plane is infinite f f ' ' ' ' ' '

Pros and Cons of These Models Weak perspective uch sipler ath. Accurate when object is sall and distant. Most useful for recognition. Pinhole perspective uch ore accurate for scenes. Used in structure fro otion.

Weak perspective projection The Kangi Eperor's Southern Inspection Tour (69-698) B Wang Hui

Weak perspective projection The Kangi Eperor's Southern Inspection Tour (69-698) B Wang Hui

Things to reeber