Image formation. Image formation. Pinhole camera. Pinhole camera. Image formation. Matlab tutorial. Physical parameters of image formation

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

The Geometry of Perspective Projection

Geometric Camera Parameters

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.

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

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

Geometric Optics Converging Lenses and Mirrors Physics Lab IV

Thin Lenses Drawing Ray Diagrams

Chapter 6 Telescopes: Portals of Discovery. How does your eye form an image? Refraction. Example: Refraction at Sunset.

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

PDF Created with deskpdf PDF Writer - Trial ::

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

9/16 Optics 1 /11 GEOMETRIC OPTICS

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

Lenses and Telescopes

Endoscope Optics. Chapter Introduction

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

EXPERIMENT 6 OPTICS: FOCAL LENGTH OF A LENS

Experiment 3 Lenses and Images

Chapter 27 Optical Instruments The Human Eye and the Camera 27.2 Lenses in Combination and Corrective Optics 27.3 The Magnifying Glass

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

INTRODUCTION TO RENDERING TECHNIQUES

Convex Mirrors. Ray Diagram for Convex Mirror

Light and Sound. Pupil Booklet

Light and its effects

How does my eye compare to the telescope?

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

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

Chapter 17: Light and Image Formation

Digital Photography Composition. Kent Messamore 9/8/2013

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

Space Perception and Binocular Vision

From 3D to 2D: Orthographic and Perspective Projection Part 1

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

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

Chapter 22: Mirrors and Lenses

CS 4204 Computer Graphics

Understanding astigmatism Spring 2003

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

Solution Derivations for Capa #14

Reflection and Refraction

Understanding Exposure for Better Photos Now

LIST OF CONTENTS CHAPTER CONTENT PAGE DECLARATION DEDICATION ACKNOWLEDGEMENTS ABSTRACT ABSTRAK

ENGINEERING METROLOGY

4. CAMERA ADJUSTMENTS

Rutgers Analytical Physics 750:228, Spring 2016 ( RUPHY228S16 )

Contents OVERVIEW WORKFLOW PROBLEM. SOLUTION. FEATURE. BENEFIT 4 5 EASY STEPS TO CALIBRATE YOUR LENSES 5

6 Space Perception and Binocular Vision

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

Digital Photography. Author : Dr. Karl Lenhardt, Bad Kreuznach

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

Relating Vanishing Points to Catadioptric Camera Calibration

Optical Design using Fresnel Lenses

Lesson 26: Reflection & Mirror Diagrams

Chapter 23. The Reflection of Light: Mirrors

RAY OPTICS II 7.1 INTRODUCTION

3D Scanner using Line Laser. 1. Introduction. 2. Theory

Beginners Guide to Digital Camera Settings

Understanding Line Scan Camera Applications

Basic Manual Control of a DSLR Camera

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

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

RESOLUTION CHARTS AND GRATINGS RESOLUTION CHARTS AND GRATINGS RESOLUTION CHARTS AND GRATINGS RESOLUTION CHARTS AND GRATINGS RESOLUTION CHARTS AND

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

Aperture, Shutter speed and iso

Theremino System Theremino Spectrometer Technology

Epipolar Geometry. Readings: See Sections 10.1 and 15.6 of Forsyth and Ponce. Right Image. Left Image. e(p ) Epipolar Lines. e(q ) q R.

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

Comparing Digital and Analogue X-ray Inspection for BGA, Flip Chip and CSP Analysis

WHITE PAPER. P-Iris. New iris control improves image quality in megapixel and HDTV network cameras.

First let us consider microscopes. Human eyes are sensitive to radiation having wavelengths between

λ = c f, E = h f E = h c λ

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

WAVELENGTH OF LIGHT - DIFFRACTION GRATING

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

Filters for Digital Photography

Rodenstock Photo Optics

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

KINECT PROJECT EITAN BABCOCK REPORT TO RECEIVE FINAL EE CREDIT FALL 2013

Telescope Types by Keith Beadman

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

