Cameras. Shrinking the aperture. Camera trial #1. Pinhole camera. Digital Visual Effects Yung-Yu Chuang. Put a piece of film in front of an object.

Similar documents
Cameras. Digital Visual Effects, Spring 2008 Yung-Yu Chuang 2008/2/26. with slides by Fredo Durand, Brian Curless, Steve Seitz and Alexei Efros

Cameras. Outline. Pinhole camera. Camera trial #1. Pinhole camera Film camera Digital camera Video camera

Cameras. Outline. Pinhole camera. Camera trial #1. Pinhole camera Film camera Digital camera Video camera High dynamic range imaging

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

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

6.098 Digital and Computational Photography Advanced Computational Photography. Bill Freeman Frédo Durand MIT - EECS

Computational Photography and Video. Prof. Marc Pollefeys

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

Prof. Feng Liu. Spring /05/2017

Building a Real Camera. Slides Credit: Svetlana Lazebnik

Building a Real Camera

CS6670: Computer Vision

LENSES. INEL 6088 Computer Vision

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

Cameras. CSE 455, Winter 2010 January 25, 2010

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

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

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

Unit 1: Image Formation

Cameras and Sensors. Today. Today. It receives light from all directions. BIL721: Computational Photography! Spring 2015, Lecture 2!

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

Basic principles of photography. David Capel 346B IST

CS6670: Computer Vision

Lenses, exposure, and (de)focus

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

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

Image Formation and Capture

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

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

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

Get the Shot! Photography + Instagram Workshop September 21, 2013 BlogPodium. Saturday, 21 September, 13

Image acquisition. In both cases, the digital sensing element is one of the following: Line array Area array. Single sensor

A Simple Camera Model

Focusing and Metering

Introduction to camera usage. The universal manual controls of most cameras

Mastering Y our Your Digital Camera

Wavelengths and Colors. Ankit Mohan MAS.131/531 Fall 2009

Lens Aperture. South Pasadena High School Final Exam Study Guide- 1 st Semester Photo ½. Study Guide Topics that will be on the Final Exam

How do we see the world?

Image Formation III Chapter 1 (Forsyth&Ponce) Cameras Lenses & Sensors

CAMERA BASICS. Stops of light

An Introduction to. Photographic Exposure: Aperture, ISO and Shutter Speed

Aperture, Shutter Speed and ISO

Introductory Photography

Cameras, lenses and sensors

VC 14/15 TP2 Image Formation

Image Formation: Camera Model

Lecture 9. Lecture 9. t (min)

Lecture 30: Image Sensors (Cont) Computer Graphics and Imaging UC Berkeley CS184/284A

Focusing & metering. CS 448A, Winter Marc Levoy Computer Science Department Stanford University

VC 11/12 T2 Image Formation

Digital Cameras The Imaging Capture Path

What will be on the midterm?

To do this, the lens itself had to be set to viewing mode so light passed through just as it does when making the

Lecture 22: Cameras & Lenses III. Computer Graphics and Imaging UC Berkeley CS184/284A, Spring 2017

A Digital Camera Glossary. Ashley Rodriguez, Charlie Serrano, Luis Martinez, Anderson Guatemala PERIOD 6

Topic 9 - Sensors Within

Aperture and Digi scoping. Thoughts on the value of the aperture of a scope digital camera combination.

brief history of photography foveon X3 imager technology description

Introduction to Computer Vision

aperture, shutter speed

Moving Beyond Automatic Mode

Photography Help Sheets

To start there are three key properties that you need to understand: ISO (sensitivity)

CSE 527: Introduction to Computer Vision

Objective: to give you some understanding of why you might push more than just the big shiny silver button...

Single-view Metrology and Cameras

Exposure settings & Lens choices

Film Cameras Digital SLR Cameras Point and Shoot Bridge Compact Mirror less

Computer Vision. The Pinhole Camera Model

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

Chapter 18 Optical Elements

Dr F. Cuzzolin 1. September 29, 2015

All About Aperture by Barry Baker

Aperture & ƒ/stop Worksheet

Astronomical Cameras

Introduction to Digital Photography

A CAMERA IS A LIGHT TIGHT BOX

How This Works: Aperture size is counted in f- stops. i.e. those little numbers engraved on the lens barrel like:

Chapter 11-Shooting Action

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

Working with your Camera

Basic Camera Concepts. How to properly utilize your camera

Capturing Light in man and machine

Wave or particle? Light has. Wavelength Frequency Velocity

Digital camera. Sensor. Memory card. Circuit board

Camera Image Processing Pipeline

6.A44 Computational Photography

VC 16/17 TP2 Image Formation

Improved sensitivity high-definition interline CCD using the KODAK TRUESENSE Color Filter Pattern

Introduction to Digital Photography

Cameras As Computing Systems

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

