Basic Principles of Imaging and Lenses

Slides:



Advertisements
Similar presentations
Image formation. Image Formation Vision infers world properties form images. How do images depend on these properties? Two key elements –Geometry –Radiometry.
Advertisements

Chapter 26 Properties of Light Sources of light Luminous –Producing light –The Sun (luminous) versus the Moon (nonluminous) Incandescent –Glowing with.
Interference and Diffraction
Chapter 27 Properties of Light Light Photons ElectromagneticRadiation.
Light Chapter 19.
1 UCT PHY1025F: Geometric Optics Physics 1025F Geometric Optics Dr. Steve Peterson OPTICS.
Light.
What is it? How does it work? How do we use it?. o Electromagnetic Waves display wave behavior o Created by.
Chapter 26 Properties of Light. Origin and Nature of Light Light originates with accelerated motion of electrons. It is an electromagnetic wave phenomenon.
Digital Photography Part 1 A crash course in optics.
Basic Principles of Imaging and Lenses. Light Light Photons ElectromagneticRadiation.
Cameras (Reading: Chapter 1) Goal: understand how images are formed Camera obscura dates from 15 th century Basic abstraction is the pinhole camera Perspective.
Image Formation and Optics
Imaging Science FundamentalsChester F. Carlson Center for Imaging Science Classical Photography and Geometric Optics Imaging Science Fundamentals.
Announcements. Projection Today’s Readings Nalwa 2.1.
Basic Principles of Imaging and Lenses. Light Light Photons ElectromagneticRadiation.
Telescopes (Chapter 6). Based on Chapter 6 This material will be useful for understanding Chapters 7 and 10 on “Our planetary system” and “Jovian planet.
Announcements Mailing list (you should have received messages) Project 1 additional test sequences online Talk today on “Lightfield photography” by Ren.
Image Formation (approximately) Vision infers world properties form images. So we need to understand how images depend on these properties. Two key elements.
Computer Vision - A Modern Approach
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.
Computer Vision : CISC4/689
Lecture 12: Projection CS4670: Computer Vision Noah Snavely “The School of Athens,” Raphael.
Image Formation III Chapter 1 (Forsyth&Ponce) Cameras “Lenses”
The Camera : Computational Photography Alexei Efros, CMU, Fall 2008.
1 Optics Electromagnetic spectrum polarization Laws of reflection and refraction TIR –Images –Mirrors and lenses –Real/virtual, inverted/straight, bigger/smaller.
Basic Principles of Imaging and Photometry Lecture #2 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
16421: Vision Sensors Lecture 2: Camera Obscura & View Camera
EM SPECTRUM Miscellaneous Wave Properties of Light Light & Color Mirrors & Lenses.
Human Vision and Vision Correction (PHR 177)Course Prof. Dr. Moustafa. M. Mohamed Vice Dean Faculty of Allied Medical Science Pharos University Alexandria.
© 2010 Pearson Education, Inc. Conceptual Physics 11 th Edition Chapter 28: REFLECTION & REFRACTION Reflection Principle of Least Time Law of Reflection.
LIGHT. Reflection of light When light is reflected off of a mirror it forms an image. Mirror Incident ray Reflected ray Normal.
Cameras Course web page: vision.cis.udel.edu/cv March 22, 2003  Lecture 16.
Light in a Newtonian view Chapter 16. Introducing: light Light is the most important source of information for humans Concept of light rays - there are.
Electromagnetic Waves
Design of photographic lens Shinsaku Hiura Osaka University.
Lenses and Mirrors. How does light interact with pinholes? How does light interact with lenses? –___________ How does light interact with mirrors? –___________.
Light. Previous knowledge Tell me one of your experience or vocabulary about light.
1 CS6825: Image Formation How are images created. How are images created.
Light Chapter 16.
LIGHT.
Image Formation Fundamentals Basic Concepts (Continued…)
Copyright © 2010 Pearson Education, Inc. Lecture Outline Chapter 27 Physics, 4 th Edition James S. Walker.
Optics Real-time Rendering of Physically Based Optical Effects in Theory and Practice Masanori KAKIMOTO Tokyo University of Technology.
Ch 23 1 Chapter 23 Light: Geometric Optics © 2006, B.J. Lieb Some figures electronically reproduced by permission of Pearson Education, Inc., Upper Saddle.
 When light strikes the surface of an object  Some light is reflected  The rest is absorbed (and transferred into thermal energy)  Shiny objects,
