Basic Principles of Imaging and Lenses. Light Light Photons ElectromagneticRadiation.

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.
Computational Photography: Color perception, light spectra, contrast Connelly Barnes.
Basic Principles of Imaging and Lenses
Chapter 27 Properties of Light Light Photons ElectromagneticRadiation.
Light.
What is it? How does it work? How do we use it?. o Electromagnetic Waves display wave behavior o Created by.
Colors – part 1 K1066BI – Graphical Design Teppo Räisänen
Digital Photography Part 1 A crash course in optics.
Optics: Lenses & Mirrors. Thin Lenses Thin Lenses: Any device which concentrates or disperses light. Types of Lenses:  Converging Lens: Parallel rays.
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
Announcements. Projection Today’s Readings Nalwa 2.1.
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.
Capturing Light… in man and machine : Computational Photography Alexei Efros, CMU, Fall 2006 Some figures from Steve Seitz, Steve Palmer, Paul Debevec,
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 4a: Cameras CS6670: Computer Vision Noah Snavely Source: S. Lazebnik.
Capturing Light… in man and machine : Computational Photography Alexei Efros, CMU, Fall 2010.
Capturing Light… in man and machine : Computational Photography Alexei Efros, CMU, Fall 2008.
Colors and sensors Slides from Bill Freeman, Fredo Durand, Rob Fergus, and David Forsyth, Alyosha Efros.
This Set of Slides This set of slides deals with telescopes. Units covered: 26, 27, 28, 29, and 30.
What is wrong with this picture? Recap from Lecture 2 Pinhole camera model Perspective projections Focal length and field of view Remember to use your.
Ch 25 1 Chapter 25 Optical Instruments © 2006, B.J. Lieb Some figures electronically reproduced by permission of Pearson Education, Inc., Upper Saddle.
Recap from Friday Pinhole camera model Perspective projections Lenses and their flaws Focus Depth of field Focal length and field of view.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm.
Light and Color Computational Photography Derek Hoiem, University of Illinois 09/08/11 “Empire of Light”, Magritte.
Basic Principles of Imaging and Photometry Lecture #2 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Building a Real Camera.
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.
Human Eye  A human eyeball is like a simple camera! Sclera: White part of the eye, outer walls, hard, like a light-tight box. Cornea and crystalline lens.
1 CS6825: Image Formation How are images created. How are images created.
Lenses: 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.
Physiology of Vision: a swift overview Pixels to Percepts A. Efros, CMU, Spring 2011 Some figures from Steve Palmer.
Light Chapter 16.
Computational Photography Derek Hoiem, University of Illinois
Optics and Telescopes. Optics and Telescopes: Guiding Questions 1.How do reflecting and refracting telescopes work? 2.Why is it important that professional.
1 Computer Vision 一目 了然 一目 了然 一看 便知 一看 便知 眼睛 頭腦 眼睛 頭腦 Computer = Image + Artificial Vision Processing Intelligence Vision Processing Intelligence.
Physiology of Vision: a swift overview : Learning-Based Methods in Vision A. Efros, CMU, Spring 2009 Some figures from Steve Palmer.
Image Formation Dr. Chang Shu COMP 4900C Winter 2008.
Physiology of Vision: a swift overview : Advanced Machine Perception A. Efros, CMU, Spring 2006 Some figures from Steve Palmer.
Recap from Lecture 2 Pinhole camera model Perspective projections Lenses and their flaws Focus Depth of field Focal length and field of view Chapter 2.
Lenses. Diverging and Converging Lenses Double Convex lenses focus light rays to a point on the opposite side of the lens. Double Concave lenses diverge.
EECS 274 Computer Vision Cameras.
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.
Light & Telescopes (Chapter 5) All of what we know and understand about the stars is the result of observation and analysis of light.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
Instructor: Mircea Nicolescu Lecture 3 CS 485 / 685 Computer Vision.
Capturing Light… in man and machine CS194: Image Manipulation & Computational Photography Alexei Efros, UC Berkeley, Fall 2015.
Chapter Twenty-Five: Light  25.1 Properties of Light  25.2 Color and Vision  25.3 Optics.
Physics: light waves. Properties and Sources of Light Key Question: What are some useful properties of light?
CSE 185 Introduction to Computer Vision
PNU Machine Vision Lecture 2a: Cameras Source: S. Lazebnik.
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.
PINHOLE CAMERA What do we need to know?
Capturing Light… in man and machine
Chapter 27 Properties of Light.
Physiology of Vision: a swift overview
Capturing Light… in man and machine
CSE 185 Introduction to Computer Vision
Unit 7 Light and Vision.
Capturing Light… in man and machine
Light Waves Day 1.
Announcements Midterm out today Project 1 demos.
The Optics of the Camera Obscura or
Announcements Midterm out today Project 1 demos.
Photographic Image Formation I
Presentation transcript:

