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

Similar documents
The Camera : Computational Photography Alexei Efros, CMU, Fall 2008

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

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

The Camera : Computational Photography Alexei Efros, CMU, Fall 2005

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

Two strategies for realistic rendering capture real world data synthesize from bottom up

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

Computer Vision. The Pinhole Camera Model

Cameras. CSE 455, Winter 2010 January 25, 2010

Unit 1: Image Formation

CSE 527: Introduction to Computer Vision

CS6670: Computer Vision

Image formation - Cameras. Grading & Project. About the course. Tentative Schedule. Course Content. Students introduction

How do we see the world?

LENSES. INEL 6088 Computer Vision

Capturing light and color

CSE 473/573 Computer Vision and Image Processing (CVIP)

Building a Real Camera. Slides Credit: Svetlana Lazebnik

Building a Real Camera

Dr F. Cuzzolin 1. September 29, 2015

Lecture 7: Camera Models

Digital Image Processing COSC 6380/4393

Image Formation and Capture

Sensors and Sensing Cameras and Camera Calibration

CS6670: Computer Vision

Digital Image Processing

Digital Image Processing COSC 6380/4393

Acquisition. Some slides from: Yung-Yu Chuang (DigiVfx) Jan Neumann, Pat Hanrahan, Alexei Efros

Image Processing & Projective geometry

Image Formation: Camera Model

Chapters 1 & 2. Definitions and applications Conceptual basis of photogrammetric processing

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

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

TSBB09 Image Sensors 2018-HT2. Image Formation Part 1

Lenses, exposure, and (de)focus

CPSC 425: Computer Vision

Lenses. Overview. Terminology. The pinhole camera. Pinhole camera Lenses Principles of operation Limitations

Image Formation. Dr. Gerhard Roth. COMP 4102A Winter 2015 Version 3

Image and Multidimensional Signal Processing

Lecture 7: homogeneous coordinates

Lecture 2 Camera Models

CS 443: Imaging and Multimedia Cameras and Lenses

Cameras. Steve Rotenberg CSE168: Rendering Algorithms UCSD, Spring 2017

ME 6406 MACHINE VISION. Georgia Institute of Technology

Capturing Light in man and machine

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

Color Image Processing

Single-view Metrology and Cameras

IMAGE SENSOR SOLUTIONS. KAC-96-1/5" Lens Kit. KODAK KAC-96-1/5" Lens Kit. for use with the KODAK CMOS Image Sensors. November 2004 Revision 2

General Imaging System

Image Processing - Intro. Tamás Szirányi

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

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

Chapter 36. Image Formation

Chapter 36. Image Formation

VC 11/12 T2 Image Formation

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

Overview. Image formation - 1

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

Vision and Color. Brian Curless CSE 557 Autumn 2015

Image Formation and Camera Design

Image Formation and Capture. Acknowledgment: some figures by B. Curless, E. Hecht, W.J. Smith, B.K.P. Horn, and A. Theuwissen

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

CS 428: Fall Introduction to. Image formation Color and perception. Andrew Nealen, Rutgers, /8/2010 1

Chapter 25 Optical Instruments

Lecture 02 Image Formation 1

Lecture 7: Camera Models

Image Acquisition Hardware. Image Acquisition and Representation. CCD Camera. Camera. how digital images are produced

Capturing Light in man and machine

Lecture 2 Camera Models

Image Acquisition and Representation. Camera. CCD Camera. Image Acquisition Hardware

Image Acquisition and Representation

VC 16/17 TP2 Image Formation

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

Vision and Color. Brian Curless CSEP 557 Fall 2016

INTRODUCTION THIN LENSES. Introduction. given by the paraxial refraction equation derived last lecture: Thin lenses (19.1) = 1. Double-lens systems

Imaging Optics Fundamentals

The eye & corrective lenses

MEM: Intro to Robotics. Assignment 3I. Due: Wednesday 10/15 11:59 EST

Color. Phillip Otto Runge ( )

ECEN 4606, UNDERGRADUATE OPTICS LAB

VC 14/15 TP2 Image Formation

Frequencies and Color

Lecture Outline Chapter 27. Physics, 4 th Edition James S. Walker. Copyright 2010 Pearson Education, Inc.

Astronomy 80 B: Light. Lecture 9: curved mirrors, lenses, aberrations 29 April 2003 Jerry Nelson

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

Announcement A total of 5 (five) late days are allowed for projects. Office hours

Motion illusion, rotating snakes

Photographing Long Scenes with Multiviewpoint

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

Chapter 18 Optical Elements

