Northeastern University, Fall 2005 CSG242: Computational Photography Ramesh Raskar Mitsubishi Electric Research Labs Northeastern University September.

Slides:



Advertisements
Similar presentations
Aperture, Exposure and Depth of Field
Advertisements

Lens  The lens is the most important part of the camera  Lens captures light and focuses the light on the part of the camera that receives the image.
The Camera : Computational Photography Alexei Efros, CMU, Fall 2006.
CS 691 Computational Photography Instructor: Gianfranco Doretto 3D to 2D Projections.
Computer Vision CS 776 Spring 2014 Cameras & Photogrammetry 1 Prof. Alex Berg (Slide credits to many folks on individual slides)
Paris town hall.
The Camera CS194: Image Manipulation & Computational Photography Alexei Efros, UC Berkeley, Fall 2014.
Depth of Field. What the what?? Is Depth of Field.
Projection Readings Szeliski 2.1. Projection Readings Szeliski 2.1.
Cameras. Overview The pinhole projection model Qualitative properties Perspective projection matrix Cameras with lenses Depth of focus Field of view Lens.
Image Formation and Optics
Modeling Light : Rendering and Image Processing Alexei Efros.
Announcements. Projection Today’s Readings Nalwa 2.1.
Lecture 5: Projection CS6670: Computer Vision Noah Snavely.
Announcements Mailing list (you should have received messages) Project 1 additional test sequences online Talk today on “Lightfield photography” by Ren.
Announcements Mailing list Project 1 test the turnin procedure *this week* (make sure it works) vote on best artifacts in next week’s class Project 2 groups.
Lecture 10: Cameras CS4670: Computer Vision Noah Snavely Source: S. Lazebnik.
Lecture 4a: Cameras CS6670: Computer Vision Noah Snavely Source: S. Lazebnik.
Lecture 12: Projection CS4670: Computer Vision Noah Snavely “The School of Athens,” Raphael.
Single-view Metrology and Camera Calibration Computer Vision Derek Hoiem, University of Illinois 02/26/15 1.
Image Formation III Chapter 1 (Forsyth&Ponce) Cameras “Lenses”
The Camera : Computational Photography Alexei Efros, CMU, Fall 2008.
Image formation and cameras
Perspective projection
The lens Barbara Bosworth Salmon, 1994 & DEPTH OF FIELD.
Chapter 4: Cameras and Photography Depth of Field –Circle of Confusion –Effect of aperture Apertures –F-stop –Area –Depth of field Exposure –Shutter speed.
EEM 561 Machine Vision Week 10 :Image Formation and Cameras
Basic Principles of Imaging and Photometry Lecture #2 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Building a Real Camera.
Photography Parts of a Camera. Aperture size (or width or diameter) of the opening of a lens diaphragm inside a photographic lens regulates the amount.
How the Camera Works ( both film and digital )
How does a camera work? Ksenia Bykova. Types of film cameras  SLR cameras (Single Lens Reflex)  SLR cameras (Single Lens Reflex) – you see the actual.
Lenses Why so many lenses and which one is right for me?
Cameras Course web page: vision.cis.udel.edu/cv March 22, 2003  Lecture 16.
Design of photographic lens Shinsaku Hiura Osaka University.
776 Computer Vision Jan-Michael Frahm Fall Camera.
Lenses. 3 camera obscura / pinhole camera 3 Focal length is the distance between the lens and the point where the light rays converge. It controls.
Computational photography CS4670: Computer Vision Noah Snavely.
Recap from Wednesday Two strategies for realistic rendering capture real world data synthesize from bottom up Both have existed for 500 years. Both are.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Ray Tracing Sang Il Park SEjong University With lots of slides stolen from Jehee Lee, Doug James, Steve Seitz, Shree Nayar, Alexei Efros, Fredo Durand.
1. Is 90mm a wide angle lens or a telephoto lens? 2. If I’m taking a picture of a building, why would my perspective change if I switch from a wide angle.
1. Is 90mm a wide angle lens or a telephoto lens? 2. If I’m taking a picture of a building, why would my perspective change if I switch from a wide angle.
CS348B Lecture 7Pat Hanrahan, 2005 Camera Simulation EffectCause Field of viewFilm size, stops and pupils Depth of field Aperture, focal length Motion.
Computational Photography Derek Hoiem, University of Illinois
Miguel Tavares Coimbra
Lenses Lenses define 2 important things: Angle of view (focal length) Aperture.
Camera LENSES, APERTURE AND DEPTH OF FIELD. Camera Lenses Wide angle lenses distort the image so that extreme wide angle can look like its convex such.
More with Pinhole + Single-view Metrology
In Photography, there is an Exposure Triangle (Reciprocity Theory) Aperture – size of the iris opening, how much light come into the “window” Shutter Speed.
Image Formation III Chapter 1 (Forsyth&Ponce) Cameras “Lenses” Guido Gerig CS-GY 6643, Spring 2016 (slides modified from Marc Pollefeys, UNC Chapel Hill/
Announcements Project 1 grading session this Thursday 2:30-5pm, Sieg 327 –signup ASAP:signup –10 minute slot to demo your project for a TA »have your program.
BASICS of the Camera A brief look at the origins and key features of the modern camera.
Understanding Aperture (a beginner’s guide) Understanding Aperture (a beginner’s guide)
A photograph is a two-dimensional representation of our three- dimensional world. A way to give an indication of three dimensions in photographs is by.
Lecture 18: Cameras CS4670 / 5670: Computer Vision KavitaBala Source: S. Lazebnik.
Lenses. 3 camera obscura / pinhole camera 3 Focal length is the distance between the lens and the point where the light rays converge. It controls.
Aperture and Depth of Field
CS5670: Computer Vision Lecture 9: Cameras Noah Snavely
Jan-Michael Frahm Fall 2016
The Camera : Computational Photography
CS 790: Introduction to Computational Vision
Aperture, Exposure and Depth of Field
CS4670 / 5670: Computer Vision Lecture 12: Cameras Noah Snavely
Lecture 13: Cameras and geometry
The Camera : Computational Photography
Announcements Midterm out today Project 1 demos.
Projection Readings Nalwa 2.1.
Projection Readings Szeliski 2.1.
Announcements Midterm out today Project 1 demos.
Presentation transcript:

Northeastern University, Fall 2005 CSG242: Computational Photography Ramesh Raskar Mitsubishi Electric Research Labs Northeastern University September 28th, 2005 Course WebPage :

Noise in Sensors

Plan for Today First Programming AssignmentFirst Programming Assignment Camera FocusCamera Focus Second Programming AssignmentSecond Programming Assignment –Will be on the web –Due in 2 weeks

Taking Notes Use slides on the FTP siteUse slides on the FTP site Write down anecdotes and storiesWrite down anecdotes and stories Try to get what is NOT on the slideTry to get what is NOT on the slide Summarize questions and answersSummarize questions and answers

Programming Assignment Sept 14 High Dynamic RangeHigh Dynamic Range –Dataset1 –Dataset2 Take atleast 5 pictures with varying exposureTake atleast 5 pictures with varying exposure –Create HDR image Average the five images in MatlabAverage the five images in Matlab Use HDRshopUse HDRshop Write Matlab code to implement bilateral filteringWrite Matlab code to implement bilateral filtering –Submit Due Sept 28thDue Sept 28th All codeAll code For dataset1: final results (three results)For dataset1: final results (three results) For dataset2: input images and three resultsFor dataset2: input images and three results

Focus

Example of digital refocusing

Varying Focus: Extended depth-of-field Agrawala et al, Digital Photomontage, Siggraph 2004

Source imagesComputed labeling Composite

Source imagesComputed labeling Composite

How do we see the world? Let’s design a camera Idea 1: put a piece of film in front of an object Do we get a reasonable image? Slide by Steve Seitz

Pinhole camera Add a barrier to block off most of the rays This reduces blurring The opening known as the aperture How does this transform the image? Slide by Steve Seitz

Pinhole camera model Pinhole model: Captures pencil of rays – all rays through a single point The point is called Center of Projection (COP) The image is formed on the Image Plane Effective focal length f is distance from COP to Image Plane Slide by Steve Seitz

Figures © Stephen E. Palmer, 2002 Dimensionality Reduction Machine (3D to 2D) 3D world2D image What have we lost? Angles Distances (lengths)

Funny things happen…

Parallel lines aren’t… Figure by David Forsyth

Distances can’t be trusted... Figure by David Forsyth

…but humans adopt! Müller-Lyer Illusion We don’t make measurements in the image plane

Building a real camera

Camera Obscura The first camera Known to Aristotle Depth of the room is the effective focal length Camera Obscura, Gemma Frisius, 1558

Home-made pinhole camera Why so blurry?

Shrinking the aperture Why not make the aperture as small as possible? Less light gets through Diffraction effects… Less light gets through Slide by Steve Seitz

Shrinking the aperture

The reason for lenses Slide by Steve Seitz

Ideal Lens: Same projection as pinhole but gathers more light! i o Lens Formula: f is the focal length of the lens – determines the lens’s ability to bend (refract) light f different from the effective focal length f discussed before! P P’ f Image Formation using Lenses Slide by Shree Nayar

Focus

Let us review the pinhole structure Ray Origin - Image Plane All the rays collected by the camera MUST pass through a common 3D point

Focus and Defocus A lens focuses light onto the film There is a specific distance at which objects are “in focus” –other points project to a “circle of confusion” in the image How can we change focus distance? “circle of confusion” Slide by Steve Seitz

Depth Of Field

Depth of Field

Aperture controls Depth of Field Changing the aperture size affects depth of field A smaller aperture increases the range in which the object is approximately in focus But small aperture reduces amount of light – need to increase exposure

Varying the aperture f/2.8 Large apeture = small DOF f/22 Small apeture = large DOF

Nice Depth of Field effect

Field of View (Zoom)

f FOV depends of Focal Length Smaller FOV = larger Focal Length

From Zisserman & Hartley

Field of View / Focal Length Large FOV Camera close to car Small FOV Camera far from the car

Fun with Focal Length (Jim Sherwood)

Large Focal Length compresses depth © Michael Reichmann 400 mm 200 mm 100 mm 50 mm 28 mm 17 mm

Perspective vs. viewpoint Telephoto makes it easier to select background (a small change in viewpoint is a big change in background.

Focal length Principal effect: change magnification and FOV Side effect: strength of perspective (recording vs. viewing FOV) image: Kingslake 1992

Perspective vs. viewpoint Martin Scorcese, Good Fellas Moves camera as you zoom in Better known as the Hitchcock Vertigo effect

Perspective vs. viewpoint Portrait: distortion with wide angle Why? Wide angleStandardTelephoto

Elliptical Distortion image: Kingslake 1992

Elliptical Distortion image: Kingslake 1992

Focal length: pinhole optics What happens when the film is half the size? Application: Real film is 36x24mm On the 20D, the sensor is 22.5 x 15.0 mm Conversion factor on the 20D? On the SD500, it is 1/1.8 " (7.18 x 5.32 mm) What is the mm zoom on the SD500? pinhole Film/ sensor scene fd ½ s 2f