Overview. The pinhole projection model. Cameras with lenses. Qualitative properties. Field of view Lens aberrations. Sensors.

Similar documents
Lecture 12: Cameras and Geometry. CAP 5415 Fall 2010

Image Formation. 7-year old s question. Reference. Lecture Overview. It receives light from all directions. Pinhole

Revision problem. Chapter 18 problem 37 page 612. Suppose you point a pinhole camera at a 15m tall tree that is 75m away.

The Geometry of Perspective Projection

Geometric Optics Converging Lenses and Mirrors Physics Lab IV

WHITE PAPER. Are More Pixels Better? Resolution Does it Really Matter?

Choosing a digital camera for your microscope John C. Russ, Materials Science and Engineering Dept., North Carolina State Univ.

Investigation of Color Aliasing of High Spatial Frequencies and Edges for Bayer-Pattern Sensors and Foveon X3 Direct Image Sensors

Understanding astigmatism Spring 2003

How an electronic shutter works in a CMOS camera. First, let s review how shutters work in film cameras.

Lecture 16: A Camera s Image Processing Pipeline Part 1. Kayvon Fatahalian CMU : Graphics and Imaging Architectures (Fall 2011)

C) D) As object AB is moved from its present position toward the left, the size of the image produced A) decreases B) increases C) remains the same

Theremino System Theremino Spectrometer Technology

4. CAMERA ADJUSTMENTS

Rodenstock Photo Optics

Thin Lenses Drawing Ray Diagrams

Science In Action 8 Unit C - Light and Optical Systems. 1.1 The Challenge of light

Optics and Geometry. with Applications to Photography Tom Davis November 15, 2004

Why pinhole? Long exposure times. Timeless quality. Depth of field. Limitations lead to freedom

PDF Created with deskpdf PDF Writer - Trial ::

Nikon f/2.8g VR II versus Nikon f/4g VR

Geometric Camera Parameters

OmniBSI TM Technology Backgrounder. Embargoed News: June 22, OmniVision Technologies, Inc.

Digital Photography Composition. Kent Messamore 9/8/2013

AP Physics B Ch. 23 and Ch. 24 Geometric Optics and Wave Nature of Light

Untangling the megapixel lens myth! Which is the best lens to buy? And how to make that decision!

CS 4204 Computer Graphics

PHYS 39a Lab 3: Microscope Optics

Lesson 26: Reflection & Mirror Diagrams

Lenses and Telescopes

Scanners and How to Use Them

Reflection and Refraction

Digital Image Fundamentals. Selim Aksoy Department of Computer Engineering Bilkent University

2) A convex lens is known as a diverging lens and a concave lens is known as a converging lens. Answer: FALSE Diff: 1 Var: 1 Page Ref: Sec.

Imaging Systems Laboratory II. Laboratory 4: Basic Lens Design in OSLO April 2 & 4, 2002

Rodenstock Photo Optics

EXPERIMENT 6 OPTICS: FOCAL LENGTH OF A LENS

Basic Manual Control of a DSLR Camera

LIST OF CONTENTS CHAPTER CONTENT PAGE DECLARATION DEDICATION ACKNOWLEDGEMENTS ABSTRACT ABSTRAK

Resolution for Color photography

Anamorphic Projection Photographic Techniques for setting up 3D Chalk Paintings

Basic Problem: Map a 3D object to a 2D display surface. Analogy - Taking a snapshot with a camera

A presentation to Aberdare Camera Club

Chapter 17: Light and Image Formation

Experiment 3 Lenses and Images

TS-E24mm f/3.5l TS-E45mm f/2.8 TS-E90mm f/2.8 Instructions

Endoscope Optics. Chapter Introduction

Light and its effects

EVIDENCE PHOTOGRAPHY TEST SPECIFICATIONS MODULE 1: CAMERA SYSTEMS & LIGHT THEORY (37)

Schneider Kreuznach PC Tilt/Shift Lenses

Lecture 17. Image formation Ray tracing Calculation. Lenses Convex Concave. Mirrors Convex Concave. Optical instruments

Chapter 22: Mirrors and Lenses

What is a DSLR and what is a compact camera? And newer versions of DSLR are now mirrorless

Optics I: lenses and apertures

LIGHT SECTION 6-REFRACTION-BENDING LIGHT From Hands on Science by Linda Poore, 2003.

