Capturing light and color

Size: px
Start display at page:

Download "Capturing light and color"

Transcription

1 Capturing light and color Friday, 10/02/2017 Antonis Argyros Szeliski 2.2, 2.3, 3.1 1

2 Recap from last lecture Pinhole camera model Perspective projection Focal length and depth/field of view Lenses

3 Recap - Projection matrix Slide Credit: Saverese R,T j w X k w x i w O w x= K[ R t] X x: Image Coordinates: (u,v,1) K: Intrinsic Matrix (3x3) R: Rotation (3x3) t: Translation (3x1) X: World Coordinates: (X,Y,Z,1)

4 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 Changing the shape of the lens changes this distance

5 The long trip of light Light source properties Sensor characteristics Exposure Surface shape Optics Surface reflectance properties 5 Slide by L. Fei-Fei

6 What we will discuss today Geometry Relations between 3D world points and their 2D projections on the image Radiometry The relation of emitted light to the light that reaches the camera Photometry How to measure the light that reaches the camera Digitization The transformation of the spatio-temporally continuous signal to digital representations 6

7 A photon s life choices Absorption Diffusion Reflection Transparency Refraction Fluorescence Subsurface scattering? λ light source

8 A photon s life choices Absorption Diffusion Reflection Transparency Refraction Fluorescence Subsurface scattering λ light source

9 A photon s life choices Absorption Diffuse Reflection Reflection Transparency Refraction Fluorescence Subsurface scattering λ light source

10 A photon s life choices Absorption Diffusion Specular Reflection Transparency Refraction Fluorescence Subsurface scattering λ light source

11 A photon s life choices Absorption Diffusion Reflection Transparency Refraction Fluorescence Subsurface scattering λ light source

12 A photon s life choices Absorption Diffusion Reflection Transparency Refraction Fluorescence Subsurface scattering λ light source

13 A photon s life choices Absorption Diffusion Reflection Transparency Refraction Fluorescence Subsurface scattering λ 2 λ 1 light source

14 A photon s life choices Absorption Diffusion Reflection Transparency Refraction Fluorescence Subsurface scattering λ light source

15 Radiometry What determines the value of an image pixel? Radiance (L): energy carried by a ray Irradiance (E): energy arriving at the sensor Sensor characteristics 15

16 The journey of the light ray X = E t E d = π 2 cos 4 α 4 z' L Z = f ( E t) Camera response function: the mapping f from irradiance to pixel values 16 Source: S. Seitz, P. Debevec

17 Lambertian Reflectance In computer vision, surfaces are often assumed to be ideal diffuse reflectors with known dependence on viewing direction. Lambert s law: Viewed brightness does not depend on viewing direction, but it does depend on direction of illumination

18 What is color? Color is the result of interaction between physical light in the environment and our visual system Color is a psychological property of our visual experiences when we look at objects and lights, not a physical property of those objects or lights (S. Palmer, Vision Science: Photons to Phenomenology) Wassily Kandinsky ( ), Murnau Street with Women,

19 Electromagnetic spectrum Human Luminance Sensitivity Function 19

20 Beyond the visible spectrum γ - rays Χ - rays UV IR Long radiowaves 20

21 The Physics of Light: light sources Any source of light can be completely described physically by its spectrum: the amount of energy emitted (per time unit) at each wavelength nm. Relative spectral power # Photons (per ms.) Wavelength (nm.) 21 Stephen E. Palmer, 2002

22 The Physics of Light: light sources Some examples of the spectra of light sources A. Ruby Laser B. Gallium Phosphide Crystal Wavelength (nm.) D. Normal Daylight # Rel. Photons power Rel. # Photons power Wavelength (nm.) C. Tungsten Lightbulb Rel. # Photons power Rel. # Photons power Stephen E. Palmer, 2002

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

24 Interaction of light and surfaces Observed color is the result of interaction of light source spectrum with surface reflectance 24

25 The Eye The human eye is a camera (the best)! Iris - colored annulus with radial muscles Pupil - the hole (aperture) whose size is controlled by the iris Lens - changes shape by using ciliary muscles (to focus on objects at different distances) What s the film? photoreceptor cells (rods and cones) in the retina 25 Slide by Steve Seitz

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

27 Rod / Cone sensitivity

28 Density of rods and cones cone pigment molecules Rods and cones are non-uniformly distributed on the retina Rods responsible for intensity, cones responsible for color Fovea - Small region (1 or 2 ) at the center of the visual field containing the highest density of cones (and no rods). Less visual acuity in the periphery rod 28 Slide by Steve Seitz

29 Standardizing color experience We would like to understand which spectra produce the same color sensation from people under similar viewing conditions Color matching experiments Foundations of Vision, by Brian Wandell, Sinauer Assoc.,

30 Color matching experiment 30 Source: W. Freeman

31 Color matching experiment p 1 p 2 p 3 31 Source: W. Freeman

32 Color matching experiment p 1 p 2 p 3 32 Source: W. Freeman

33 Color matching experiment The primary color amounts needed for a match p 1 p 2 p 3 33 Source: W. Freeman

34 Trichromacy Three numbers seem to be sufficient for encoding color In color matching experiments, most people can match any given light with three primaries Exception: color blindness For the same light and same primaries, most people select the same weights 34

35 Grassman s Laws If two test lights can be matched with the same set of weights, then they are the same If we mix two test lights, then mixing the matches will match the result: Suppose A = u 1 P 1 + u 2 P 2 + u 3 P 3 and B = v 1 P 1 + v 2 P 2 + v 3 P 3. Then A+B = (u 1 +v 1 ) P 1 + (u 2 +v 2 ) P 2 + (u 3 +v 3 ) P 3. If we scale the test light, then the matches get scaled by the same amount: Suppose A = u 1 P 1 + u 2 P 2 + u 3 P 3. Then ka = (ku 1 ) P 1 + (ku 2 ) P 2 + (ku 3 ) P 3. 35

