Recap from Wednesday Spectra and Color Light capture in cameras and humans.

Slides:



Advertisements
Similar presentations
Motion illusion, rotating snakes. Slide credit Fei Fei Li.
Advertisements

15-463: Computational Photography Alexei Efros, CMU, Spring 2010 Most slides from Steve Marschner Sampling and Reconstruction.
Ted Adelson’s checkerboard illusion. Motion illusion, rotating snakes.
Computational Photography: Sampling + Reconstruction Connelly Barnes Slides from Alexei Efros and Steve Marschner.
Computational Photography CSE 590 Tamara Berg Filtering & Pyramids.
Lecture 4 Linear Filters and Convolution
First color film Captured by Edward Raymond Turner Predates Prokudin-Gorskii collection Like Prokudin-Gorskii, it was an additive 3-color system.
1 Image filtering Hybrid Images, Oliva et al.,
Convolution, Edge Detection, Sampling : Computational Photography Alexei Efros, CMU, Fall 2006 Some slides from Steve Seitz.
Recap from Monday Spectra and Color Light capture in cameras and humans.
Lecture 1: Images and image filtering
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
Linear filtering. Overview: Linear filtering Linear filters Definition and properties Examples Gaussian smoothing Separability Applications Denoising.
1 Image Filtering Slides by Steve Seitz. 2 Salvador Dali, “Gala Contemplating the Mediterranean Sea, which at 30 meters becomes the portrait of Abraham.
1 Linear image transforms Let’s start with a 1-D image (a “signal”): A very general and useful class of transforms are the linear transforms of f, defined.
Announcements Kevin Matzen office hours – Tuesday 4-5pm, Thursday 2-3pm, Upson 317 TA: Yin Lou Course lab: Upson 317 – Card access will be setup soon Course.
15-463: Computational Photography Alexei Efros, CMU, Fall 2011 Many slides from Steve Marschner Sampling and Reconstruction.
1 Image filtering Images by Pawan SinhaPawan Sinha.
1 Image filtering
Convolution and Edge Detection : Computational Photography Alexei Efros, CMU, Fall 2005 Some slides from Steve Seitz.
1 Images and Transformations Images by Pawan SinhaPawan Sinha.
Linear filtering.
1 Image filtering Hybrid Images, Oliva et al.,
Slides from Alexei Efros, Steve Marschner Filters & fourier theory.
Linear Filtering About modifying pixels based on neighborhood. Local methods simplest. Linear means linear combination of neighbors. Linear methods simplest.
1 Image Filtering Slides by Steve Seitz. 2 Salvador Dali, “Gala Contemplating the Mediterranean Sea, which at 30 meters becomes the portrait of Abraham.
Most slides from Steve Seitz
Applications of Image Filters Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/04/10.
Lecture 03 Area Based Image Processing Lecture 03 Area Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
Linear Filters Monday, Jan 24 Prof. Kristen Grauman UT-Austin …
Linear Filters August 27 th 2015 Devi Parikh Virginia Tech 1 Slide credit: Devi Parikh Disclaimer: Many slides have been borrowed from Kristen Grauman,
Image Filtering Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/02/10.
Why is computer vision difficult?
Linear filtering. Motivation: Noise reduction Given a camera and a still scene, how can you reduce noise? Take lots of images and average them! What’s.
CSE 473/573 Computer Vision and Image Processing (CVIP) Ifeoma Nwogu Lecture 7 – Linear Filters 1.
CS 691B Computational Photography
Pixels and Image Filtering Computational Photography Derek Hoiem 08/26/10 Graphic:
Lecture 3: Filtering and Edge detection
Reconnaissance d’objets et vision artificielle
Linear filtering. Motivation: Image denoising How can we reduce noise in a photograph?
Cornell CS465 Fall 2004 Lecture 5© 2004 Steve Marschner 1 Sampling and reconstruction CS 465 Lecture 5.
Last Lecture photomatix.com. Today Image Processing: from basic concepts to latest techniques Filtering Edge detection Re-sampling and aliasing Image.
CSE 185 Introduction to Computer Vision Image Filtering: Spatial Domain.
Grauman Today: Image Filters Smooth/Sharpen Images... Find edges... Find waldo…
Lecture 1: Images and image filtering CS4670/5670: Intro to Computer Vision Noah Snavely Hybrid Images, Oliva et al.,
CS 4501: Introduction to Computer Vision Filtering and Edge Detection
Program Studi S-1 Teknik Informatika FMIPA Universitas Padjadjaran
Correlation and Convolution They replace the value of an image pixel with a combination of its neighbors Basic operations in images Shift Invariant Linear.
Slow mo guys – Saccades
Sampling and reconstruction
Linear Filters T-11 Computer Vision University of Houston
Linear Filters April 6th, 2017
Lecture 1: Images and image filtering
Image filtering Hybrid Images, Oliva et al.,
Image filtering Images by Pawan Sinha.
Sampling and Reconstruction
Image filtering Images by Pawan Sinha.
Image Processing Today’s readings For Monday
Image filtering Images by Pawan Sinha.
Motion illusion, rotating snakes
Linear filtering.
Most slides from Steve Seitz
Image filtering Images by Pawan Sinha.
Linear Filtering CS 678 Spring 2018.
Image filtering
Image filtering
Lecture 1: Images and image filtering
Intensity Transformation
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Most slides from Steve Seitz
Presentation transcript:

Recap from Wednesday Spectra and Color Light capture in cameras and humans

Ted Adelson’s checkerboard illusion

Motion illusion, rotating snakes

Sampling and Reconstruction Most slides from James Hays, Alexei Efros and Steve Marschner

Sampling and Reconstruction

Sampled representations How to store and compute with continuous functions? Common scheme for representation: samples write down the function’s values at many points [FvDFH fig.14.14b / Wolberg] © 2006 Steve Marschner • 6

Reconstruction Making samples back into a continuous function for output (need realizable method) for analysis or processing (need mathematical method) amounts to “guessing” what the function did in between [FvDFH fig.14.14b / Wolberg] © 2006 Steve Marschner • 7

Aliasing in video https://www.youtube.com/watch?v=b_qJPmcNDVQ https://www.youtube.com/watch?v=CaiIZI1oe40 https://www.youtube.com/watch?v=J88lHj1aglQ Slide by Steve Seitz

Aliasing in images

What’s happening? Input signal: Plot as image: x = 0:.05:5; imagesc(sin((2.^x).*x)) Alias! Not enough samples

Local Average in 2D What are the weights H? 90 90 ones, divide by 9. Note --- this averaging can take place at different places in the optical path: Light could be a little bit blurred as it comes in. The light sensor integrates over a region, it isn’t a point sample. © 2006 Steve Marschner • 11 Slide by Steve Seitz

Image filtering Let’s write this down as an equation. Assume the averaging window is (2k+1)x(2k+1): We can generalize this idea by allowing different weights for different neighboring pixels: This is called a cross-correlation operation and written: H is called the “filter,” “kernel,” or “mask.” © 2006 Steve Marschner • 12 Slide by Steve Seitz

Gaussian filtering A Gaussian kernel gives less weight to pixels further from the center of the window 90 1 2 4 Slide by Steve Seitz

Mean vs. Gaussian filtering Slide by Steve Seitz

Convolution cross-correlation: A convolution operation is a cross-correlation where the filter is flipped both horizontally and vertically before being applied to the image: It is written: Suppose H is a Gaussian or mean kernel. How does convolution differ from cross-correlation? Slide by Steve Seitz

Convolution is nice! Notation: Convolution is a multiplication-like operation commutative associative distributes over addition scalars factor out identity: unit impulse e = […, 0, 0, 1, 0, 0, …] Conceptually no distinction between filter and signal Usefulness of associativity often apply several filters one after another: (((a * b1) * b2) * b3) this is equivalent to applying one filter: a * (b1 * b2 * b3) © 2006 Steve Marschner • 16

Filter’s let you extract useful building blocks! Slide credit Fei Fei Li

Slide credit Fei Fei Li

Slide credit Fei Fei Li

Some matlab demos…

1.66 10.66 -2.6 -0.33

A gallery of filters Box filter Tent filter Gaussian filter Simple and cheap Tent filter Linear interpolation Gaussian filter Very smooth antialiasing filter B-spline cubic Very smooth © 2006 Steve Marschner • 52

Box filter © 2006 Steve Marschner • 53

© 2006 Steve Marschner • 54

© 2006 Steve Marschner • 55

© 2006 Steve Marschner • 56

Yucky details What about near the edge? the filter window falls off the edge of the image need to extrapolate methods: clip filter (black) wrap around copy edge reflect across edge vary filter near edge © 2006 Steve Marschner • 60

Median filters A Median Filter operates over a window by selecting the median intensity in the window. What advantage does a median filter have over a mean filter? Is a median filter a kind of convolution? Better at salt’n’pepper noise Not convolution: try a region with 1’s and a 2, and then 1’s and a 3 © 2006 Steve Marschner • 61 Slide by Steve Seitz

Comparison: salt and pepper noise © 2006 Steve Marschner • 62 Slide by Steve Seitz

© 2006 Steve Marschner • 63

© 2006 Steve Marschner • 64

© 2006 Steve Marschner • 65

© 2006 Steve Marschner • 66

© 2006 Steve Marschner • 67

© 2006 Steve Marschner • 68