Applied Optics. , Physics Department (Room #36-401) , ,

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

Capturing Light in man and machine

CSCE 763: Digital Image Processing

APPLICATIONS FOR TELECENTRIC LIGHTING

Announcements. Image Formation: Outline. The course. How Cameras Produce Images. Earliest Surviving Photograph. Image Formation and Cameras

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

Cameras, lenses and sensors

Homogeneous Representation Representation of points & vectors. Properties. Homogeneous Transformations

Transcription:

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 of Light Light source properties Sensor characteristics Exposure Optics Surface shape Surface reflectance properties

Image formation Let's design a camera. Is this going to work? object film

Pinhole Camera object barrier film Add a barrier to block off most of the rays This reduces blurring The opening known as the aperture

Pinhole Camera f f c f = focal length c = camera center

Dimensionality Reduction 3D to 2D 3D world Pointofobservation 2D image

Projection Illusion

Projection Illusion

Projective Geometry Lost Properties Length (size) Angles Shape Invariant Properties Straight Lines

Projective Geometry Angles-Shape

Projective Geometry Length-Size

Projective Geometry Straight Lines

Projection Properties Many-to-one: any point along the same ray map to the same point in the image. Points Points Lines Lines Line through the camera center projects to a point. Planes Planes Plane through the camera center projects to a line.

Vanishing Points Parallel lines in the world intersect in the image at a vanishing point Vanishing Point

Vanishing Lines Planes in the world form the vanishing line in the image. Vanishing Line

Vanishing Lines camera center plane in the scene Horizon: vanishing line of the ground plane.

Homogeneous Coordinates Converting to homogeneous coordinates homogeneous image coordinates homogeneous scene coordinates Converting from homogeneous coordinates

Projection 3D World Coordinates to 2D Image Coordinates [] u p= v Y Y c Z o v f Z c: Camera center o: Optical center (0,0) i: Image plane X i Intrinsic Assumptions Unit aspect ratio Optical center at (0,0) Extrinsic Assumptions No rotation Camera at (0,0,0) ][ ] X Projection u f 0 0 0 Y w v =0 f 0 0 Matrix: Z 1 0 0 1 0 1 [][ [] X P= Y Z

Projection Matrix [] u p= v Y Y c Z o v f Z X i c: Camera center o: Optical center (u0,v0) i: Image plane [] X P= Y Z If the position of the optical center is at (u 0,v0): K:intrinsic matrix [][ f 0 u0 u w v = 0 f v0 1 0 0 1 ][ ] X 0 Y 0 Z 0 1 x=k [ I 0 ] X Rotation (R), Translation (t) x=k [ R t ] X

Field of View

Field of View Y c φ Z d o f X i 1 ϕ=tan (d /2f )

Lenses focal point f A lens focuses light onto the film.

Lens Focus circle of confusion There is a specific distance at which objects are in focus.

Lens Focus Depth of Field

Depth of Field and Aperture Changing the aperture size affects depth of field A smaller aperture increases the range in which the object is approximately in focus But small aperture reduces amount of light need to increase exposure

Lens flaws: Spherical aberration Rays farther from the optical axis focus closer.

Lens flaws: Vingetting

Radial Distortion Caused by imperfect lenses Deviations are most noticeable on the edges. No distortion Pin cushion Barrel

Real Lenses

Color

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, 1908

Physics of Light A source of light can be described physically by its spectrum: the amount of energy emitted at each wavelength (~400-700nm).

Color Perception by Humans Photoreceptor cells: Rods and cones on the retina. Rods provide black and white vision. Cones provide color vision. 3 kind of cones.

Color Perception by Humans Rods and cones act as filters on the spectrum:to get the output of a filter, multiply its response curve by the spectrum, integrate over all wavelengths

RGB Color Space Additive color model. Each pixel is characterized by a value for each of the three components: (vr,vg,vb). Examples: Black: (0,0,0) Gray: (v,v,v) White: (vmax,vmax,vmax)

Uses of Color in Computer Vision Skin Detection

Uses of Color in Computer Vision Image Segmentation and Retrieval

Digital Camera

Digital Image - Binary

Digital Image - Grayscale

Digital Image - Color

Digitization Digital camera, scanner. Quality depends on: Spatial Sampling (image resolution, number of pixels). Depth (number of intensity values).

Digitization Spatial Sampling Initial image Sampling points Coarse sampling Dense sampling

Sampling Interval Look at the fence: Sampling interval White image! Grey image! 100 100 100 100 100 100 40 40 40 40 40 40 100 100 100 100 100 100 40 40 40 40 40 40 100 100 100 100 100 100 40 40 40 40 40 40 100 100 100 100 100 100 40 40 40 40 40 40

Sampling Interval Look at the fence: Sampling interval 40 100 40 100 40 40 100 40 100 40 40 100 40 100 40 40 100 40 100 40 Now the fence is visible!

Sampling Theorem If the width of the thinest structure is d, then the sampling interval should be smaller than d/2.

Image Quantization Determines the value of each sample. Mapping between analog continuous values and K digital quantized values. K-1 Quantization Level 3 2 1 0 0 Signal Value M

Selection of K Gray Scale Image Analog image K=2 K=4 K=16 K=32

Selection of K - Color Image Analog Image K=2 (for each color) K=4 (for each color)

Loss during Quantization

Loss during Spatial Sampling

Image Histogram H H(i) is the number of image pixels that have the value i. 8 Pixel Count 7 6 5 For a MxN image: I max 4 3 H (i) MN 2 1 0 0 1 2 3 4 5 Gray Value 6 7 i I min

Histogram Examples 1241 0 256 1693 0 256

? Questions?