Basic Principles of Imaging and Lenses

Light

Light Photons ElectromagneticRadiation

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 10 8 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/ Putting these equations together, we see that E = hc/

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 X-Ray UV Visible Infrared Radio Composite

EM Spectrum Relative Sizes

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

Camera Obscura, Gemma Frisius, A Brief History of Images

(Russell Naughton) 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". Leonardo da Vinci Slide credit: David Jacobs

Lens Based Camera Obscura, A Brief History of Images

(Jack and Beverly Wilgus) Jetty at Margate England, Slide credit: David Jacobs

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

Abraham Lincoln? ? 1568 A Brief History of Images

Silicon Image Detector, A Brief History of Images

A Brief History of Images Digital Cameras

A Brief History of Images Hasselblad HD

Geometric Optics and Image Formation

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?

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

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 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! P P’ f

Focus and Defocus 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. d aperture diameter aperture Gaussian Law: Blur Circle, b Blur Circle Diameter :

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

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

Two Lens System 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. image plane lens 2lens 1 object intermediate virtual image final image 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

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 Slide credit: David Jacobs

The Eye The human eye is a camera! –Iris - colored annulus with radial muscles –Pupil - the hole (aperture) whose size is controlled by the iris –What’s the “film”? photoreceptor cells (rods and cones) in the retina

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

Image Formation Digital Camera The Eye Film

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

The Retina

Retina up-close Light

© Stephen E. Palmer, 2002 Cones cone-shaped less sensitive operate in high light color vision Two types of light-sensitive receptors Rods rod-shaped highly sensitive operate at night gray-scale vision

Rod / Cone sensitivity The famous sock-matching problem…

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

© Stephen E. Palmer, 2002 Distribution of Rods and Cones Night Sky: why are there more stars off-center?

The Physics of Light Some examples of the spectra of light sources © Stephen E. Palmer, 2002

More Spectra metamers

The Physics of Light Some examples of the reflectance spectra of surfaces Wavelength (nm) % Photons Reflected Red Yellow Blue Purple © Stephen E. Palmer, 2002

The Psychophysical Correspondence There is no simple functional description for the perceived color of all lights under all viewing conditions, but …... A helpful constraint: Consider only physical spectra with normal distributions area mean variance © Stephen E. Palmer, 2002

The Psychophysical Correspondence MeanHue # Photons Wavelength © Stephen E. Palmer, 2002

The Psychophysical Correspondence VarianceSaturation Wavelength # Photons © Stephen E. Palmer, 2002

The Psychophysical Correspondence AreaBrightness # Photons Wavelength © Stephen E. Palmer, 2002

Digital camera A digital camera replaces retina 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) CMOS –

CCD Cameras Slide credit: David Jacobs

Sensor Array CMOS sensor

Sampling and Quantization

Interlace vs. progressive scan

Progressive scan

Interlace

Color Sensing in Camera (RGB) 3-chip vs. 1-chip: quality vs. cost Why more green? Why 3 colors?

Practical Color Sensing: Bayer Grid Estimate RGB at ‘G’ cels from neighboring values words/Bayer-filter.wikipedia

Image Formation f(x,y) = reflectance(x,y) * illumination(x,y) Reflectance in [0,1], illumination in [0,inf]

White Balance White World / Gray World assumptions

Problem: Dynamic Range , ,000 2,000,000,000 The real world has High dynamic range

pixel (312, 284) = 42 Image 42 photos? Is Camera a photometer?

Long Exposure Real world Picture 0 to 255 High dynamic range

Short Exposure Real world Picture 0 to 255 High dynamic range

sceneradiance (W/sr/m )  sensorirradiancesensorexposure LensShutter 2 tttt analog voltages digital values pixel values CCDADCRemapping Image Acquisition Pipeline Camera is NOT a photometer!

Varying Exposure

What does the eye sees? The eye has a huge dynamic range Do we see a true radiance map?