36 Color Sensing in Camera (RGB) 3-chip vs. 1-chip: quality vs. cost Slide by Steve Seitz

37 Practical Color Sensing: Bayer Grid Estimate RGB at G cells from neighboring values Slide by Steve Seitz

38 Color Image R G B

39 Images in Matlab Images represented as a matrix Suppose we have a NxM RGB image called im im(1,1,1) = top-left pixel value in R-channel im(y, x, b) = y pixels down, x pixels to right in the b th channel im(n, M, 3) = bottom-right pixel in B-channel imread(filename) returns a uint8 image (values 0 to 255) Convert to double format (values 0 to 1) with im2double row column G R B

40 Color spaces How can we represent color?

41 Color spaces: RGB Default color space 0,1,0 R (G=0,B=0) 1,0,0 0,0,1 G (R=0,B=0) Drawback: Non-perceptual: a change of the same amount in a color value, does not produce a change of about the same visual importance. B (R=0,G=0) Image from:

42 Color spaces: HSV Intuitive color space H (S=1,V=1) S (H=1,V=1) V (H=1,S=0)

43 Color spaces: YCbCr Y=0 Y=0.5 Y (Cb=0.5,Cr=0.5) Cr Cb Y=1 Cb (Y=0.5,Cr=0.5) Cr (Y=0.5,Cb=05)

44 Color spaces: L*a*b* L (a=0,b=0) a (L=65,b=0) b (L=65,a=0)

45 If you had to choose, would you rather go without luminance or chrominance?

46 If you had to choose, would you rather go without luminance or chrominance?

47 Most information in intensity Only color shown constant intensity

48 Most information in intensity Only intensity shown constant color

49 Most information in intensity Original image

50 Lightness constancy 50

51 Lightness constancy 51

52 Chromatic adaptation The visual system changes its sensitivity depending on the luminances prevailing in the visual field Adapting to different brightness levels Changing the size of the iris opening (i.e., the aperture) changes the amount of light that can enter the eye Think of walking into a building from full sunshine Adapting to different color temperature The receptive cells on the retina change their sensitivity For example: if there is an increased amount of red light, the cells receptive to red decrease their sensitivity until the scene looks white again 52

53 Name that color Πράσινο Κόκκινο Μπλέ Κίτρινο Πράσινο Κόκκινο Πορτοκαλί Μώβ Καφέ Κίτρινο Μαύρο 53

54 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) 54 Slide by Steve Seitz

55 Digitization Let s digitize this image We will assume a square sampling grid We will be varying the sampling density 55

56 Digitization A sample per red point Sampling interval Coarse sampling: 14 lines, 20 points / line Denser sampling: 68 lines, 100 points/line 56

57 Consequences of the sampling interval/rate Look at the fence Sampling interval White image! Grey image!

58 Consequences of the sampling interval/rate Look at the fence Sampling interval Now the fence is visible!

59 Consequences of the sampling interval/rate Look at the repetitive pattern on the fence: Sampling intervals s' d s Case 1: s' = d Sampling interval equal to the period of the repetitive pattern Invisible fence Case 2: s = d/2 Sampling interval equal to half the period of the repetitive pattern Visible fence 59

60 Sampling theorem If the width of the thinnest structure is d, then the sampling interval should be at smaller than d/2 The repetitive pattern has a certain frequency. To maintain this frequency, sampling must be done with at least double this frequency (Nyquist rate) 60

61 Sampling Basic idea, in theory 23 Digitized image Continuous signal Dirac Delta Function 2D "Comb" δ(x,y) = 0 for x ǂ 0, y ǂ 0 s δ(x,y) dx dy = 1 f(x,y)δ(x-a,y-b) dx dy = f(a,b) 61

62 Sampling Basic idea, in practice... The ideal situation is not feasible in practice A sample corresponds to a region that has a certain area The value of a sample depends on the value of the continuous function over this area 23 s 62

63 as a result. The mixed pixel problem 63

64 Remember: Color sensing in camera: Color filter array Bayer grid Estimate missing components from neighboring values (demosaicing) 64 Source: Steve Seitz

65 Problem with demosaicing: color moire 65

66 Signal quantization Goal: Ok, we saw where to sample, what about the actual value measured at each sample? I(x,y) =.1583 volts =???? Digital value? 66

67 Quantization I(x,y) = continuous signal 0 I(x,y) M We need to quantize it in K levels/values 0,1,...K-1 K is usually a power of 2: K #Bits We need to define the mapping between the (analog) input signal to the (digital) output signal. Several such mappings (linear, logarithmic, etc) 67

68 E.g., linear mapping uantization Level K Signal Value M 68

69 Selection of K Continuous signal K=2 K=4 K=16 K=32 69

70 Selection of K K=2 (for each basic color) K=4 (for each basic color) 70

71 Loss during spatial sampling

72 Loss during quantization

73 Image histogram H The histogram of an image represents the number of pixels having a particular intensity / gray value 8 Pixel Count Image M x N I max i= I min H ( i) = MN Gray Value 73

74 Image histogram & image content

75 Image histogram vs image properties Dark image Bright image Low contrast High contrast 75

76 Point processing An image processing operator defines an operator that, when applied at an input image f results in a new image g. The simplest of such operators are those that processing is independent of position in the image Such operators are called point processing operators 76

77 Point processing O = T(I) T 255 Output O Input I 77

78 Point processing

79 Point processing 255 Output 0 Input

80 Contrast stretching 80

81 Point processing O = I γ γ < 1 : increase contrast in dark regions γ > 1 : increase contrast in bright regions 1 γ<1 0.5 γ=1 γ>

82 γ=

83 γ=

84 Some basic types 84

85 Image negative 85

Capturing Light in man and machine

Capturing Light in man and machine Capturing Light in man and machine CS194: Image Manipulation & Computational Photography Alexei Efros, UC Berkeley, Fall 2014 Etymology PHOTOGRAPHY light drawing / writing Image Formation Digital Camera

More information

Capturing Light in man and machine