Refractive Index Measurement Principle

Geometrical Optics - Grade 11

Three-dimensional image sensing by chromatic confocal microscopy

A technical overview of the Fuel3D system.

PHOTOGRAMMETRIC TECHNIQUES FOR MEASUREMENTS IN WOODWORKING INDUSTRY

THE COMPOUND MICROSCOPE

1 of 9 2/9/2010 3:38 PM

Magnification Devices

How does my eye compare to the telescope?

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

PCB Component Placement Inspection

PHYS 39a Lab 3: Microscope Optics

White paper. In the best of light The challenges of minimum illumination

7.2. Focusing devices: Unit 7.2. context. Lenses and curved mirrors. Lenses. The language of optics

3D Drawing. Single Point Perspective with Diminishing Spaces

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

Projection Center Calibration for a Co-located Projector Camera System

Schneider Kreuznach PC Tilt/Shift Lenses

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

Transcription:

Image formation Image formation Matlab tutorial How are objects in the world captured in an image? Tuesday, Sept 2 Physical parameters of image formation Geometric Type of projection Camera pose Optical Sensor s lens type focal length, field of view, aperture Photometric Type, direction, intensity of light reaching sensor Surfaces reflectance properties object Image formation film Let s design a camera Idea 1: put a piece of film in front of an object Do we get a reasonable image? Pinhole camera Pinhole camera object barrier film Pinhole camera is a simple model to approximate imaging process, perspective projection. Image plane Add a barrier to block off most of the rays This reduces blurring The opening is known as the aperture How does this transform the image? Virtual image pinhole If we treat pinhole as a point, only one ray from any given point can enter the camera. Fig from Forsyth and Ponce

Camera obscura Camera obscura In Latin, means dark room "Reinerus Gemma-Frisius, observed an eclipse of the sun at Louvain on January 24, 1544, and later he used this illustration of the event in his book De Radio Astronomica et Geometrica, 1545. It is thought to be the first published illustration of a camera obscura..." Hammond, John H., The Camera Obscura, A Chronicle http://www.acmi.net.au/aic/camera_obscura.html Jetty at Margate England, 1898. An attraction in the late 19 th century Around 187s http://brightbytes.com/cosite/collection2.html Adapted from R. Duraiswami Camera obscura at home Perspective effects Sketch from http://www.funsci.com/fun3_en/sky/sky.htm http://blog.makezine.com/archive/26/2/how_to_room_ sized_camera_obscu.html Perspective effects Perspective effects Far away objects appear smaller Forsyth and Ponce

Perspective effects Parallel lines in the scene intersect in the image Converge in image on horizon line Scene Image plane (virtual) pinhole Projection properties Many-to-one: any points along same ray map to same point in image Points points Lines lines (collinearity preserved) Distances and angles are not preserved Degenerate cases: Line through focal point projects to a point. Plane through focal point projects to line Plane perpendicular to image plane projects to part of the image. Perspective and art Use of correct perspective projection indicated in 1 st century B.C. frescoes Skill resurfaces in Renaissance: artists develop systematic methods to determine perspective projection (around 148-1515) Perspective projection equations 3d world mapped to 2d projection in image plane Image plane Focal length Camera Optical axis Scene / world points Raphael Durer, 1525 Forsyth and Ponce Scene point Image coordinates Homogeneous coordinates 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 Perspective Projection Matrix Projection is a matrix multiplication using homogeneous coordinates: 1 1 1/ f ' x x y = y z z / f ' 1 x y ( f ', f ' ) z z divide by the third coordinate to convert back to non-homogeneous coordinates Complete mapping from world points to image pixel positions?

