Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave...

55
Imagery Imagery CS 110 CS 110 Fall 2005 Fall 2005

Transcript of Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave...

Page 1: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

ImageryImagery

CS 110CS 110

Fall 2005Fall 2005

Page 2: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Image Technology Always Image Technology Always ChangingChanging

Paint / pencilPaint / pencil• Cave drawingsCave drawings• Perspective renditionsPerspective renditions• ImpressionismImpressionism

OpticsOptics• Photographs Photographs • Photo volumes that shift lighting, time, Photo volumes that shift lighting, time,

and spaceand space

Page 3: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Early Imagery: In the Mind’s Early Imagery: In the Mind’s EyeEye

Page 4: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Improving Improving ImageryImagery

Equations dictateEquations dictateimage image

Mastering PerspectiveMastering PerspectiveLorenzetti (1342)Lorenzetti (1342)

Page 5: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Rules for a New EraRules for a New Era

PhotorealismPhotorealism

Perspective, therefore, should be Perspective, therefore, should be preferred above all man’s discourses preferred above all man’s discourses and disciplines. and disciplines. (Da Vinci, 1400)(Da Vinci, 1400)

Page 6: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Image Generation TechnologyImage Generation Technology

Camera ObscuraCamera Obscura• 1515thth Century Century

Page 7: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Camera’s Inhibit Art?Camera’s Inhibit Art?

There are some who… trace outlines on a There are some who… trace outlines on a surface of a transparent medium.surface of a transparent medium.

Such an invention is to be condemned in Such an invention is to be condemned in those who do not know how to portray those who do not know how to portray things without it, nor how to reason about things without it, nor how to reason about nature with their mind.nature with their mind.

They are always poor and mean in every They are always poor and mean in every invention and in the invention and in the composition of composition of narrativesnarratives, which is the final aim of this , which is the final aim of this science.science.

(Da Vinci)

Page 8: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Can a Camera do This?Can a Camera do This?

Artistic controlArtistic controlof vanishingof vanishingpointpoint

(Da Vinci, 1498)

Page 9: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Can a Camera do This?Can a Camera do This?

Yes!Yes!

We’ll discussWe’ll discussexciting newexciting newtechnologiestechnologies

(Da Vinci, 1498)

Page 10: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Photographs vs. MomentsPhotographs vs. Moments PhotographPhotograph: an (almost : an (almost objectiveobjective) )

representation of a point in time and representation of a point in time and spacespace

MomentMoment: a visual representation of the : a visual representation of the subjectivesubjective reality at some time and place reality at some time and place

From M. Cohen, Microsoft Researchhttp://research.microsoft.com/~cohen/TheMoment.pdfhttp://research.microsoft.com/~cohen/FindingMagicInAnImageStack.pdf

Page 11: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Photographs vs. MomentsPhotographs vs. Moments

Artists capture moments so wellArtists capture moments so well

Page 12: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Photographs vs. MomentsPhotographs vs. Moments

With introduction of cameras, art With introduction of cameras, art became more abstract (to became more abstract (to compensate)compensate)

Have cameras lost the moment?Have cameras lost the moment? Can we recapture it?Can we recapture it?

Page 13: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Some InspirationSome Inspiration

The old days: 35mm film, $0.30 / picThe old days: 35mm film, $0.30 / pic Now: DigitalNow: Digital

• Disk storage = $1 / GigabyteDisk storage = $1 / Gigabyte• DVD = $0.50 / GigabyteDVD = $0.50 / Gigabyte• Images =~ 1 MbyteImages =~ 1 Mbyte

• 1 picture < $0.001 =~ free1 picture < $0.001 =~ free

From M. CohenMicrosoft Research

Page 14: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

PhotosPhotos

Our roots: Edison’s 35mm film (1889)Our roots: Edison’s 35mm film (1889)

• Chemical coatingChemical coatingreacts to lightreacts to light

• Specific chemicalsSpecific chemicalsreact to uniquereact to uniquewavelengthswavelengths

Analog recording of visible wavelengths and intensities (continuous data)

Page 15: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

ImagesImages

An image is a 2D function An image is a 2D function II(x, y) that (x, y) that specifies intensity for each point (x, specifies intensity for each point (x, y)y)

From L. McMillanMIT Comp. Graphics

Page 16: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Analog to DigitalAnalog to Digital

Our goal is to convert the continuous Our goal is to convert the continuous image to a discrete set of samplesimage to a discrete set of samples

Page 17: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Point Sampling an ImagePoint Sampling an Image

Simplest sampling is on a gridSimplest sampling is on a grid Sample dependsSample depends

solely on valuesolely on valueat grid pointsat grid points

Page 18: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Point SamplingPoint Sampling

Multiply sample grid by image Multiply sample grid by image intensity to obtain a discrete set of intensity to obtain a discrete set of points, or points, or samples.samples.

Page 19: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

A to D, 2-D ExampleA to D, 2-D Example

Analog to digital conversionAnalog to digital conversion

location on image slice

inte

nsi

ty

Analog Signal

image slice

Page 20: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

A to D, 2-D ExampleA to D, 2-D Example

Analog to digital conversionAnalog to digital conversion

location on image slice

inte

nsi

ty

Analog Signal

image slice

location on image slice

inte

nsi

ty

samples

Digital Signal

From Computer Graphics: Principles and Practice

Page 21: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Sensor ArraysSensor Arrays

Capturing “samples” of lightCapturing “samples” of light

Page 22: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Sensor ArraysSensor Arrays