1. You stand two feet away from a plane mirror. How far is it from you to your image? a. 2.0 ft c. 4.0 ft b. 3.0 ft d. 5.0 ft

Aperture, Shutter speed and iso

Shutter Speed in Digital Photography

Digital Image Requirements for New Online US Visa Application

How does my eye compare to the telescope?

Physical Science Study Guide Unit 7 Wave properties and behaviors, electromagnetic spectrum, Doppler Effect

Understanding Line Scan Camera Applications

MassArt Studio Foundation: Visual Language Digital Media Cookbook, Fall 2013

The Wide Field Cassegrain: Exploring Solution Space

Lesson 29: Lenses. Double Concave. Double Convex. Planoconcave. Planoconvex. Convex meniscus. Concave meniscus

AF 70~300 mm F/4-5.6 Di LD Macro 1:2 (Model A17)

SafetyScan Lens. User Manual

waves rays Consider rays of light from an object being reflected by a plane mirror (the rays are diverging): mirror object

Convex Mirrors. Ray Diagram for Convex Mirror

Physics 1230: Light and Color

WAVELENGTH OF LIGHT - DIFFRACTION GRATING

DOING PHYSICS WITH MATLAB COMPUTATIONAL OPTICS RAYLEIGH-SOMMERFELD DIFFRACTION INTEGRAL OF THE FIRST KIND

Introduction to Digital Resolution

The Basics of Digital Photography and How to Take Better Pictures. Instructor: Kate Key Kate Key Photography

3D TOPOGRAPHY & IMAGE OVERLAY OF PRINTED CIRCUIT BOARD ASSEMBLY

Microlenses immersed in nematic liquid crystal with electrically. controllable focal length

Understanding Depth Of Field, Aperture, and Shutter Speed Supplement to Mastering the Nikon D7000

Digital Image Basics. Introduction. Pixels and Bitmaps. Written by Jonathan Sachs Copyright Digital Light & Color

Photography I Week Discussion of classroom rules and expectations a. Key word = RESPECT; respect each other, respect the teacher (as a person,

Filters for Digital Photography

Photography of Cultural Heritage items

INTRODUCTION TO RENDERING TECHNIQUES

Light and Sound. Pupil Booklet

Solution Guide III-C. 3D Vision. Building Vision for Business. MVTec Software GmbH

Study of the Human Eye Working Principle: An impressive high angular resolution system with simple array detectors

Study Guide for Exam on Light

3-D Workshop AT A GLANCE:

Basic Optics System OS-8515C

A Beginner's Guide to Simple Photography Concepts: ISO, Aperture, Shutter Speed Depth of Field (DOF) and Exposure Compensation

18-270mm F/ Di II VC PZD for Canon, Nikon (Model B008) mm F/ Di II PZD for Sony (Model B008)

Message, Audience, Production (MAP) Framework for Teaching Media Literacy Social Studies Integration PRODUCTION

MEDIUM FORMAT CAMERA ADVANTAGES

Shape Measurement of a Sewer Pipe. Using a Mobile Robot with Computer Vision

TVL - The True Measurement of Video Quality

3D Drawing. Single Point Perspective with Diminishing Spaces

Flat-Field IR Mega-Pixel Lens

E70 Rear-view Camera (RFK)

A Short Introduction to Computer Graphics

issues Scanning Technologies Technology Cost Scanning Productivity Geometric Scanning Accuracy Total Cost of Ownership (TCO) Scanning Reliability

May 2013 Color Sense Trilinear Cameras Bring Speed, Quality

Transcription:

Cameras

Overview The pinhole projection model Qualitative properties Perspective projection matrix Cameras with lenses Depth of focus Field of view Lens aberrations Digital it cameras Sensors Color Artifacts

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 is known as the aperture 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 (focal point) The image is formed on the Image Plane Slide by Steve Seitz

Dimensionality reduction: from 3D to 2D 3D world 2D image Point of observation What is preserved? Straight lines, incidence What have we lost? Angles, lengths Slide by A. Efros Figures Stephen E. Palmer, 2002

Projection properties Many-to-one: any points along same visual ray map to same point in image Points points But projection of points on focal plane is undefined Lines lines (collinearity is preserved) ed) But lines through focal point (visual rays) project to a point Planes planes (or half-planes) But planes through focal point project to lines

Vanishing points Each direction in space has its own vanishing point All lines going in that direction converge at that point Exception: directions parallel to the image plane