Perspective projection & calibration Perspective equations so far in terms of camera s reference. Camera s intrinsic and extrinsic parameters needed to calibrate geometry. Perspective projection & calibration Camera World Extrinsic: Camera World Intrinsic: Image coordinates relative to camera Pixel coordinates Camera 2D point (3x1) = Camera to pixel coord. trans. matrix (3x3) Perspective projection matrix (3x4) World to camera coord. trans. matrix (4x4) 3D point (4x1) Weak perspective Approximation: treat magnification as constant Assumes scene depth << average distance to camera Orthographic projection Given camera at constant distance from scene World points projected along rays parallel to optical access Image plane World points: Pinhole size / aperture How does the size of the aperture affect the image we d get? object Adding a lens lens film Larger focal point f Smaller A lens focuses light onto the film Rays passing through the center are not deviated All parallel rays converge to one point on a plane located at the focal length f

Pinhole vs. lens Cameras with lenses F optical center (Center Of Projection) focal point A lens focuses parallel rays onto a single focal point Gather more light, while keeping focus; make pinhole perspective projection practical Human eye Thin lens Rough analogy with human visual system: Pupil/Iris control amount of light passing through lens Retina - contains sensor cells, where image is formed Left focus Thin lens Right focus Rays entering parallel on one side go through focus on other, and vice versa. In ideal case all rays from P imaged at P. Fovea highest concentration of cones Lens diameter d Focal length f Fig from Shapiro and Stockman Thin lens equation Focus and depth of field 1 f 1 1 = + u v u v Any object point satisfying this equation is in focus Image credit: cambridgeincolour.com

Focus and depth of field Depth of field: distance between image planes where blur is tolerable Focus and depth of field How does the aperture affect the depth of field? circles of confusion Thin lens: scene points at distinct depths come in focus at different image planes. (Real camera lens systems have greater depth of field.) A smaller aperture increases the range in which the object is approximately in focus Shapiro and Stockman Flower images from Wikipedia http://en.wikipedia.org/wiki/depth_of_field Slide from S. Seitz Depth from focus Field of view Images from same point of view, different camera parameters Angular measure of portion of 3d space seen by the camera 3d shape / depth estimates [figs from H. Jin and P. Favaro, 22] Images from http://en.wikipedia.org/wiki/angle_of_view Field of view depends on focal length Field of view depends on focal length As f gets smaller, image becomes more wide angle more world points project onto the finite image plane As f gets larger, image becomes more telescopic smaller part of the world projects onto the finite image plane from R. Duraiswami Smaller FOV = larger Focal Length Slide by A. Efros

Resolution sensor: size of real world scene element a that images to a single pixel image: number of pixels Influences what analysis is feasible, affects best representation choice. Digital cameras Film sensor array Often an array of charge coupled devices Each CCD is light sensitive diode that converts photons (light energy) to electrons [fig from Mori et al] CCD array camera optics grabber computer Think of images as matrices taken from CCD array. Digital images Intensity : [,255] Digital images j=1 width 52 i=1 im[176][21] has value 164 im[194][23] has value 37 5 height Color sensing in digital cameras Bayer grid Estimate missing components from neighboring values (demosaicing) Color images, RGB color space R G B Source: Steve Seitz

Historical context Pinhole model: Mozi (47-39 BCE), Aristotle (384-322 BCE) Principles of optics (including lenses): Alhacen (965-139 CE) Camera obscura: Leonardo da Vinci (1452-1519), Johann Zahn (1631-177) First photo: Joseph Nicephore Niepce (1822) Daguerréotypes (1839) Photographic film (Eastman, 1889) Cinema (Lumière Brothers, 1895) Color Photography (Lumière Brothers, 198) Television (Baird, Farnsworth, Zworykin, 192s) First consumer camera with CCD: Sony Mavica (1981) First fully digital camera: Kodak DCS1 (199) Slide credit: L. Lazebnik Alhacen s notes Niepce, La Table Servie, 1822 CCD chip Summary Image formation affected by geometry, photometry, and optics. Projection equations express how world points mapped to 2d image. Homogenous coordinates allow linear system for projection equations. Lenses make pinhole model practical. Parameters (focal length, aperture, lens diameter, ) affect image obtained. Next Problem set due Thursday turnin --submit harshd pset <filename> Thursday: Color Read F&P Chapter 6