Capturing Light in man and machine Capturing Light in man and machine CS194: Image Manipulation & Computational Photography Alexei Efros, UC Berkeley, Fall 2015 Etymology PHOTOGRAPHY light drawing / writing Image Formation Digital Camera

More information

Motion illusion, rotating snakes

Motion illusion, rotating snakes Motion illusion, rotating snakes Previous classes Computer vision overview Mathematics of pinhole camera Sensors and light Recap: projection X t x K R 1 1 0 0 0 1 33 32 31 23 22 21 13 12 11 0 0 z y x t

More information

Oversubscription. Sorry, not fixed yet. We ll let you know as soon as we can.

Oversubscription. Sorry, not fixed yet. We ll let you know as soon as we can. Bela Borsodi Bela Borsodi Oversubscription Sorry, not fixed yet. We ll let you know as soon as we can. CS 143 James Hays Continuing his course many materials, courseworks, based from him + previous staff

More information

Waitlist. We ll let you know as soon as we can. Biggest issue is TAs

Waitlist. We ll let you know as soon as we can. Biggest issue is TAs Bela Borsodi Bela Borsodi Waitlist We ll let you know as soon as we can. Biggest issue is TAs CS 143 James Hays Many materials, courseworks, based from him + previous TA staff serious thanks! Textbook

More information

Capturing Light in man and machine

Capturing Light in man and machine Capturing Light in man and machine CS194: Image Manipulation & Computational Photography Alexei Efros, UC Berkeley, Fall 2016 Textbook http://szeliski.org/book/ General Comments Prerequisites Linear algebra!!!

More information

Capturing Light in man and machine

Capturing Light in man and machine Capturing Light in man and machine 15-463: Computational Photography Alexei Efros, CMU, Fall 2008 Image Formation Digital Camera Film The Eye Digital camera A digital camera replaces film with a sensor

More information

Capturing Light in man and machine. Some figures from Steve Seitz, Steve Palmer, Paul Debevec, and Gonzalez et al.

Capturing Light in man and machine. Some figures from Steve Seitz, Steve Palmer, Paul Debevec, and Gonzalez et al. Capturing Light in man and machine Some figures from Steve Seitz, Steve Palmer, Paul Debevec, and Gonzalez et al. 15-463: Computational Photography Alexei Efros, CMU, Fall 2005 Image Formation Digital

More information

Capturing Light in man and machine

Capturing Light in man and machine Capturing Light in man and machine 15-463: Computational Photography Alexei Efros, CMU, Fall 2010 Etymology PHOTOGRAPHY light drawing / writing Image Formation Digital Camera Film The Eye Sensor Array

More information

CMPSCI 670: Computer Vision! Color. University of Massachusetts, Amherst September 15, 2014 Instructor: Subhransu Maji

CMPSCI 670: Computer Vision! Color. University of Massachusetts, Amherst September 15, 2014 Instructor: Subhransu Maji CMPSCI 670: Computer Vision! Color University of Massachusetts, Amherst September 15, 2014 Instructor: Subhransu Maji Slides by D.A. Forsyth 2 Color is the result of interaction between light in the environment

More information

Overview. Pinhole camera model Projective geometry Vanishing points and lines Projection matrix Cameras with Lenses Color Digital image

Overview. Pinhole camera model Projective geometry Vanishing points and lines Projection matrix Cameras with Lenses Color Digital image Camera & Color Overview Pinhole camera model Projective geometry Vanishing points and lines Projection matrix Cameras with Lenses Color Digital image Book: Hartley 6.1, Szeliski 2.1.5, 2.2, 2.3 The trip

More information

Frequencies and Color

Frequencies and Color Frequencies and Color Alexei Efros, CS280, Spring 2018 Salvador Dali Gala Contemplating the Mediterranean Sea, which at 30 meters becomes the portrait of Abraham Lincoln, 1976 Spatial Frequencies and

More information

Light and Color. Computer Vision Jia-Bin Huang, Virginia Tech. Empire of Light, 1950 by Rene Magritte

Light and Color. Computer Vision Jia-Bin Huang, Virginia Tech. Empire of Light, 1950 by Rene Magritte Light and Color Computer Vision Jia-Bin Huang, Virginia Tech Empire of Light, 1950 by Rene Magritte Administrative stuffs Signed up Piazza discussion board? Search for Teammates! Sample final project ideas

More information

Color. Phillip Otto Runge ( )

