Lecture 24: Segmentation CS6670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science.

Slides:



Advertisements
Similar presentations
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #12.
Advertisements

Lecture 35: Photometric stereo CS4670 / 5670 : Computer Vision Noah Snavely.
Fast Separation of Direct and Global Images Using High Frequency Illumination Shree K. Nayar Gurunandan G. Krishnan Columbia University SIGGRAPH Conference.
Procam and Campro Shree K. Nayar Computer Science Columbia University Support: NSF, ONR Procams 2006 PROCAMS Shree K. Nayar,
--- some recent progress Bo Fu University of Kentucky.
I Images as graphs Fully-connected graph – node for every pixel – link between every pair of pixels, p,q – similarity w ij for each link j w ij c Source:
Computational Photography, Fall 2013
GrabCut Interactive Image (and Stereo) Segmentation Carsten Rother Vladimir Kolmogorov Andrew Blake Antonio Criminisi Geoffrey Cross [based on Siggraph.
GrabCut Interactive Foreground Extraction using Iterated Graph Cuts Carsten Rother Vladimir Kolmogorov Andrew Blake Microsoft Research Cambridge-UK.
A Gimp Plugin that uses “GrabCut” to perform image segmentation
Graph-Based Image Segmentation
GrabCut Interactive Image (and Stereo) Segmentation Joon Jae Lee Keimyung University Welcome. I will present Grabcut – an Interactive tool for foreground.
Fitting a transformation: feature-based alignment
Active Contours (SNAKES) Back to boundary detection –This time using perceptual grouping. This is non-parametric –We’re not looking for a contour of a.
Illumination Model How to compute color to represent a scene As in taking a photo in real life: – Camera – Lighting – Object Geometry Material Illumination.
Lecture 6 Image Segmentation
Image segmentation. The goals of segmentation Group together similar-looking pixels for efficiency of further processing “Bottom-up” process Unsupervised.
Matting and Transparency : Computational Photography Alexei Efros, CMU, Fall 2007.
Segmentation. Terminology Segmentation, grouping, perceptual organization: gathering features that belong together Fitting: associating a model with observed.
Segmentation CSE P 576 Larry Zitnick Many slides courtesy of Steve Seitz.
Announcements Project 2 more signup slots questions Picture taking at end of class.
Today: Image Segmentation Image Segmentation Techniques Snakes Scissors Graph Cuts Mean Shift Wednesday (2/28) Texture analysis and synthesis Multiple.
From Pixels to “Blobs” : Rendering and Image Processing Alexei Efros.
Image Segmentation Today’s Readings Intelligent Scissors, Mortensen et. al, SIGGRAPH 1995Intelligent Scissors From Sandlot ScienceSandlot Science.
Announcements Final project presentations on Wednesday Each group has 10 minutes Place.ppt talk in artifact directory Final reports due on Friday at 11:59pm.
Lecture 10: Stereo and Graph Cuts
Basic Principles of Surface Reflectance Lecture #3 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Lecture 18: Context and segmentation CS6670: Computer Vision Noah Snavely.
Image Segmentation Today’s Readings Forsyth & Ponce, Chapter 14
Announcements Mailing list: –you should have received messages Office hours onlineonline –start next week.
Perceptual Organization: Segmentation and Optical Flow.
Segmentation and Clustering Today’s Readings Forsyth & Ponce, Chapter 7 (plus lots of optional references in the slides) From Sandlot ScienceSandlot Science.
Announcements vote for Project 3 artifacts Project 4 (due next Wed night) Questions? Late day policy: everything must be turned in by next Friday.
Announcements Project 3 questions Photos after class.
Light and shading Source: A. Efros.
Computer Vision Spring ,-685 Instructor: S. Narasimhan PH A18B T-R 10:30am – 11:50am Lecture #13.
Graph-based Segmentation
MRFs and Segmentation with Graph Cuts Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/24/10.
EE 492 ENGINEERING PROJECT LIP TRACKING Yusuf Ziya Işık & Ashat Turlibayev Yusuf Ziya Işık & Ashat Turlibayev Advisor: Prof. Dr. Bülent Sankur Advisor:
Lecture 2: Edge detection CS4670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science.
Lecture 4: Image Resampling and Reconstruction CS4670: Computer Vision Kavita Bala.
Lec 22: Stereo CS4670 / 5670: Computer Vision Kavita Bala.
Interreflections : The Inverse Problem Lecture #12 Thanks to Shree Nayar, Seitz et al, Levoy et al, David Kriegman.
Announcements Office hours today 2:30-3:30 Graded midterms will be returned at the end of the class.
Brent M. Dingle, Ph.D Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin - Stout Edge Detection:
1Ellen L. Walker 3D Vision Why? The world is 3D Not all useful information is readily available in 2D Why so hard? “Inverse problem”: one image = many.
CS654: Digital Image Analysis Lecture 28: Advanced topics in Image Segmentation Image courtesy: IEEE, IJCV.
Matting and Transparency : Computational Photography Alexei Efros, CMU, Spring 2010.
Lecture 30: Segmentation CS4670 / 5670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science.
Cutting Images: Graphs and Boundary Finding Computational Photography Derek Hoiem, University of Illinois 09/20/12 “The Double Secret”, Magritte.
Course Introduction to Medical Imaging Segmentation 1 – Mean Shift and Graph-Cuts Guy Gilboa.
MAN-522 Computer Vision Spring
Image Segmentation Today’s Readings Szesliski Chapter 5
Announcements CS accounts Project 1 is out today
GrabCut Interactive Foreground Extraction using Iterated Graph Cuts Carsten Rother Vladimir Kolmogorov Andrew Blake Microsoft Research Cambridge-UK.
CS4670/5670: Image Scissors Noah Snavely Today’s Readings
Matting, Transparency, and Illumination
Announcements Reader is in the BOOK STORE (not Comm Bldg.)
Lecture 31: Graph-Based Image Segmentation
Announcements Photos right now Project 3 questions
Digital Image Processing
Seam Carving Project 1a due at midnight tonight.
Image Segmentation CS 678 Spring 2018.
Segmentation (continued)
Announcements Project 4 questions Evaluations.
Announcements Project 1 is out today
Camera Culture Camera Culture Ramesh Raskar Ramesh Raskar
Announcements Project 4 out today (due Wed March 10)
Announcements Project 1 is out today help session at the end of class.
“Traditional” image segmentation
Presentation transcript:

Lecture 24: Segmentation CS6670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science

Announcements Final project presentations – Wednesday, December 16 th, 2-4:45pm, Upson 315 – Volunteers to present on Tuesday the 15 th ? Final quiz this Thursday

Deblurring Application: Hubble Space Telescope Launched with flawed mirror Initially used deconvolution to correct images before corrective optics installed Image of star

Fast Separation of Direct and Global Images Using High Frequency Illumination Shree K. Nayar Gurunandan G. Krishnan Columbia University SIGGRAPH 2006 Michael D. Grossberg City College of New York Ramesh Raskar MERL

source surface P Direct and Global Illumination A A : Direct B B : Interrelection C C : Subsurface D participating medium D : Volumetric translucent surface E E : Diffusion camera

direct global radiance Direct and Global Components: Interreflections surface i camera source j BRDF and geometry

High Frequency Illumination Pattern surface camera source fraction of activated source elements + i

High Frequency Illumination Pattern surface fraction of activated source elements camera source + - i

Separation from Two Images directglobal

Other Global Effects: Subsurface Scattering translucent surface camera source i j

Other Global Effects: Volumetric Scattering surface camera source participating medium i j

Diffuse Interreflections Specular Interreflections Volumetric Scattering Subsurface Scattering Diffusion

Scene

DirectGlobal

Real World Examples:

Eggs: Diffuse Interreflections DirectGlobal

Wooden Blocks: Specular Interreflections DirectGlobal

Kitchen Sink: Volumetric Scattering Volumetric Scattering: Chandrasekar 50, Ishimaru 78 DirectGlobal

Peppers: Subsurface Scattering DirectGlobal

Hand DirectGlobal Skin: Hanrahan and Krueger 93, Uchida 96, Haro 01, Jensen et al. 01, Cula and Dana 02, Igarashi et al. 05, Weyrich et al. 05

Face: Without and With Makeup GlobalDirect GlobalDirect Without Makeup With Makeup

Blonde Hair Hair Scattering: Stamm et al. 77, Bustard and Smith 91, Lu et al. 00 Marschner et al. 03 DirectGlobal

Photometric Stereo using Direct Images Bowl Shape Source 1 Source 2 Source 3 Direct Global Nayar et al., 1991

Questions?

From images to objects What defines an object? Subjective problem, but has been well-studied Gestalt Laws seek to formalize this –proximity, similarity, continuation, closure, common fate –see notes by Steve Joordens, U. Torontonotes

Extracting objects How could we do this automatically (or at least semi-automatically)?

The Gestalt school Grouping is key to visual perception Elements in a collection can have properties that result from relationships “The whole is greater than the sum of its parts” subjective contours occlusion familiar configuration Slide from S.Lazebnik

The ultimate Gestalt? Slide from S.Lazebnik

Gestalt factors These factors make intuitive sense, but are very difficult to translate into algorithms Slide from S.Lazebnik

Semi-automatic binary segmentation

Intelligent Scissors (demo)

Intelligent Scissors [Mortensen 95] Approach answers a basic question – Q: how to find a path from seed to mouse that follows object boundary as closely as possible?

GrabCut Grabcut [Rother et al., SIGGRAPH 2004]Rother et al., SIGGRAPH 2004

Is user-input required? Our visual system is proof that automatic methods are possible classical image segmentation methods are automatic Argument for user-directed methods? only user knows desired scale/object of interest

q Automatic graph cut [Shi & Malik] Fully-connected graph node for every pixel link between every pair of pixels, p,q cost c pq for each link –c pq measures similarity »similarity is inversely proportional to difference in color and position p C pq c

Segmentation by Graph Cuts Break Graph into Segments Delete links that cross between segments Easiest to break links that have low cost (similarity) –similar pixels should be in the same segments –dissimilar pixels should be in different segments w ABC

Cuts in a graph Link Cut set of links whose removal makes a graph disconnected cost of a cut: A B Find minimum cut gives you a segmentation

But min cut is not always the best cut...

Cuts in a graph A B Normalized Cut a cut penalizes large segments fix by normalizing for size of segments volume(A) = sum of costs of all edges that touch A

Interpretation as a Dynamical System Treat the links as springs and shake the system elasticity proportional to cost vibration “modes” correspond to segments –can compute these by solving an eigenvector problem –

Interpretation as a Dynamical System Treat the links as springs and shake the system elasticity proportional to cost vibration “modes” correspond to segments –can compute these by solving an eigenvector problem –

Color Image Segmentation

Extension to Soft Segmentation Each pixel is convex combination of segments. Levin et al Levin et al compute mattes by solving eigenvector problem