Vanishing points Each direction in space has its own vanishing point All lines going in that direction converge at that point Exception: directions parallel to the image plane How do we construct the vanishing point of a line? What about the vanishing line of a plane? image plane vanishing point camera center line on ground plane

One-point perspective Masaccio, Trinity, Santa Maria Novella, Florence, 1425-28 One of the first consistent uses of perspective in Western art

Perspective distortion Problem for architectural photography: converging verticals Source: F. Durand

Perspective distortion Problem for architectural photography: converging verticals Tilting the camera upwards results in converging verticals Keeping the camera level, with an ordinary lens, captures only the bottom portion of the building Shifting the lens upwards results in a picture of the entire subject Solution: view camera (lens shifted w.r.t. film) http://en.wikipedia.org/wiki/perspective_correction_lens Source: F. Durand

Perspective distortion Problem for architectural photography: converging verticals Result: Source: F. Durand

Perspective distortion What does a sphere project to? Image source: F. Durand

Perspective distortion What does a sphere project to?

Perspective distortion The exterior columns appear bigger The distortion is not due to lens flaws Problem pointed out by Da Vinci Slide by F. Durand

Perspective distortion: People

Modeling projection f y z x The coordinate system The optical center (O) is at the origin The image plane is parallel to xy-plane (perpendicular to z axis) Source: J. Ponce, S. Seitz