WAVES, LIGHT AND SOUND. WAVES A wave is a disturbance that transfers (carries) energy through matter (a medium) or space (no medium). Most waves require.
1 Light Chapters 36 – 39 2 Wave or Particle? Newton -- particles. In the early 19 th century, Young, Fresnel, and others -- wave. In 1860 Maxwell --
Optical Density - a property of a transparent medium that is an inverse measure of the speed of light through the medium. (how much a medium slows the.
Light, Reflection, and Refraction Chapters 14 and 15.
Copyright © by Holt, Rinehart and Winston. All rights reserved. ResourcesChapter menu Waves and Particles The two most commonly used models describe light.
Miguel Tavares Coimbra
CSE 185 Introduction to Computer Vision Cameras. Camera models –Pinhole Perspective Projection –Affine Projection –Spherical Perspective Projection Camera.
Electromagnetic Waves, Visible Light, Lenses and Mirrors Chapters Page 354-
Light & Telescopes (Chapter 5) All of what we know and understand about the stars is the result of observation and analysis of light.
The law of reflection: The law of refraction: Image formation
Light refraction Chapter 29 in textbook.
Cameras, lenses, and sensors 6.801/6.866 Profs. Bill Freeman and Trevor Darrell Sept. 10, 2002 Reading: Chapter 1, Forsyth & Ponce Optional: Section 2.1,
Image Formation III Chapter 1 (Forsyth&Ponce) Cameras “Lenses” Guido Gerig CS-GY 6643, Spring 2016 (slides modified from Marc Pollefeys, UNC Chapel Hill/
Chapter 22 Reflection and Refraction of Light Herriman High AP Physics 2.
Light Waves Physics 1 L Mrs. Snapp. Light Light is a transverse wave. Light waves are electromagnetic waves--which means that they do NOT need a medium.
Basics Reflection Mirrors Plane mirrors Spherical mirrors Concave mirrors Convex mirrors Refraction Lenses Concave lenses Convex lenses.
Physics: light waves. Properties and Sources of Light Key Question: What are some useful properties of light?
April 26, 2017 Sit with your class (3rd period first two rows, 4th period second two rows, and 5th period third two rows) Start the packet (first 3 pages.
Chapter 27 Properties of Light.
CSE 185 Introduction to Computer Vision
Light.
Announcements Midterm out today Project 1 demos.
The Optics of the Camera Obscura or
Announcements Midterm out today Project 1 demos.
Presentation transcript:

Basic Principles of Imaging and Lenses

Light

Electromagnetic Radiation Light Photons

These three are the same… Light pure energy Electromagnetic Waves energy-carrying waves emitted by vibrating electrons Photons particles of light

EM Radiation Travels as a Wave c = 3 x 108 m/s

EM Radiation Carries Energy • Quantum mechanics tells us that for photons E = hf where E is energy and h is Planck’s constant. • But f = c/l • Putting these equations together, we see that E = hc/l

Electromagnetic Wave Velocity The speed of light is the same for all seven forms of light. It is 300,000,000 meters per second or 186,000 miles per second.

The Electromagnetic Spectrum Radio Waves - communication Microwaves - used to cook Infrared - “heat waves” Visible Light - detected by your eyes Ultraviolet - causes sunburns X-rays - penetrates tissue Gamma Rays - most energetic

The Multi-Wavelength Sun UV Visible X-Ray Composite Radio Infrared

EM Spectrum Relative Sizes

The Visible Spectrum Light waves extend in wavelength from about 400 to 700 nanometers.

Transparent Materials Transparent - the term applied to materials through which light can pass in straight lines.

Opaque Materials Opaque - the term applied to materials that absorb light.

Are clouds transparent or opaque to visible light? Answer: opaque Are clouds transparent or opaque to ultraviolet light? Answer: almost transparent

Special Things About a Light Wave • It does not need a medium through which to travel • It travels with its highest velocity in a vacuum • Its highest velocity is the speed of light, c, equal to 300,000 km/sec • The frequency (or wavelength) of the wave determines whether we call it radio, infrared, visible, ultraviolet, X-ray or gamma-ray.

A Brief History of Images 1544 Camera Obscura, Gemma Frisius, 1558

Camera Obscura "When images of illuminated objects ... penetrate through a small hole into a very dark room ... you will see [on the opposite wall] these objects in their proper form and color, reduced in size ... in a reversed position, owing to the intersection of the rays". Da Vinci http://www.acmi.net.au/AIC/CAMERA_OBSCURA.html (Russell Naughton) Slide credit: David Jacobs

A Brief History of Images 1558 1568 Lens Based Camera Obscura, 1568

Jetty at Margate England, 1898. http://brightbytes.com/cosite/collection2.html (Jack and Beverly Wilgus) Slide credit: David Jacobs

A Brief History of Images 1558 1568 1837 Still Life, Louis Jaques Mande Daguerre, 1837

A Brief History of Images 1558 1568 1840? Abraham Lincoln?

A Brief History of Images 1558 1568 1837 Silicon Image Detector, 1970 1970

A Brief History of Images 1558 1568 1837 1970 Digital Cameras 1995

A Brief History of Images 1558 1568 1837 1970 Hasselblad HD2-39 1995 2006

Geometric Optics and Image Formation TOPICS TO BE COVERED : 1) Pinhole and Perspective Projection 2) Image Formation using Lenses 3) Lens related issues