Storing amount of light contacting Storing amount of light contacting squares on a surfacesquares on a surface• Each square tuned toEach square tuned to

sense red, green, or bluesense red, green, or blue• More green squares thanMore green squares than

othersothers• Humans see green bestHumans see green best

(lots of tigers in the grass)(lots of tigers in the grass)

Page 23: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Human PerceptionHuman Perception

We see these colors (mostly green)We see these colors (mostly green)

Page 24: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Sensor ArraysSensor Arrays

Very smallVery small Lenses focus lightLenses focus light Light generates Light generates

electricity that is electricity that is sensed by a silicon sensed by a silicon chipchip

Page 25: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Sensor ArraysSensor Arrays

Pixel: each square in sensor arraysPixel: each square in sensor arrays Resolution: number of pixelsResolution: number of pixels Color depth: number of bits that Color depth: number of bits that

describe the “reading” at each pixeldescribe the “reading” at each pixel

Page 26: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Sensor ArraysSensor Arrays

Aliasing: a common problem when Aliasing: a common problem when discretizing analog datadiscretizing analog data

Moire Pattern

Page 27: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Sensor ArraysSensor Arrays

Noise: at low light, small errors in Noise: at low light, small errors in pixel “readings” are very apparentpixel “readings” are very apparent• Human perception is more sensitive to Human perception is more sensitive to

small errors at low intensitiessmall errors at low intensities

Digital cameras have more trouble Digital cameras have more trouble than film cameras in low lightthan film cameras in low light

Page 28: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

CompressionCompression

Light intensity at all sensors can be Light intensity at all sensors can be recordedrecorded• Large: RAW and TIFF file formatsLarge: RAW and TIFF file formats

Small, local intensity variations can Small, local intensity variations can be lumped togetherbe lumped together• JPEG (most common of digital cameras)JPEG (most common of digital cameras)• GIF (common web format)GIF (common web format)

Page 29: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Digital to AnalogDigital to Analog

Page 30: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

New Display TechnologiesNew Display Technologies

Display WallsDisplay Walls• PrincetonPrinceton• StanfordStanford• UVa – Greg UVa – Greg

HumphreysHumphreys

Page 31: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Interesting Display Interesting Display TechnologiesTechnologies

Wood chips Chrome spheresWood chips Chrome spheres

Daniel Rozin – NYU: (movies) http://fargo.itp.tsoa.nyu.edu/~danny/art.html

Page 32: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Human PerceptionHuman Perception

A monitor can display these colorsA monitor can display these colors• Note how limitingNote how limiting

they arethey are

Page 33: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Human PerceptionHuman Perception A photograph is a poor A photograph is a poor

model of realistic lighting model of realistic lighting conditionsconditions• Cannot convey shadows Cannot convey shadows

and bright spots of real and bright spots of real scenesscenes

• Artists use optical illusions Artists use optical illusions to fool us into sensing to fool us into sensing lighting conditionslighting conditions

Photographers have Photographers have limited abilities to limited abilities to replicate artistic featuresreplicate artistic features

Jack Tumblin, SIGGRAPH ‘99

Page 34: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Creating MomentsCreating Moments

Automatically capitalizing on artistic Automatically capitalizing on artistic techniques to emphasize photostechniques to emphasize photos

Creating interactive photo Creating interactive photo techniquestechniques

Page 35: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Modern TechnologyModern TechnologyStanford

Page 36: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

New ResultsNew Results

Ng – Stanfordhttp://graphics.stanford.edu/papers/lfcamera/

Page 37: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

New ResultsNew Results

Ng - Stanford

Page 38: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

New ResultsNew Results

http://graphics.stanford.edu/papers/http://graphics.stanford.edu/papers/lfcamera/lfcamera.wmvlfcamera/lfcamera.wmv

Page 39: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Modern TechnologyModern Technology

Mitsubishi Electric Research Labs

Page 40: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

New ResultsNew Results

Artist Rendition

MERL Cam

Shadows indicate edgesShadows indicate edges

Page 41: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

New ResultsNew Results

Page 42: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

New ResultsNew Results

http://www.merl.com/people/raskar/http://www.merl.com/people/raskar/NprCamera/nprMovie320short2.aviNprCamera/nprMovie320short2.avi

Page 43: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

New ResultsNew Results

Multi-ExposureMulti-Exposure

Durand - MIT

Page 44: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

New ResultsNew Results

M. CohenMicrosoft Research

Page 45: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

New ResultsNew Results

Automatic PanoramasAutomatic Panoramas

M. CohenMicrosoft Research

Page 46: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Modern TechnologyModern Technology

10 Mpixel Sensor10 Mpixel Sensor 200 fps200 fps Buffers 5 seconds of captureBuffers 5 seconds of capture

• 10 Gigapixel circular buffer10 Gigapixel circular buffer• Continuously “on” Continuously “on”

M. CohenMicrosoft Research

Page 47: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.
Page 48: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.
Page 49: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.
Page 50: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.
Page 51: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.
Page 52: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.
Page 53: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

Merge Multiple ShotsMerge Multiple Shots

Page 54: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

New Display TechnologiesNew Display Technologies

Light StageLight Stage

Page 55: Imagery CS 110 Fall 2005. Image Technology Always Changing Paint / pencil Paint / pencil Cave drawingsCave drawings Perspective renditionsPerspective.

New Display TechnologiesNew Display Technologies

http://gl.ict.usc.edu/research/LS5/http://gl.ict.usc.edu/research/LS5/LS5_Siggraph_052005.aviLS5_Siggraph_052005.avi