Modeling projection y f z P j ti ti x Projection equations Compute intersection with image plane of ray from P = (x,y,z) to O Derived using similar triangles ),, ( ),, ( f z y f z x f z y x We get the projection by throwing out the last coordinate: Source: J. Ponce, S. Seitz We get the projection by throwing out the last coordinate: ), ( ),, ( z y f z x f z y x

Homogeneous coordinates x y ( x, y, z) ( f, f ) z z Is this a linear transformation? no division by z is nonlinear Trick: add one more coordinate: homogeneous image coordinates homogeneous scene coordinates Converting from homogeneous coordinates Slide by Steve Seitz

Perspective Projection Matrix Projection is a matrix multiplication using homogeneous coordinates

Perspective Projection Matrix Projection is a matrix multiplication using homogeneous coordinates x y x 0 0 1 0 0 0 0 1 ) ( y f x f divide by the third = f z y z y f / 1 0 1/ 0 0 0 0 1 0 ), ( z y f z f coordinate 1

Perspective Projection Matrix Projection is a matrix multiplication using homogeneous coordinates x 1 0 0 0 x y x y = 0 1 0 0 y ( f, f ) z z z 0 0 1/ f 0 z / f 1 coordinate In practice: lots of coordinate transformations divide by the third 2D point (3x1) = Camera to pixel coord. trans. matrix (3x3) Perspective projection matrix (3x4) World to camera coord. trans. matrix (4x4) 3D point (4x1)

Orthographic Projection Special case of perspective projection Distance from center of projection to image plane is infinite Image World Also called parallel projection What s the projection matrix? Slide by Steve Seitz

Building a real camera

Camera Obscura Basic principle known to Mozi (470-390 BCE), Aristotle (384-322 BCE) Drawing aid for artists: described by Leonardo da Vinci (1452-1519) Gemma Frisius, 1558 Source: A. Efros

Abelardo Morell From Grand Images Through a Tiny Opening, Photo District News, February 2005 Camera Obscura Image of Manhattan View Looking South in Large Room, 1996 http://www.abelardomorell.net/camera_obscura1.html

Home-made pinhole camera Why so blurry? Slide by A. Efros http://www.debevec.org/pinhole/

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

Shrinking the aperture

Adding a lens A lens focuses light onto the film Thin lens model: Rays passing through the center are not deviated (pinhole projection model still holds) Slide by Steve Seitz

Adding a lens focal point f A lens focuses light onto the film Thin lens model: Rays passing through the center are not deviated (pinhole projection model still holds) All parallel rays converge to one point on a plane located at the focal length f Slide by Steve Seitz

Adding a lens circle of confusion 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 Slide by Steve Seitz

Thin lens formula What is the relation between the focal length (f), the distance of the object from the optical center (D), and the distance at which the object will be in focus (D )? D f D image plane lens object Slide by Frédo Durand

Thin lens formula Similar triangles everywhere! D f D image plane lens object Slide by Frédo Durand

Thin lens formula Similar triangles everywhere! y /y = D /D D D f y y image plane lens object Slide by Frédo Durand

Thin lens formula Similar triangles everywhere! D D f y y /y = D /D y /y y/y = (D -f)/f y image plane lens object Slide by Frédo Durand

Thin lens formula 1 + 1 = 1 D D f Any point satisfying the thin lens equation is in focus. D f D image plane lens object Slide by Frédo Durand

Depth of Field http://www.cambridgeincolour.com/tutorials/depth-of-field.htm Slide by A. Efros

How can we control the 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 Slide by A. Efros

Varying the aperture Large aperture = small DOF Small aperture = large DOF Slide by A. Efros

Field of View Slide by A. Efros

Field of View What does FOV depend on? Slide by A. Efros

Field of View f f FOV depends on focal length and size of the camera retina Smaller FOV = larger Focal Length Slide by A. Efros

Field of View / Focal Length Large FOV, small f Camera close to car Small FOV, large f Camera far from the car Sources: A. Efros, F. Durand

Same effect for faces wide-angle standard telephoto Source: F. Durand

Approximating an affine camera Source: Hartley & Zisserman

The dolly zoom Continuously adjusting the focal length while the camera moves away from (or towards) the subject http://en.wikipedia.org/wiki/dolly_zoom

The dolly zoom Continuously adjusting the focal length while the camera moves away from (or towards) the subject The Vertigo shot Examples of dolly zoom from movies (YouTube)

Real lenses

Lens Flaws: Chromatic Aberration Lens has different refractive indices for different wavelengths: causes color fringing Near Lens Center Near Lens Outer Edge

Lens flaws: Spherical aberration Spherical lenses don t focus light perfectly Rays farther from the optical axis focus closer

Lens flaws: Vignetting

Radial Distortion Caused by imperfect lenses Deviations are most noticeable near the edge of the lens No distortion Pin cushion Barrel

Digital camera A digital camera replaces film with a sensor array Each cell in the array is light-sensitive diode that converts photons to electrons Two common types Charge Coupled Device (CCD) Complementary metal oxide semiconductor (CMOS) http://electronics.howstuffworks.com/digital-camera.htm Slide by Steve Seitz

Color sensing in camera: Color filter array Bayer grid Estimate missing components from neighboring values (demosaicing) Why more green? Human Luminance Sensitivity Function Source: Steve Seitz

Problem with demosaicing: color moire Slide by F. Durand

The cause of color moire detector Fine black and white detail in image misinterpreted i t as color information Slide by F. Durand

Color sensing in camera: Prism Requires three chips and precise alignment More expensive CCD(R) CCD(G) CCD(B)

Color sensing in camera: Foveon X3 CMOS sensor Takes advantage of the fact that red, blue and green light penetrate silicon to different depths http://www.foveon.com/article.php?a=67 http://en.wikipedia.org/wiki/foveon_x3_sensor better image quality Source: M. Pollefeys

Digital camera artifacts Noise low light is where you most notice noise light sensitivity (ISO) / noise tradeoff stuck pixels In-camera processing oversharpening can produce halos Compression JPEG artifacts, blocking Blooming charge overflowing into neighboring pixels Color artifacts purple fringing from microlenses, white balance Slide by Steve Seitz

Historic milestones Pinhole model: Mozi (470-390 BCE), Aristotle (384-322 BCE) Principles of optics (including lenses): Alhacen (965-1039 CE) Camera obscura: Leonardo da Vinci (1452-1519), Johann Zahn (1631-1707) First photo: Joseph Nicephore Niepce (1822) Daguerréotypes (1839) Photographic film (Eastman, 1889) Cinema (Lumière Brothers, 1895) Color Photography (Lumière Brothers, 1908) Television (Baird, Farnsworth, Zworykin, 1920s) First consumer camera with CCD Sony Mavica (1981) First fully digital camera: Kodak DCS100 (1990) Alhacen s notes Niepce, La Table Servie, 1822 CCD chip

Early color photography Sergey Prokudin-Gorskii (1863-1944) Photographs of the Russian empire (1909-1916) Assignment 1 (due February 1)! Lantern projector http://en.wikipedia.org/wiki/sergei_mikhailovich_prokudin-gorskii http://www.loc.gov/exhibits/empire/

First digitally scanned photograph 1957, 176x176 pixels http://listverse.com/history/top-10-incredible-early-firsts-in-photography/