Pinhole Cameras Pinhole camera - box with a small hole in it Image is upside down, but not mirrored left-to-right Question: Why does a mirror reverse left-to-right but not top-to-bottom? The point to make here is that each point on the image plane sees light from only one direction, the one that passes through the pinhole.

Pinhole and the Perspective Projection Is an image being formed on the screen? YES! But, not a “clear” one. (x,y) screen scene image plane effective focal length, f’ optical axis y x z pinhole

Magnification y z x d f’ optical axis Pinhole d’ planar scene B d f’ optical axis z A Pinhole A’ d’ x planar scene image plane B’ From perspective projection: Magnification:

Properties of Projection Points project to points Lines project to lines Planes project to the whole or half image Angles are not preserved Degenerate cases Line through focal point projects to a point. Plane through focal point projects to line

Distant Objects are Smaller Size is inversely proportional to distance. Note that B’ and C’ labels should be switched.

Parallel Lines Meet Common to draw film plane in front of the focal point. Moving the film plane merely scales the image.

Vanishing Points Each set of parallel lines meets at a different point The vanishing point for this direction Sets of parallel lines on the same plane lead to collinear vanishing points. The line is called the horizon for that plane Good ways to spot faked images scale and perspective don’t work vanishing points behave badly supermarket tabloids are a great source.

Model 0: Pinhole Projection

The Equation of Pinhole Projection Cartesian coordinates: We have, by similar triangles, that (x, y, z) -> (f x/z, f y/z, f) [multiply by f/z] Ignore the third coordinate, and get 3D object point  2D image point

Model 1: Weak Perspective Projection Issue Perspective effects, but not over the scale of individual objects Collect points into a group at about the same depth, then divide each point by the depth of its group Advantage: EASY Disadvantage: WRONG

The Equation of Weak Perspective s is constant for all points. Parallel lines no longer converge, they remain parallel. Slide credit: David Jacobs

Model 2: Orthographic Projection Magnification: When m = 1, we have orthographic projection y optical axis z x image plane This is possible only when In other words, the range of scene depths is assumed to be much smaller than the average scene depth. But, how do we produce non-inverted images?

Pros and Cons of These Models Weak perspective has simpler math. Accurate when object is small and distant. Most useful for recognition. Pinhole perspective much more accurate for scenes. Used in structure from motion. When accuracy really matters, we must model the real camera Use perspective projection with other calibration parameters (e.g., radial lens distortion) Slide credit: David Jacobs

Problems with Pinholes Pinhole size (aperture) must be “very small” to obtain a clear image. However, as pinhole size is made smaller, less light is received by image plane. If pinhole is comparable to wavelength of incoming light, DIFFRACTION effects blur the image! Sharpest image is obtained when: pinhole diameter Example: If f’ = 50mm, = 600nm (red), d = 0.36mm

The Reason for Lenses

Image Formation using (Thin) Lenses Lenses are used to avoid problems with pinholes. Ideal Lens: Same projection as pinhole but gathers more light! i o P P’ f Gaussian 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!

Focus and Defocus aperture aperture diameter Blur Circle, b d Gaussian Law: Blur Circle Diameter : Depth of Field: Range of object distances over which image is sufficiently well focused, i.e., range for which blur circle is less than the resolution of the imaging sensor.

Problems with Lenses Compound (Thick) Lens Vignetting B A principal planes A nodal points thickness more light from A than B ! Chromatic Abberation Radial and Tangential Distortion ideal actual ideal actual image plane Lens has different refractive indices for different wavelengths.

Spherical Aberration Spherical lenses are the only easy shape to manufacture, but are not correct for perfect focus.

Two Lens System object final image image plane intermediate virtual image lens 2 lens 1 Rule : Image formed by first lens is the object for the second lens. Main Rays : Ray passing through focus emerges parallel to optical axis. Ray through optical center passes un-deviated. Magnification: Exercises: What is the combined focal length of the system? What is the combined focal length if d = 0?

Lens systems A good camera lens may contain 15 elements and cost a many thousand dollars The best modern lenses may contain aspherical elements

Insect Eye We make cameras that act “similar” to the human eye Fly Mosquito

Human Eye The eye has an iris like a camera Focusing is done by changing shape of lens Retina contains cones (mostly used) and rods (for low light) The fovea is small region of high resolution containing mostly cones Optic nerve: 1 million flexible fibers http://www.cas.vanderbilt.edu/bsci111b/eye/human-eye.jpg Slide credit: David Jacobs

Human Eye Rods Intensity only Essentially night vision and peripheral vision only Since we are trying to fool the center of field of view of human eye (under well lit conditions) we ignore rods

Human Eye Cones Three types perceive different portions of the visible light spectrum

Human Eye Because there are only 3 types of cones in human eyes, we only need 3 stimulus values to fool the human eye Note: Chickens have 4 types of cones

Human Eye vs. the Camera We make cameras that act “similar” to the human eye

CCD Cameras http://huizen.ddsw.nl/bewoners/maan/imaging/camera/ccd1.gif Slide credit: David Jacobs