Agenda Seam-carving: finish up “Mid-term review” (a look back) Main topic: Feature detection.

Slides:



Advertisements
Similar presentations
Adaptive Image and Video Retargeting Technique Based on Fourier Analysis Jun-Seong Kim, Jin-Hwan Kim, and Chang-Su Kim School of Electrical Engineering,
Advertisements

Cutting Images: Graphs and Boundary Finding Computational Photography Derek Hoiem, University of Illinois 09/15/11 “The Double Secret”, Magritte.
Improved Seam Carving for Video Retargeting Authors: Michael Rubinstein, Ariel Shamir and Shai Avidan Source: ACM Transactions on Graphics (TOG), Volume.
Introduction to Markov Random Fields and Graph Cuts Simon Prince
Stereo Vision Reading: Chapter 11
Recap from Monday Frequency domain analytical tool computational shortcut compression tool.
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:
Recap from Monday Fourier transform analytical tool computational shortcut.
電腦視覺 Computer and Robot Vision I Chapter2: Binary Machine Vision: Thresholding and Segmentation Instructor: Shih-Shinh Huang 1.
Graph-Based Image Segmentation
CS 691 Computational Photography Instructor: Gianfranco Doretto Cutting Images.
10/11/2001Random walks and spectral segmentation1 CSE 291 Fall 2001 Marina Meila and Jianbo Shi: Learning Segmentation by Random Walks/A Random Walks View.
Lecture 6 Image Segmentation
CS448f: Image Processing For Photography and Vision Graph Cuts.
Thresholding Otsu’s Thresholding Method Threshold Detection Methods Optimal Thresholding Multi-Spectral Thresholding 6.2. Edge-based.
Last Time Pinhole camera model, projection
CS 376b Introduction to Computer Vision 04 / 08 / 2008 Instructor: Michael Eckmann.
© 2003 by Davi GeigerComputer Vision October 2003 L1.1 Image Segmentation Based on the work of Shi and Malik, Carnegie Mellon and Berkley and based on.
A Study of Approaches for Object Recognition
1 Computer Vision Research  Huttenlocher, Zabih –Recognition, stereopsis, restoration, learning  Strong algorithmic focus –Combinatorial optimization.
Stereo & Iterative Graph-Cuts Alex Rav-Acha Vision Course Hebrew University.
Advanced Topics in Computer Vision Spring 2006 Video Segmentation Tal Kramer, Shai Bagon Video Segmentation April 30 th, 2006.
MRF Labeling With Graph Cut CMPUT 615 Nilanjan Ray.
The plan for today Camera matrix
資訊碩一 蔡勇儀 Date : 603.  Introduction  Basic Theory  Application & Implementation ◦ Aspect Ratio Change ◦ Retargeting with Optimal.
Stereo Computation using Iterative Graph-Cuts
Comp 775: Graph Cuts and Continuous Maximal Flows Marc Niethammer, Stephen Pizer Department of Computer Science University of North Carolina, Chapel Hill.
Lecture 11: Stereo and optical flow CS6670: Computer Vision Noah Snavely.
Graph-Cut Algorithm with Application to Computer Vision Presented by Yongsub Lim Applied Algorithm Laboratory.
Computer vision: models, learning and inference
Graphcut Texture: Image and Video Synthesis Using Graph Cuts
Image Pyramids and Blending
Cutting Images: Graphs and Boundary Finding Computational Photography Derek Hoiem, University of Illinois 09/14/10 “The Double Secret”, Magritte.
Improved Seam Carving for Video Retargeting Michael Rubinstein Mitsubishi Electric Research Lab, Cambridge Ariel Shamir The Interdisciplinary Center, Herzliya.
CS774. Markov Random Field : Theory and Application Lecture 13 Kyomin Jung KAIST Oct
Interactive Graph Cuts for Optimal Boundary & Region Segmentation of Objects in N-D Images (Fri) Young Ki Baik, Computer Vision Lab.
Stereo Vision Reading: Chapter 11 Stereo matching computes depth from two or more images Subproblems: –Calibrating camera positions. –Finding all corresponding.
Dijkstra’s Algorithm. Announcements Assignment #2 Due Tonight Exams Graded Assignment #3 Posted.
CS 1699: Intro to Computer Vision Matlab Tutorial Prof. Adriana Kovashka University of Pittsburgh September 3, 2015.
Graph Cuts Marc Niethammer. Segmentation by Graph-Cuts A way to compute solutions to the optimization problems we looked at before. Example: Binary Segmentation.
CS 4487/6587 Algorithms for Image Analysis
Image gradients and edges Tuesday, September 1 st 2015 Devi Parikh Virginia Tech Disclaimer: Many slides have been borrowed from Kristen Grauman, who may.
Kshitij Padalkar 13 th Oct Contents: In one Line… Need Solutions and Other Work Definition and Maths Energy, Seam Pixel Removal Criteria Other Energy.
Levels of Image Data Representation 4.2. Traditional Image Data Structures 4.3. Hierarchical Data Structures Chapter 4 – Data structures for.
Lecture 19: Solving the Correspondence Problem with Graph Cuts CAP 5415 Fall 2006.
Lecture 16: Stereo CS4670 / 5670: Computer Vision Noah Snavely Single image stereogram, by Niklas EenNiklas Een.
Course14 Dynamic Vision. Biological vision can cope with changing world Moving and changing objects Change illumination Change View-point.
CS654: Digital Image Analysis Lecture 28: Advanced topics in Image Segmentation Image courtesy: IEEE, IJCV.
A global approach Finding correspondence between a pair of epipolar lines for all pixels simultaneously Local method: no guarantee we will have one to.
Computational Photography lecture 8 – segmentation CS (future 572) Spring 2016 Prof. Alex Berg (Credits to many other folks on individual slides)
 In the previews parts we have seen some kind of segmentation method.  In this lecture we will see graph cut, which is a another segmentation method.