Color. Phillip Otto Runge ( ) Color Phillip Otto Runge (1777-1810) What is color? Color is a psychological property of our visual experiences when we look at objects and lights, not a physical property of those objects or lights (S.

More information

Today. Color. Color and light. Color and light. Electromagnetic spectrum 2/7/2011. CS376 Lecture 6: Color 1. What is color?

Today. Color. Color and light. Color and light. Electromagnetic spectrum 2/7/2011. CS376 Lecture 6: Color 1. What is color? Color Monday, Feb 7 Prof. UT-Austin Today Measuring color Spectral power distributions Color mixing Color matching experiments Color spaces Uniform color spaces Perception of color Human photoreceptors

More information

Unit 1: Image Formation

Unit 1: Image Formation Unit 1: Image Formation 1. Geometry 2. Optics 3. Photometry 4. Sensor Readings Szeliski 2.1-2.3 & 6.3.5 1 Physical parameters of image formation Geometric Type of projection Camera pose Optical Sensor

More information

Histograms and Color Balancing

Histograms and Color Balancing Histograms and Color Balancing 09/14/17 Empire of Light, Magritte Computational Photography Derek Hoiem, University of Illinois Administrative stuff Project 1: due Monday Part I: Hybrid Image Part II:

More information

CSCI 1290: Comp Photo

CSCI 1290: Comp Photo CSCI 1290: Comp Photo Fall 2018 @ Brown University James Tompkin Many slides thanks to James Hays old CS 129 course, along with all of its acknowledgements. Canny edge detector 1. Filter image with x,

More information

CS 1699: Intro to Computer Vision. Color. Prof. Adriana Kovashka University of Pittsburgh September 22, 2015

CS 1699: Intro to Computer Vision. Color. Prof. Adriana Kovashka University of Pittsburgh September 22, 2015 CS 1699: Intro to Computer Vision Color Prof. Adriana Kovashka University of Pittsburgh September 22, 2015 Today Review: SIFT features Physics and perception of color Color matching Color spaces Uses of

More information

Color. April 16 th, Yong Jae Lee UC Davis

Color. April 16 th, Yong Jae Lee UC Davis Color April 16 th, 2015 Yong Jae Lee UC Davis Measuring color Today Spectral power distributions Color mixing Color matching experiments Color spaces Uniform color spaces Perception of color Human photoreceptors

More information

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt. CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt. Session 7 Pixels and Image Filtering Mani Golparvar-Fard Department of Civil and Environmental Engineering 329D, Newmark Civil Engineering

More information

Color April 16 th, 2015

Color April 16 th, 2015 Color April 16 th, 2015 Yong Jae Lee UC Davis Today Measuring color Spectral power distributions Color mixing Color matching experiments Color spaces Uniform color spaces Perception of color Human photoreceptors

More information

Lecture: Color. Juan Carlos Niebles and Ranjay Krishna Stanford AI Lab. Lecture 1 - Stanford University

Lecture: Color. Juan Carlos Niebles and Ranjay Krishna Stanford AI Lab. Lecture 1 - Stanford University Lecture: Color Juan Carlos Niebles and Ranjay Krishna Stanford AI Lab Stanford University Lecture 1 - Overview of Color Physics of color Human encoding of color Color spaces White balancing Stanford University

More information

Proj 2. Looks like the evaluation function changed in converting to Python, and 80% on Notre Dame is more tricky to reach.

Proj 2. Looks like the evaluation function changed in converting to Python, and 80% on Notre Dame is more tricky to reach. Proj 2 Looks like the evaluation function changed in converting to Python, and 80% on Notre Dame is more tricky to reach. We will tweak the percentages. Leaderboard / Gradescope is up. Extra Credit Please

More information

Reading. 1. Visual perception. Outline. Forming an image. Optional: Glassner, Principles of Digital Image Synthesis, sections

Reading. 1. Visual perception. Outline. Forming an image. Optional: Glassner, Principles of Digital Image Synthesis, sections Reading Optional: Glassner, Principles of Digital mage Synthesis, sections 1.1-1.6. 1. Visual perception Brian Wandell. Foundations of Vision. Sinauer Associates, Sunderland, MA, 1995. Research papers:

More information

Vision and Color. Reading. Optics, cont d. Lenses. d d f. Brian Curless CSE 557 Autumn Good resources:

Vision and Color. Reading. Optics, cont d. Lenses. d d f. Brian Curless CSE 557 Autumn Good resources: Reading Good resources: Vision and Color Brian Curless CSE 557 Autumn 2015 Glassner, Principles of Digital Image Synthesis, pp. 5-32. Palmer, Vision Science: Photons to Phenomenology. Wandell. Foundations

More information

Vision and Color. Brian Curless CSE 557 Autumn 2015

Vision and Color. Brian Curless CSE 557 Autumn 2015 Vision and Color Brian Curless CSE 557 Autumn 2015 1 Reading Good resources: Glassner, Principles of Digital Image Synthesis, pp. 5-32. Palmer, Vision Science: Photons to Phenomenology. Wandell. Foundations

More information

Vision and Color. Reading. The lensmaker s formula. Lenses. Brian Curless CSEP 557 Autumn Good resources:

Vision and Color. Reading. The lensmaker s formula. Lenses. Brian Curless CSEP 557 Autumn Good resources: Reading Good resources: Vision and Color Brian Curless CSEP 557 Autumn 2017 Glassner, Principles of Digital Image Synthesis, pp. 5-32. Palmer, Vision Science: Photons to Phenomenology. Wandell. Foundations

More information

Announcements. Color. Last time. Today: Color. Color and light. Review questions

Announcements. Color. Last time. Today: Color. Color and light. Review questions Announcements Color Thursday, Sept 4 Class website reminder http://www.cs.utexas.edu/~grauman/cours es/fall2008/main.htm Pset 1 out today Last time Image formation: Projection equations Homogeneous coordinates

More information

Vision and Color. Reading. Optics, cont d. Lenses. d d f. Brian Curless CSEP 557 Fall Good resources:

Vision and Color. Reading. Optics, cont d. Lenses. d d f. Brian Curless CSEP 557 Fall Good resources: Reading Good resources: Vision and Color Brian Curless CSEP 557 Fall 2016 Glassner, Principles of Digital Image Synthesis, pp. 5-32. Palmer, Vision Science: Photons to Phenomenology. Wandell. Foundations

More information

Vision and Color. Brian Curless CSEP 557 Fall 2016

Vision and Color. Brian Curless CSEP 557 Fall 2016 Vision and Color Brian Curless CSEP 557 Fall 2016 1 Reading Good resources: Glassner, Principles of Digital Image Synthesis, pp. 5-32. Palmer, Vision Science: Photons to Phenomenology. Wandell. Foundations

More information

Cameras. CSE 455, Winter 2010 January 25, 2010

Cameras. CSE 455, Winter 2010 January 25, 2010 Cameras CSE 455, Winter 2010 January 25, 2010 Announcements New Lecturer! Neel Joshi, Ph.D. Post-Doctoral Researcher Microsoft Research neel@cs Project 1b (seam carving) was due on Friday the 22 nd Project

More information

Reading. Lenses, cont d. Lenses. Vision and color. d d f. Good resources: Glassner, Principles of Digital Image Synthesis, pp

Reading. Lenses, cont d. Lenses. Vision and color. d d f. Good resources: Glassner, Principles of Digital Image Synthesis, pp Reading Good resources: Glassner, Principles of Digital Image Synthesis, pp. 5-32. Palmer, Vision Science: Photons to Phenomenology. Vision and color Wandell. Foundations of Vision. 1 2 Lenses The human

More information

Projection. Announcements. Müller-Lyer Illusion. Image formation. Readings Nalwa 2.1

Projection. Announcements. Müller-Lyer Illusion. Image formation. Readings Nalwa 2.1 Announcements Mailing list (you should have received messages) Project 1 additional test sequences online Projection Readings Nalwa 2.1 Müller-Lyer Illusion Image formation object film by Pravin Bhat http://www.michaelbach.de/ot/sze_muelue/index.html

More information

CSE 527: Introduction to Computer Vision

CSE 527: Introduction to Computer Vision CSE 527: Introduction to Computer Vision Week 2 - Class 2: Vision, Physics, Cameras September 7th, 2017 Today Physics Human Vision Eye Brain Perspective Projection Camera Models Image Formation Digital

More information

CS6670: Computer Vision

CS6670: Computer Vision CS6670: Computer Vision Noah Snavely Lecture 4a: Cameras Source: S. Lazebnik Reading Szeliski chapter 2.2.3, 2.3 Image formation Let s design a camera Idea 1: put a piece of film in front of an object

More information

DIGITAL IMAGE PROCESSING

DIGITAL IMAGE PROCESSING DIGITAL IMAGE PROCESSING Lecture 1 Introduction Tammy Riklin Raviv Electrical and Computer Engineering Ben-Gurion University of the Negev 2 Introduction to Digital Image Processing Lecturer: Dr. Tammy

More information

General Imaging System

General Imaging System General Imaging System Lecture Slides ME 4060 Machine Vision and Vision-based Control Chapter 5 Image Sensing and Acquisition By Dr. Debao Zhou 1 2 Light, Color, and Electromagnetic Spectrum Penetrate

More information

Lecture 2: Color, Filtering & Edges. Slides: S. Lazebnik, S. Seitz, W. Freeman, F. Durand, D. Forsyth, D. Lowe, B. Wandell, S.Palmer, K.

Lecture 2: Color, Filtering & Edges. Slides: S. Lazebnik, S. Seitz, W. Freeman, F. Durand, D. Forsyth, D. Lowe, B. Wandell, S.Palmer, K. Lecture 2: Color, Filtering & Edges Slides: S. Lazebnik, S. Seitz, W. Freeman, F. Durand, D. Forsyth, D. Lowe, B. Wandell, S.Palmer, K. Grauman Color What is color? Color Camera Sensor http://www.photoaxe.com/wp-content/uploads/2007/04/camera-sensor.jpg

More information

Visual Perception. Readings and References. Forming an image. Pinhole camera. Readings. Other References. CSE 457, Autumn 2004 Computer Graphics

Visual Perception. Readings and References. Forming an image. Pinhole camera. Readings. Other References. CSE 457, Autumn 2004 Computer Graphics Readings and References Visual Perception CSE 457, Autumn Computer Graphics Readings Sections 1.4-1.5, Interactive Computer Graphics, Angel Other References Foundations of Vision, Brian Wandell, pp. 45-50

More information

Introduction to Visual Perception & the EM Spectrum

Introduction to Visual Perception & the EM Spectrum , Winter 2005 Digital Image Fundamentals: Visual Perception & the EM Spectrum, Image Acquisition, Sampling & Quantization Monday, September 19 2004 Overview (1): Review Some questions to consider Elements

More information

Review. Introduction to Visual Perception & the EM Spectrum. Overview (1):

Review. Introduction to Visual Perception & the EM Spectrum. Overview (1): Overview (1): Review Some questions to consider Winter 2005 Digital Image Fundamentals: Visual Perception & the EM Spectrum, Image Acquisition, Sampling & Quantization Tuesday, January 17 2006 Elements

More information

Image Formation and Capture

Image Formation and Capture Figure credits: B. Curless, E. Hecht, W.J. Smith, B.K.P. Horn, A. Theuwissen, and J. Malik Image Formation and Capture COS 429: Computer Vision Image Formation and Capture Real world Optics Sensor Devices

More information

Projection. Readings. Szeliski 2.1. Wednesday, October 23, 13

Projection. Readings. Szeliski 2.1. Wednesday, October 23, 13 Projection Readings Szeliski 2.1 Projection Readings Szeliski 2.1 Müller-Lyer Illusion by Pravin Bhat Müller-Lyer Illusion by Pravin Bhat http://www.michaelbach.de/ot/sze_muelue/index.html Müller-Lyer

More information

Digital Image Processing Lec 02 - Image Formation - Color Space

Digital Image Processing Lec 02 - Image Formation - Color Space DIP-AMA, Fall 2018 Digital Image Processing Lec 02 - Image Formation - Color Space Zhu Li Dept of CSEE, UMKC Office: FH560E, Email: lizhu@umkc.edu, Ph: x 2346. http://l.web.umkc.edu/lizhu p.1 Outline Recap

More information

Further reading. 1. Visual perception. Restricting the light. Forming an image. Angel, section 1.4

Further reading. 1. Visual perception. Restricting the light. Forming an image. Angel, section 1.4 Further reading Angel, section 1.4 Glassner, Principles of Digital mage Synthesis, sections 1.1-1.6. 1. Visual perception Spencer, Shirley, Zimmerman, and Greenberg. Physically-based glare effects for

More information

Vision. The eye. Image formation. Eye defects & corrective lenses. Visual acuity. Colour vision. Lecture 3.5

Vision. The eye. Image formation. Eye defects & corrective lenses. Visual acuity. Colour vision. Lecture 3.5 Lecture 3.5 Vision The eye Image formation Eye defects & corrective lenses Visual acuity Colour vision Vision http://www.wired.com/wiredscience/2009/04/schizoillusion/ Perception of light--- eye-brain

More information

LENSES. INEL 6088 Computer Vision

LENSES. INEL 6088 Computer Vision LENSES INEL 6088 Computer Vision Digital camera A digital camera replaces film with a sensor array Each cell in the array is a Charge Coupled Device light-sensitive diode that converts photons to electrons

More information

Projection. Projection. Image formation. Müller-Lyer Illusion. Readings. Readings. Let s design a camera. Szeliski 2.1. Szeliski 2.

Projection. Projection. Image formation. Müller-Lyer Illusion. Readings. Readings. Let s design a camera. Szeliski 2.1. Szeliski 2. Projection Projection Readings Szeliski 2.1 Readings Szeliski 2.1 Müller-Lyer Illusion Image formation object film by Pravin Bhat http://www.michaelbach.de/ot/sze_muelue/index.html Let s design a camera

More information

Color. Homework 1 is out. Overview of today. color. Why is color useful 2/11/2008. Due on Mon 25 th Feb. Also start looking at ideas for projects

Color. Homework 1 is out. Overview of today. color. Why is color useful 2/11/2008. Due on Mon 25 th Feb. Also start looking at ideas for projects Homework 1 is out Color Lecture 2 Due on Mon 25 th Feb Also start looking at ideas for projects Suggestions are welcome! Overview of today Physics of color Human encoding of color Color spaces Camera sensor

More information

Wireless Communication

Wireless Communication Wireless Communication Systems @CS.NCTU Lecture 4: Color Instructor: Kate Ching-Ju Lin ( 林靖茹 ) Chap. 4 of Fundamentals of Multimedia Some reference from http://media.ee.ntu.edu.tw/courses/dvt/15f/ 1 Outline

More information

19. Vision and color

19. Vision and color 19. Vision and color 1 Reading Glassner, Principles of Digital Image Synthesis, pp. 5-32. Watt, Chapter 15. Brian Wandell. Foundations of Vision. Sinauer Associates, Sunderland, MA, pp. 45-50 and 69-97,

More information

IMAGE FORMATION. Light source properties. Sensor characteristics Surface. Surface reflectance properties. Optics

IMAGE FORMATION. Light source properties. Sensor characteristics Surface. Surface reflectance properties. Optics IMAGE FORMATION Light source properties Sensor characteristics Surface Exposure shape Optics Surface reflectance properties ANALOG IMAGES An image can be understood as a 2D light intensity function f(x,y)

More information

Image and Multidimensional Signal Processing

Image and Multidimensional Signal Processing Image and Multidimensional Signal Processing Professor William Hoff Dept of Electrical Engineering &Computer Science http://inside.mines.edu/~whoff/ Digital Image Fundamentals 2 Digital Image Fundamentals

More information

Building a Real Camera. Slides Credit: Svetlana Lazebnik

Building a Real Camera. Slides Credit: Svetlana Lazebnik Building a Real Camera Slides Credit: Svetlana Lazebnik Home-made pinhole camera Slide by A. Efros http://www.debevec.org/pinhole/ Shrinking the aperture Why not make the aperture as small as possible?

More information

CS6670: Computer Vision

CS6670: Computer Vision CS6670: Computer Vision Noah Snavely Lecture 5: Cameras and Projection Szeliski 2.1.3-2.1.6 Reading Announcements Project 1 assigned, see projects page: http://www.cs.cornell.edu/courses/cs6670/2011sp/projects/projects.html

More information

Mahdi Amiri. March Sharif University of Technology

Mahdi Amiri. March Sharif University of Technology Course Presentation Multimedia Systems Color Space Mahdi Amiri March 2014 Sharif University of Technology The wavelength λ of a sinusoidal waveform traveling at constant speed ν is given by Physics of

More information

The Human Visual System. Lecture 1. The Human Visual System. The Human Eye. The Human Retina. cones. rods. horizontal. bipolar. amacrine.

The Human Visual System. Lecture 1. The Human Visual System. The Human Eye. The Human Retina. cones. rods. horizontal. bipolar. amacrine. Lecture The Human Visual System The Human Visual System Retina Optic Nerve Optic Chiasm Lateral Geniculate Nucleus (LGN) Visual Cortex The Human Eye The Human Retina Lens rods cones Cornea Fovea Optic

More information

Digital Image Processing

Digital Image Processing Part 1: Course Introduction Achim J. Lilienthal AASS Learning Systems Lab, Dep. Teknik Room T1209 (Fr, 11-12 o'clock) achim.lilienthal@oru.se Course Book Chapters 1 & 2 2011-04-05 Contents 1. Introduction

More information

Color. Some slides are adopted from William T. Freeman

Color. Some slides are adopted from William T. Freeman Color Some slides are adopted from William T. Freeman 1 1 Why Study Color Color is important to many visual tasks To find fruits in foliage To find people s skin (whether a person looks healthy) To group

More information

Building a Real Camera

Building a Real Camera Building a Real Camera Home-made pinhole camera 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

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Lecture # 3 Digital Image Fundamentals ALI JAVED Lecturer SOFTWARE ENGINEERING DEPARTMENT U.E.T TAXILA Email:: ali.javed@uettaxila.edu.pk Office Room #:: 7 Presentation Outline

More information

Lecture 2 Digital Image Fundamentals. Lin ZHANG, PhD School of Software Engineering Tongji University Fall 2016

Lecture 2 Digital Image Fundamentals. Lin ZHANG, PhD School of Software Engineering Tongji University Fall 2016 Lecture 2 Digital Image Fundamentals Lin ZHANG, PhD School of Software Engineering Tongji University Fall 2016 Contents Elements of visual perception Light and the electromagnetic spectrum Image sensing

More information

Color. Bilkent University. CS554 Computer Vision Pinar Duygulu

Color. Bilkent University. CS554 Computer Vision Pinar Duygulu 1 Color CS 554 Computer Vision Pinar Duygulu Bilkent University 2 What is light? Electromagnetic radiation (EMR) moving along rays in space R(λ) is EMR, measured in units of power (watts) λ is wavelength

More information

Lecture 8. Human Information Processing (1) CENG 412-Human Factors in Engineering May

Lecture 8. Human Information Processing (1) CENG 412-Human Factors in Engineering May Lecture 8. Human Information Processing (1) CENG 412-Human Factors in Engineering May 30 2009 1 Outline Visual Sensory systems Reading Wickens pp. 61-91 2 Today s story: Textbook page 61. List the vision-related

More information

Chapter 2: Digital Image Fundamentals. Digital image processing is based on. Mathematical and probabilistic models Human intuition and analysis

Chapter 2: Digital Image Fundamentals. Digital image processing is based on. Mathematical and probabilistic models Human intuition and analysis Chapter 2: Digital Image Fundamentals Digital image processing is based on Mathematical and probabilistic models Human intuition and analysis 2.1 Visual Perception How images are formed in the eye? Eye

More information

CS559: Computer Graphics. Lecture 2: Image Formation in Eyes and Cameras Li Zhang Spring 2008

CS559: Computer Graphics. Lecture 2: Image Formation in Eyes and Cameras Li Zhang Spring 2008 CS559: Computer Graphics Lecture 2: Image Formation in Eyes and Cameras Li Zhang Spring 2008 Today Eyes Cameras Light Why can we see? Visible Light and Beyond Infrared, e.g. radio wave longer wavelength

More information

Vision and color. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell

Vision and color. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Vision and color University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Reading Glassner, Principles of Digital Image Synthesis, pp. 5-32. Watt, Chapter 15. Brian Wandell. Foundations

More information

Image Processing - Intro. Tamás Szirányi

Image Processing - Intro. Tamás Szirányi Image Processing - Intro Tamás Szirányi The path of light through optics A Brief History of Images 1558 Camera Obscura, Gemma Frisius, 1558 A Brief History of Images 1558 1568 Lens Based Camera Obscura,

More information

Dr F. Cuzzolin 1. September 29, 2015

Dr F. Cuzzolin 1. September 29, 2015 P00407 Principles of Computer Vision 1 1 Department of Computing and Communication Technologies Oxford Brookes University, UK September 29, 2015 September 29, 2015 1 / 73 Outline of the Lecture 1 2 Basics

More information

Color Image Processing

Color Image Processing Color Image Processing Selim Aksoy Department of Computer Engineering Bilkent University saksoy@cs.bilkent.edu.tr Color Used heavily in human vision. Visible spectrum for humans is 400 nm (blue) to 700

More information

Bettina Selig. Centre for Image Analysis. Swedish University of Agricultural Sciences Uppsala University

Bettina Selig. Centre for Image Analysis. Swedish University of Agricultural Sciences Uppsala University 2011-10-26 Bettina Selig Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University 2 Electromagnetic Radiation Illumination - Reflection - Detection The Human Eye Digital

More information

Cvision 2. António J. R. Neves João Paulo Silva Cunha. Bernardo Cunha. IEETA / Universidade de Aveiro

Cvision 2. António J. R. Neves João Paulo Silva Cunha. Bernardo Cunha. IEETA / Universidade de Aveiro Cvision 2 Digital Imaging António J. R. Neves (an@ua.pt) & João Paulo Silva Cunha & Bernardo Cunha IEETA / Universidade de Aveiro Outline Image sensors Camera calibration Sampling and quantization Data

More information

Color images C1 C2 C3

Color images C1 C2 C3 Color imaging Color images C1 C2 C3 Each colored pixel corresponds to a vector of three values {C1,C2,C3} The characteristics of the components depend on the chosen colorspace (RGB, YUV, CIELab,..) Digital

More information

Color image processing

Color image processing Color image processing Color images C1 C2 C3 Each colored pixel corresponds to a vector of three values {C1,C2,C3} The characteristics of the components depend on the chosen colorspace (RGB, YUV, CIELab,..)

More information

Color and Color Model. Chap. 12 Intro. to Computer Graphics, Spring 2009, Y. G. Shin

Color and Color Model. Chap. 12 Intro. to Computer Graphics, Spring 2009, Y. G. Shin Color and Color Model Chap. 12 Intro. to Computer Graphics, Spring 2009, Y. G. Shin Color Interpretation of color is a psychophysiology problem We could not fully understand the mechanism Physical characteristics

More information

Digital Image Processing COSC 6380/4393

Digital Image Processing COSC 6380/4393 Digital Image Processing COSC 6380/4393 Lecture 2 Aug 24 th, 2017 Slides from Dr. Shishir K Shah, Rajesh Rao and Frank (Qingzhong) Liu 1 Instructor TA Digital Image Processing COSC 6380/4393 Pranav Mantini

More information

Images. CS 4620 Lecture Kavita Bala w/ prior instructor Steve Marschner. Cornell CS4620 Fall 2015 Lecture 38

Images. CS 4620 Lecture Kavita Bala w/ prior instructor Steve Marschner. Cornell CS4620 Fall 2015 Lecture 38 Images CS 4620 Lecture 38 w/ prior instructor Steve Marschner 1 Announcements A7 extended by 24 hours w/ prior instructor Steve Marschner 2 Color displays Operating principle: humans are trichromatic match

More information

Digital Image Processing. Lecture # 8 Color Processing

Digital Image Processing. Lecture # 8 Color Processing Digital Image Processing Lecture # 8 Color Processing 1 COLOR IMAGE PROCESSING COLOR IMAGE PROCESSING Color Importance Color is an excellent descriptor Suitable for object Identification and Extraction

More information

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology Course Presentation Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology Physics of Color Light Light or visible light is the portion of electromagnetic radiation that

More information

VC 14/15 TP2 Image Formation

VC 14/15 TP2 Image Formation VC 14/15 TP2 Image Formation Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos Miguel Tavares Coimbra Outline Computer Vision? The Human Visual System

More information

IFT3355: Infographie Couleur. Victor Ostromoukhov, Pierre Poulin Dép. I.R.O. Université de Montréal

IFT3355: Infographie Couleur. Victor Ostromoukhov, Pierre Poulin Dép. I.R.O. Université de Montréal IFT3355: Infographie Couleur Victor Ostromoukhov, Pierre Poulin Dép. I.R.O. Université de Montréal Color Appearance Visual Range Electromagnetic waves (in nanometres) γ rays X rays ultraviolet violet

More information

Color and perception Christian Miller CS Fall 2011

Color and perception Christian Miller CS Fall 2011 Color and perception Christian Miller CS 354 - Fall 2011 A slight detour We ve spent the whole class talking about how to put images on the screen What happens when we look at those images? Are there any

More information

Visual Imaging and the Electronic Age Color Science

Visual Imaging and the Electronic Age Color Science Visual Imaging and the Electronic Age Color Science Grassman s Experiments & Trichromacy Lecture #5 September 5, 2017 Prof. Donald P. Greenberg Light as Rays Light as Waves Light as Photons What is Color

More information

Human Vision, Color and Basic Image Processing

Human Vision, Color and Basic Image Processing Human Vision, Color and Basic Image Processing Connelly Barnes CS4810 University of Virginia Acknowledgement: slides by Jason Lawrence, Misha Kazhdan, Allison Klein, Tom Funkhouser, Adam Finkelstein and

More information

Prof. Feng Liu. Winter /09/2017

Prof. Feng Liu. Winter /09/2017 Prof. Feng Liu Winter 2017 http://www.cs.pdx.edu/~fliu/courses/cs410/ 01/09/2017 Today Course overview Computer vision Admin. Info Visual Computing at PSU Image representation Color 2 Big Picture: Visual

More information

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science. Professor William Hoff Dept of Electrical Engineering &Computer Science http://inside.mines.edu/~whoff/ 1 Sensors and Image Formation Imaging sensors and models of image formation Coordinate systems Digital

More information

Announcements. The appearance of colors

Announcements. The appearance of colors Announcements Introduction to Computer Vision CSE 152 Lecture 6 HW1 is assigned See links on web page for readings on color. Oscar Beijbom will be giving the lecture on Tuesday. I will not be holding office

More information

Visual Perception. Overview. The Eye. Information Processing by Human Observer

Visual Perception. Overview. The Eye. Information Processing by Human Observer Visual Perception Spring 06 Instructor: K. J. Ray Liu ECE Department, Univ. of Maryland, College Park Overview Last Class Introduction to DIP/DVP applications and examples Image as a function Concepts

More information

VC 11/12 T2 Image Formation

VC 11/12 T2 Image Formation VC 11/12 T2 Image Formation Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos Miguel Tavares Coimbra Outline Computer Vision? The Human Visual System

More information

Digital Imaging Rochester Institute of Technology

Digital Imaging Rochester Institute of Technology Digital Imaging 1999 Rochester Institute of Technology So Far... camera AgX film processing image AgX photographic film captures image formed by the optical elements (lens). Unfortunately, the processing

More information

VC 16/17 TP2 Image Formation

VC 16/17 TP2 Image Formation VC 16/17 TP2 Image Formation Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos Hélder Filipe Pinto de Oliveira Outline Computer Vision? The Human Visual

More information

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour CS 565 Computer Vision Nazar Khan PUCIT Lecture 4: Colour Topics to be covered Motivation for Studying Colour Physical Background Biological Background Technical Colour Spaces Motivation Colour science

More information

COLOR and the human response to light

COLOR and the human response to light COLOR and the human response to light Contents Introduction: The nature of light The physiology of human vision Color Spaces: Linear Artistic View Standard Distances between colors Color in the TV 2 How

More information

Vision 1. Physical Properties of Light. Overview of Topics. Light, Optics, & The Eye Chaudhuri, Chapter 8

Vision 1. Physical Properties of Light. Overview of Topics. Light, Optics, & The Eye Chaudhuri, Chapter 8 Vision 1 Light, Optics, & The Eye Chaudhuri, Chapter 8 1 1 Overview of Topics Physical Properties of Light Physical properties of light Interaction of light with objects Anatomy of the eye 2 3 Light A

More information

Sensors and Sensing Cameras and Camera Calibration

Sensors and Sensing Cameras and Camera Calibration Sensors and Sensing Cameras and Camera Calibration Todor Stoyanov Mobile Robotics and Olfaction Lab Center for Applied Autonomous Sensor Systems Örebro University, Sweden todor.stoyanov@oru.se 20.11.2014

More information

CPSC 4040/6040 Computer Graphics Images. Joshua Levine

CPSC 4040/6040 Computer Graphics Images. Joshua Levine CPSC 4040/6040 Computer Graphics Images Joshua Levine levinej@clemson.edu Lecture 04 Displays and Optics Sept. 1, 2015 Slide Credits: Kenny A. Hunt Don House Torsten Möller Hanspeter Pfister Agenda Open

More information

LIGHT AND LIGHTING FUNDAMENTALS. Prepared by Engr. John Paul Timola

LIGHT AND LIGHTING FUNDAMENTALS. Prepared by Engr. John Paul Timola LIGHT AND LIGHTING FUNDAMENTALS Prepared by Engr. John Paul Timola LIGHT a form of radiant energy from natural sources and artificial sources. travels in the form of an electromagnetic wave, so it has

More information

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song Image and video processing () Colour Images Dr. Yi-Zhe Song yizhe.song@qmul.ac.uk Today s agenda Colour spaces Colour images PGM/PPM images Today s agenda Colour spaces Colour images PGM/PPM images History

More information

Getting light to imager. Capturing Images. Depth and Distance. Ideal Imaging. CS559 Lecture 2 Lights, Cameras, Eyes

Getting light to imager. Capturing Images. Depth and Distance. Ideal Imaging. CS559 Lecture 2 Lights, Cameras, Eyes CS559 Lecture 2 Lights, Cameras, Eyes Last time: what is an image idea of image-based (raster representation) Today: image capture/acquisition, focus cameras and eyes displays and intensities Corrected

More information