Physics 1230 Homework 8 Due Friday June 24, 2016

Digital Camera Sensors

A BEGINNER S GUIDE TO PHOTOGRAPHY CHEATSHEET

TRUESENSE SPARSE COLOR FILTER PATTERN OVERVIEW SEPTEMBER 30, 2013 APPLICATION NOTE REVISION 1.0

Chapter 25 Optical Instruments

Image Formation. Dr. Gerhard Roth. COMP 4102A Winter 2014 Version 1

Lecture 7: Camera Models

Transcription:

Camera trial #1 Cameras Digital Visual Effects Yung-Yu Chuang scene film with slides by Fredo Durand, Brian Curless, Steve Seitz and Alexei Efros Put a piece of film in front of an object. Pinhole camera Shrinking the aperture pinhole camera scene barrier film Add a barrier to block off most of the rays. It reduces blurring The pinhole is known as the aperture The image is inverted Why not making the aperture as small as possible? Less light gets through Diffraction effect

Shrinking the aperture High-end commercial pinhole cameras $200~$700 Adding a lens Lenses scene lens film Thin lens equation:

Thin lens formula Similar triangles everywhere! D D f y y /y = D /D y Thin lens formula Similar triangles everywhere! D D f y y /y = D /D y /y = (D -f)/f y Frédo Durand s slide Frédo Durand s slide Thin lens formula 1 + 1 = 1 D D f D f D The focal length f determines the lens s ability to bend (refract) light. It is a function of the shape and index of refraction of the lens. Frédo Durand s slide Adding a lens scene lens A lens focuses light onto the film film circle of confusion There is a specific distance at which objects are in focus other points project to a circle of confusion in the image Thin lens applet: http://www.phy.ntnu.edu.tw/java/lens/lens_e.html

Zoom lens 200mm Field of view vs focal length i o Scene w α 28mm Sensor f Gaussian Lens Formula: 1 1 i o 1 f Field of View: α = 2arctan(w/(2i)) 2arctan(w/(2f)) Nikon 28-200mm zoom lens. simplified zoom lens in operation From wikipedia Example: w = 30mm, f = 50mm => α 33.4º Slides from Li Zhang Focal length in practice Distortion 24mm 50mm No distortion Pin cushion Barrel 135mm Radial distortion of the image Caused by imperfect lenses Deviations are most noticeable for rays that pass through the edge of the lens

Correcting radial distortion Vignetting Vignetting L3 L 2 L 1 B A more light from A than B! from Helmut Dersch Slides from Li Zhang Vignetting Chromatic Aberration Vignetting L3 L 2 L 1 B A Lens has different refractive indices for different wavelengths. more light from A than B! http://www.dpreview.com/learn/?/glossary/optical/chromatic_aberration_0 1.htm original corrected Goldman & Chen ICCV 2005 Slides from Li Zhang Special lens systems using two or more pieces of glass with different refractive indexes can reduce or eliminate this problem. Slides from Li Zhang

Exposure = aperture + shutter speed Exposure Two main parameters: Aperture (in f stop) F Shutter speed (in fraction of a second) Aperture of diameter D restricts the range of rays (aperture may be on either side of the lens) Shutter speed is the amount of time that light is allowed to pass through the aperture Effects of shutter speeds Slower shutter speed => more light, but more motion blur Faster shutter speed freezes motion From Photography, London et al. Walking people Running people Car Fast train Aperture Aperture is the diameter of the lens opening, usually specified by f-stop, f/d, a fraction of the focal length. f/2.0 on a 50mm means that the aperture is 25mm f/2.0 on a 100mm means that the aperture is 50mm When a change in f-stop occurs, the light is either doubled or cut in half. Lower f-stop, more light (larger lens opening) Higher f-stop, less light (smaller lens opening) 1/125 1/250 1/500 1/1000

Depth of field Changing the aperture size affects depth of field. A smaller aperture increases the range in which the object is approximately in focus Depth of field Changing the aperture size affects depth of field. A smaller aperture increases the range in which the object is approximately in focus Diaphragm Diaphragm Point in focus Point in focus sensor lens Object with texture sensor lens Object with texture Depth of field Exposure Two main parameters: Aperture (in f stop) Shutter speed (in fraction of a second) Reciprocity The same exposure is obtained with an exposure twice as long and an aperture area half as big Hence square root of two progression of f stops vs. power of two progression of shutter speed Reciprocity can fail for very long exposures From Photography, London et al. From Photography, London et al.