Dynamic Programming (DP), Shortest Paths (SP)
Midterm Review. Tuesday, November 3 7:15 – 9:15 p.m. in room 113 Psychology Closed book One 8.5” x 11” sheet of notes on both sides allowed Bring a calculator.
Content-Aware Image Resizing Jack Breese Computer Systems Quarter 1, Pd. 7.
Course 3 Binary Image Binary Images have only two gray levels: “1” and “0”, i.e., black / white. —— save memory —— fast processing —— many features of.
Cutting Images: Graphs and Boundary Finding Computational Photography Derek Hoiem, University of Illinois 09/20/12 “The Double Secret”, Magritte.
Hebrew University Image Processing Exercise Class 8 Panoramas – Stitching and Blending Min-Cut Stitching Many slides from Alexei Efros.
Energy minimization Another global approach to improve quality of correspondences Assumption: disparities vary (mostly) smoothly Minimize energy function:
Stereo CS4670 / 5670: Computer Vision Noah Snavely Single image stereogram, by Niklas EenNiklas Een.
Graphcut Textures:Image and Video Synthesis Using Graph Cuts
Image Blending : Computational Photography
Cutting Images: Graphs and Boundary Finding
Announcements Project 4 out today help session at the end of class.
CS 4501: Introduction to Computer Vision Sparse Feature Detectors: Harris Corner, Difference of Gaussian Connelly Barnes Slides from Jason Lawrence, Fei.
Image gradients and edges
Image Segmentation Techniques
Image gradients and edges April 11th, 2017
Lecture 31: Graph-Based Image Segmentation
Seam Carving Project 1a due at midnight tonight.
Presentation transcript:

Agenda Seam-carving: finish up “Mid-term review” (a look back) Main topic: Feature detection

Seam carving: construct an energy image

Define (vertical) seam All the pixels in the seam are removed (shift row/column) Visual artifacts are visible only along the seam k=1k=2k=M Slide credit: Andrea Tagliasacchi

Define cost function for seam Energy function: (gradient) let I be an n×m image and define a vertical seam to be: Optimal seam s* that minimizes this seam cost : 4 How to efficiently compute s* ?

Find best seam with dynamic progamming For M row by N column image: Scan every row in the image from i=2 to i=M updating with local best choice In the final bottom row we pick the smallest entry M ij (for i=M) and we backtrack a path choosing always the local minima Slide credit: Andrea Tagliasacchi i-1 M i,j = cost of best seam from top row (i=1) down to pixel i,j i jj+1j-1

(c) ariel shamir Alternative formulation: mincut on a graph p i+1,j p i,j p i+1,j+1 p i,j+1 yy xx xx yy p i,j p i,j+1 p i+1,j p i+1,j+1 yy yy xx xx S T -Each pixel is a node that’s connected to its 4 neighbors and a “source” and “terminal” -Weight edges appropriately (eg, gradient magnitude) -Find minimum cost cut that separates S and T – this is a “graphcut” problem -Graphcuts is a very common tool in pixel labeling problems -Can solve mincut/maxflow problem (cf, Algorithms textbook) -With a particular choice of of weights on edges, the min cut is equivalent to DP soln

(c) ariel shamir Extension to video: 3D graph of pixels Frame t Frame t+1 Frame t+2Time Video Cube

(c) ariel shamir 3D Graph Cut Video Cube

Video

Halfway done with course; take a breather Midway evaluation form is posted on EEE – First-time course, so please provide feedback!

A look back Part I: Introduction – Camera optics – Color – Fourier/filtering Part II: (Photography) Image enhancement – Texture synthesis Texture models: histograms of textons/filter responses Markov models: sampling from conditional probability tables – Image blending Gradient-domain editing Constrained optimization (lagrangian techniques) – Image matting Compositing Bayesian modeling Gaussian color models – Image retargeting (resizing) Dynamic programming Combinatorial optimization (graphcuts) Part III: (Vision) Visual analysis – Feature matching – Mosaicing/stitching images – Recognition (finding and recognizing faces)