Reciprocity Assume we know how much light we need We have the choice of an infinity of shutter speed/aperture pairs What will guide our choice of a shutter speed? Freeze motion vs. motion blur, camera shake What will guide our choice of an aperture? Depth of field, diffraction limit Often we must compromise Open more to enable faster speed (but shallow DoF) Exposure & metering The camera metering system measures how bright the scene is In Aperture priority mode, the photographer sets the aperture, the camera sets the shutter speed In Shutter-speed priority mode, photographers sets the shutter speed and the camera deduces the aperture In Program mode, the camera decides both exposure and shutter speed (middle value more or less) In Manual mode, the user decides everything (but can get feedback) Pros and cons of various modes Aperture priority Direct depth of field control Cons: can require impossible shutter speed (e.g. with f/1.4 for a bright scene) Shutter speed priority Direct motion blur control Cons: can require impossible aperture (e.g. when requesting a 1/1000 speed for a dark scene) Note that aperture is somewhat more restricted Program Almost no control, but no need for neurons Manual Full control, but takes more time and thinking From dpreview.com Sensitivity (ISO) Third variable for exposure Linear effect (200 ISO needs half the light as 100 ISO) Film photography: trade sensitivity for grain Digital photography: trade sensitivity for noise

Summary in a picture Demo See http://www.photonhead.com/simcam/ source hamburgerfotospots.de Film camera Digital camera aperture & shutter aperture & shutter scene lens & motor film scene lens & motor sensor array A digital camera replaces film with a sensor array Each cell in the array is a light-sensitive diode that converts photons to electrons

CCD v.s. CMOS CCD is less susceptible to noise (special process, higher fill factor) CMOS is more flexible, less expensive (standard process), less power consumption Sensor noise Blooming Diffusion Dark current Photon shot noise Amplifier readout noise CCD CMOS SLR (Single-Lens Reflex) Reflex (R in SLR) means that we see through the same lens used to take the image. Not the case for compact cameras SLR view finder Prism Your eye Mirror (flipped for exposure) Film/sensor Light from scene Mirror (when viewing) lens

Color Field sequential So far, we ve only talked about monochrome sensors. Color imaging has been implemented in a number of ways: Field sequential Multi-chip Color filter array X3 sensor Field sequential Field sequential

Prokudin-Gorskii (early 1900 s) Prokudin-Gorskii (early 1900 s) Lantern projector http://www.loc.gov/exhibits/empire/ Multi-chip Embedded color filters wavelength dependent Color filters can be manufactured directly onto the photodetectors.

Color filter array Why CMY CFA might be better Kodak DCS620x Color filter arrays (CFAs)/color filter mosaics CMY Color filter array Bayer s pattern Bayer pattern Color filter arrays (CFAs)/color filter mosaics

Demosaicking CFA s Demosaicking CFA s bilinear interpolation Constant hue-based interpolation (Cok) Hue: Interpolate G first original input linear interpolation Demosaicking CFA s Demosaicking CFA s Median-based interpolation (Freeman) Median-based interpolation (Freeman) 1. Linear interpolation 2. Median filter on color differences original input linear interpolation color difference (e.g. G-R) median filter (kernel size 5) Reconstruction (G=R+filtered difference)

Demosaicking CFA s Demosaicking CFA s Gradient-based interpolation (LaRoche-Prescott) 1. Interpolation on G Gradient-based interpolation (LaRoche-Prescott) 2. Interpolation of color differences Demosaicking CFA s Demosaicking CFA s bilinear Cok Freeman LaRoche Generally, Freeman s is the best, especially for natural images.

Foveon X3 sensor Color filter array light penetrates to different depths for different wavelengths multilayer CMOS sensor gets 3 different spectral sensitivities red green blue output X3 technology Foveon X3 sensor red green blue output Bayer CFA X3 sensor

Cameras with X3 Sigma SD9 vs Canon D30 Sigma SD10, SD9 Polaroid X530 Color processing White Balance After color values are recorded, more color processing usually happens: White balance Non-linearity to approximate film response or match TV monitor gamma warmer +3 automatic white balance

White Balance illumination Color constancy What color is the dress? reflectance perception Color constancy Human vision is complex

Color perception depends on surrounding Color perception depends on surrounding Autofocus Active Sonar Infrared Passive Digital camera review website A cool video of digital camera illustration http://www.dpreview.com/

Camcorder Interlacing without interlacing with interlacing Deinterlacing Deinterlacing blend weave Discard (even field only or odd filed only) Progressive scan

Hard cases Computational cameras More emerging cameras References http://www.howstuffworks.com/digital-camera.htm http://electronics.howstuffworks.com/autofocus.htm Ramanath, Snyder, Bilbro, and Sander. Demosaicking Methods for Bayer Color Arrays, Journal of Electronic Imaging, 11(3), pp306-315. Rajeev Ramanath, Wesley E. Snyder, Youngjun Yoo, Mark S. Drew, Color Image Processing Pipeline in Digital Still Cameras, IEEE Signal Processing Magazine Special Issue on Color Image Processing, vol. 22, no. 1, pp. 34-43, 2005. http://www.worldatwar.org/photos/whitebalance/ind ex.mhtml http://www.100fps.com/