Unit 3 : Image Segmentation
|
|
- Isabel Stafford
- 5 years ago
- Views:
Transcription
1 Unit 3 : Image Segmentation K-means Clustering Mean Shift Segmentation Active Contour Models Snakes Normalized Cut Segmentation CS
2 Histogram-based segmentation Goal Break the image into K regions (segments) Solve this by reducing the number of colors to K and mapping each pixel to the closest color CS
3 Histogram-based segmentation Goal Break the image into K regions (segments) Solve this by reducing the number of colors to K and mapping each pixel to the closest color Here s what it looks like if we use two colors CS
4 Clustering How to choose the representative colors? This is a clustering problem! G G Objective R Each point should be as close as possible to a cluster center Minimize sum squared distance of each point to closest center R CS
5 Break it down into subproblems Suppose I tell you the cluster centers c i Q: how to determine which points to associate with each c i? A: for each point p, choose closest c i Suppose I tell you the points in each cluster Q: how to determine the cluster centers? A: choose c i to be the mean of all points in the cluster CS
6 K-means clustering K-means clustering algorithm 1. Randomly initialize the cluster centers, c 1,..., c K 2. Given cluster centers, determine points in each cluster For each point p, find the closest c i. Put p into cluster i 3. Given points in each cluster, update c i to be the mean of all points in cluster i 4. If c i have changed, repeat Step 2 Properties Will always converge to some solution Can be a local minimum does not always find the global minimum of objective function: CS
7 K-Means++ Can we prevent arbitrarily bad local minima? 1.Randomly choose first center. 2.Pick new center with prob. proportional to: (contribution of p to total error) 3.Repeat until k centers. CS
8 Probabilistic clustering Basic questions what s the probability that a point x is in cluster m? what s the shape of each cluster? K-means doesn t answer these questions Basic idea instead of treating the data as a bunch of points, assume that they are all generated by sampling a continuous function This function is called a generative model defined by a vector of parameters θ CS
9 Mixture of Gaussians One generative model is a mixture of Gaussians (MOG) K Gaussian blobs with means μ b covariance matrices V b, dimension d blob b defined by blob b is selected with probability the likelihood of observing x is a weighted mixture of Gaussians where CS
10 Expectation maximization (EM) Goal find blob parameters θ that maximize the likelihood function: Approach: 1. E step: given current guess of blobs, compute ownership of each point 2. M step: given ownership probabilities, update blobs to maximize likelihood function 3. repeat until convergence CS
11 E-step EM details compute probability that point x is in blob i, given current guess of θ M-step compute probability that blob b is selected N data points mean of blob b covariance of blob b CS
12 Applications of EM Turns out this is useful for all sorts of problems CS 6550 any clustering problem any model estimation problem missing data problems finding outliers segmentation problems... segmentation based on color segmentation based on motion foreground/background separation 11
13 Finding Modes in a Histogram How Many Modes Are There? Easy to see, hard to compute CS
14 Mean Shift [Comaniciu & Meer] CS 6550 Iterative Mode Search 1. Initialize random seed, and window W 2. Calculate center of gravity (the mean ) of W: 3. Translate the search window to the mean 4. Repeat Step 2 until convergence 13
15 Mean-Shift Approach Initialize a window around each point See where it shifts this determines which segment it s in Multiple points will shift to the same segment CS
16 Mean-shift for image segmentation Useful to take into account spatial information instead of (R, G, B), run in (R, G, B, x, y) space D. Comaniciu, P. Meer, Mean shift analysis and applications, 7th International Conference on Computer Vision, Kerkyra, Greece, September 1999, CS 6550 More Examples: 15
17 What is Mean Shift? A tool for: Finding modes in a set of data samples, manifesting an underlying probability density function (PDF) in R N Non-parametric Density Estimation Discrete PDF Representation Data Non-parametric Density GRADIENT Estimation (Mean Shift) PDF Analysis CS
18 Non-Parametric Density Estimation Assumption : The data points are sampled from an underlying PDF Data point density implies PDF value! Assumed Underlying PDF Real Data Samples CS
19 Non-Parametric Density Estimation Assumed Underlying PDF Real Data Samples CS
20 Non-Parametric? Density Estimation Assumed Underlying PDF Real Data Samples CS
21 Parametric Density Estimation Assumption : The data points are sampled from an underlying PDF PDF( x) = i c e i ( x-μ ) 2 i 2 i 2 Estimate Assumed Underlying PDF Real Data Samples CS
22 Kernel Density Estimation Parzen Windows - Function Forms n 1 P( x) K( x - xi) A function of some finite number of data points n i 1 x 1 x n In practice one uses the forms: Data d K( ) ck( xi ) x or K( x) ck x i1 Same function on each dimension Function of vector length only CS
23 Kernel Density Estimation Various Kernels n 1 P( x) K( x - xi) A function of some finite number of data points n i 1 x 1 x n Examples: Epanechnikov Kernel K E ( x) 2 c x x otherwise Data Uniform Kernel K U ( x) c x 1 0 otherwise Normal Kernel KN 1 ( x) cexp 2 x 2 CS
24 Kernel Density Estimation Gradient n 1 P( x) K( x - x ) n i 1 i Give up estimating the PDF! Estimate ONLY the gradient Using the Kernel form: We get : 2 x - x i K( x - xi ) ck h Kernel bandwidth n ig n n i c c x i1 P( x) ki gi n n i1 n i1 gi i1 x g( x) k( x) CS
25 CS ( ) n i i n n i i i n i i i i g c c P k g n n g x x x Computing The Mean Shift Yet another Kernel density estimation! Simple Mean Shift procedure: Compute mean shift vector Translate the Kernel window by m(x) ( ) n i i i n i i g h g h x - x x m x x x - x g( ) ( ) k x x
26 CS
27 Mean Shift Properties Automatic convergence speed the mean shift vector size depends on the gradient itself. Near maxima, the steps are small and refined Adaptive Gradient Ascent Convergence is guaranteed for infinitesimal steps only infinitely convergent, (therefore set a lower bound) For Uniform Kernel ( ), convergence is achieved in a finite number of steps Normal Kernel ( ) exhibits a smooth trajectory, but is slower than Uniform Kernel ( ). CS
28 Real Modality Analysis An example Window tracks signify the steepest ascent directions CS
29 Mean Shift Strengths & Weaknesses Strengths : Application independent tool Suitable for real data analysis Does not assume any prior shape (e.g. elliptical) on data clusters Can handle arbitrary feature spaces Only ONE parameter to choose Weaknesses : The window size (bandwidth selection) is not trivial Inappropriate window size can cause modes to be merged, or generate additional shallow modes Use adaptive window size h (kernel bandwidth) has a physical meaning, unlike K-Means CS
30 Mean Shift Applications Clustering Image segmentation Discontinuity-preserving filtering Mean-shift tracking CS
31 Clustering Cluster : All data points in the attraction basin of a mode Attraction basin : the region for which all trajectories lead to the same mode CS Mean Shift : A robust Approach Toward Feature Space Analysis, by Comaniciu, Meer
32 Clustering Synthetic Examples Simple Modal Structures Complex Modal Structures CS
33 Feature space: L*u*v representation Clustering Real Example Initial window centers Modes found Modes after pruning Final clusters CS
34 Clustering Real Example L*u*v space representation CS
35 Clustering Real Example 2D (L*u) space representation Final clusters Not all trajectories in the attraction basin reach the same mode CS
36 Discontinuity Preserving Smoothing Feature space : Joint domain = spatial coordinates + color space s r x x K( x) C ks kr h s h r Meaning : treat the image as data points in the spatial and gray level domain Image Data (slice) Mean Shift vectors Smoothing result CS Mean Shift : A robust Approach Toward Feature Space Analysis, by Comaniciu, Meer
37 Mean-shift Filtering Example CS
38 Discontinuity Preserving Smoothing The effect of window size in spatial and range spaces CS
39 Discontinuity Preserving Smoothing Example CS
40 Discontinuity Preserving Smoothing Example CS
41 Segmentation Algorithm: Run Filtering (discontinuity preserving smoothing) Cluster the clusters which are closer than window size Image Data (slice) Mean Shift vectors Smoothing result Segmentation result Mean Shift : A robust Approach Toward Feature Space Analysis, by Comaniciu, Meer CS
42 CS
43 Segmentation Example when feature space is only gray levels CS
44 Segmentation Example CS
45 Segmentation Example CS
46 Segmentation Example CS
47 Segmentation Example CS
48 Active Contour Model - Snake Energy-minimizing spline guided by external constraint guided by external constraint forces and pulled by image forces toward features. CS
49 Introduction First an initial spline (snake) is placed on the image, and then its energy is minimized. Local minima of this energy correspond to desired image properties. CS
50 Snake Behavior A snake falls into the closest local energy minimum. The local minima of the snake energy comprise the set of alternative solutions A higher level knowledge is needed to choose the correct one from these solutions High level reasoning User interaction These high-level methods can interact with the contour model by pushing it toward an appropriate local minimum CS
51 Snake Behavior They rely on other mechanisms to place them near the desired contour. The existence of such an initializer is application dependent. Even in the case of manual initialization, snakes are quite powerful in refining the user s input. Basically, snakes are trying to match a deformable model to an image by means of energy minimization. CS
52 Snake Algorithm The snake is defined parametrically as v(s)=[x(s),y(s)], where s[0,1] is the normalized arc length along the contour. The energy functional to be minimized may be written as * snake 1 0 E E ( v( s)) ds snake int 0 image 0 E ( v( s)) ds E ( v( s)) ds E ( v( s)) ds forces E int : internal energy of the spline due to bending. E image : image forces pushing the snake toward image features, such as edges. E forces : external constraints forces responsible for putting the snake near the desired local minimum. It may come from: Higher level interpretation or User interaction, etc CS
53 Internal Energy The internal spline energy can be written as dv E ( s) ( s) int ds 2 d d 2 2 v s 2 where (s), (s) specify the elasticity and stiffness of the snake. CS
54 Internal Energy The snake is a controlled continuity spline Regularizes the problem The first order derivative Vs(s) makes the spline act like a membrane ( elasticity ). The second order derivative Vss(s) makes it act like a thin-plate ( rigidity ). α(s) and β(s) controls the relative importance of membrane and thin-plate terms Setting β(s)=0 for a point allows the snake to become second-order discontinuous and develop a corner. CS
55 Image Forces The image forces E image are derived from the image data over which the snake lies. Three important features the snake can be attracted to are line, edge and termination functions. The total image energy can be expressed as a weighted combination of the three. E image line E line edge E edge term E term The simplest useful image functional is the image intensity E line = I(x, y) Depending on line the snake is attracted to dark or light lines. CS
56 Edge based and Termination Functional The edge-based functional 2 2 E I ( x, y) or I ( x, y) edge attracts the snake to contours with large image gradients, that is, to locations of strong edges. The termination functional can be obtained by a function checking the curvature of level lines in a slightly smoothed image. CS
57 Scale-Space Minimization Minimization by scale continuation: 1. Spatial smooting the edge or line functional Eedge = (G σ 2 I) 2, where, where G σ is a Gaussian standard deviation σ Minima lie on zero crossings of G σ 2 I (~edges) 2. Snake comes to equilibrium on a blurry energy 3. Slowly reduce the blurring CS
58 Motion Tracking Once a snake finds a feature, it locks on. If the feature begins to move, the snake will track the same local minimum. Fast motion could cause the snake to flip into a different minimum. CS
59 Snake Energy Minimization A contour is defined to lie in the position in which the snake reaches a local energy minimum. The functional to be minimized is 2 2 * E E ( v( s)) ds snake snake The spline v(s) which minimizes E* snake must satisfy d ds E 2 d x 2 ds E 2 d y 2 ds E v E Solution is rather complex. Several methods exist, e.g. dynamic programming, neural nets. Problems with numerical instability. CS d ds s v 0
60 Snake Energy Minimization When α(s) and β(s) are constant, we get two independent Euler-Lagrange equations. When α(s) and β(s) are not constant then it is simpler to use a discrete formulation: CS
61 Snake Energy Minimization Let f x (i) = E ext / x i where derivatives are approximated by finite differences if they cannot be computed analitically. The corresponding Euler equations are In matrix form where A is a is a pentadiagonal banded matrix: CS
62 Snake Energy Minimization γ is the step size. Taking into account the derivatives requires changing A at each iteration. Speed up: at each iteration. We assume that f x and and f y are constant during a time step, i.e. explicit Euler method w.r.t the external forces. internal forces are specified by A, thus we can evaluate the time derivative at t rather than t-1 CS
63 Snake Energy Minimization At equilibrium, the time derivative vanishes. The Euler equations can be solved by matrix inversion: The inverse can be calculated by LU decomposition in O(n) time. CS
64 Balloon Snake CS
65 Examples Hand People CS 6550 Examples from Julien Jomier 66
66 Examples Highway Heart CS 6550 Examples from Julien Jomier 67
67 Problems with snakes Snakes sometimes degenerate in shape by shrinking and flattening. Stability and convergence of the contour deformation process may be unpredictable. Solution: Add some constraints: External forces or Physical properties Initialization is not straightforward. Solution: Manual and Statistics CS
68 Weakness of traditional snakes Extremely sensitive to parameters. Small capture range. No external force acts on points which are far away from the boundary. Convergence is dependent on initial position. CS
69 Weakness of traditional snakes (continued) Fails to detect concave boundaries. External force can t pull control points into boundary concavity. CS
70 Gradient Vector Flow (GVF) The GVF field is defined to be a vector field V(x,y) =(u(x,y), v(x,y)) V(x,y) is defined such that it minimizes the energy functional f(x,y) is the edge map of the image. CS
71 GVF CS
72 CS
73 Results CS
74 CS
75 GVF Snake Example CS
76 CS
77 GVF Snake Example CS
78 Shape Priors Snakes sometimes exhibit too many degrees of freedom, making it more likely to be trapped in local minima during their evolution. One solution to this problem is to control the snake with fewer degrees of freedom through the use of B-spline approximation, i.e. B-snake CS
79 Point Distribution Model Resistor shapes Control points Distribution of point locations (after alignment) CS
80 Shape Prior Constraint Covariance matrix C is determined from the training data Using eigenvalue analysis, i.e. Principal Component Analysis (PCA), the covariance matrix can be written as The resulting point distribution model can be written as Quadratic penalty for shape constraint CS
81 Graph-Based Image Segmentation Represent tokens using a weighted graph. affinity matrix Cut up this graph to get subgraphs with strong interior links CS
82 Normalized-Cut Algorithm CS
83 Images as graphs q p C pq c Fully-connected graph node for every pixel link between every pair of pixels, p,q cost c pq for each link c pq measures dissimilarity dissimilarity: difference in color and position CS
84 Segmentation by Graph Cuts w A B C Break Graph into Segments Delete links that cross between segments Easiest to break links that have high cost similar pixels should be in the same segments dissimilar pixels should be in different segments CS
85 CS
86 Measuring Affinity Intensity Distance affx, y exp i affx, y exp d Ix Iy 2 x y 2 Texture affx, y exp t cx cy 2 CS
87 Scale affects affinity CS
88 Problem with Minimum Cut CS
89 Cuts in a graph Link Cut A set of links whose removal makes a graph disconnected cost of a cut: Normalized Cut a cut penalizes large segments fix by normalizing for size of segments B CS
90 Eigenvectors and cuts Simplest idea: we want a vector a giving the association between each element and a cluster We want elements within this cluster to, on the whole, have strong affinity with one another We could maximize But need the constraint a T Aa a T a 1 This is an eigenvalue problem - choose the eigenvector of A with largest eigenvalue CS
91 Example eigenvector points eigenvector matrix CS
92 More than two segments Two options Recursively split each side to get a tree, continuing till the eigenvalues are too small Use the other eigenvectors CS
93 Normalized cuts Current criterion evaluates within cluster similarity, but not across cluster difference Instead, we d like to maximize the within-cluster similarity compared to the across cluster difference Write graph as V, one cluster as A and the other as B Maximize assoc(a, A) assoc(b,b) assoc(a,v ) assoc(b,v ) i.e. construct A, B such that their within cluster similarity is high compared to their association with the rest of the graph CS
94 Normalized cuts Write a vector y whose elements are 1 if item is in A, -b if it s in B Write the matrix of the graph as W, and the matrix which has the row sums of W on its diagonal as D, 1 is the vector with all ones. Criterion becomes y T D W y min y y T Dy and we have a constraint y T D1 0 This is hard to do, because y s values are quantized CS
95 Normalized cuts Instead, solve the generalized eigenvalue problem max min y y T D Wy subject to y T Dy 1 which gives D W y Dy Now look for a quantization threshold that maximizes the criterion --- i.e all components of y above that threshold go to one, all below go to -b CS
96 Normalize Cut in Matrix Form W is the cost matrix : W ( i, j ) w i, D is the sum of costs from node i : D ( i, i ) After lots of math, we get: j ; W ( i, j ); T y (D W)y T Ncut ( A, B), with y {1, }, y D1 T i b y Dy Solution given by generalized eigenvalue problem: (D W)y λdy Solved by converting to standard eigenvalue problem: D (D W)D z λ z, where z D y j 1 0. optimal solution corresponds to second smallest eigenvector for more details, see J. Shi and J. Malik, Normalized Cuts and Image Segmentation, IEEE Conf. Computer Vision and Pattern Recognition(CVPR), 1997 CS
97 Recursive two-way Ncut grouping algorithm CS
98 Simultaneous K-way cut CS
99 Example: brightness image CS
100 Experiments on Synthetic Images CS
101 Figure from Image and video segmentation: the normalised cut framework, by Shi and Malik, copyright IEEE, 1998 CS
102 F igure from Normalized cuts and image segmentation, Shi and Malik, copyright IEEE, 2000 CS
103 Color Image Segmentation CS
104 1. N-Cuts can also handle: Texture segmentation Motion segmentation but it needs proper similarity definition 2. General problem of defining feature similarity incorporating many cues/features is non-trivial CS
105 Information Fusion for Image Segmentation CS
106 Summary for Normalized Cut Segmentation Normalized cut presents a new optimality criterion for partitioning a graph into clusters. Ncut is normalized measure of disassociation and minimizing it is equivalent to maximizing association. The discrete problem corresponding to Min Ncut is NP-Complete. We solve an approximate version of the MinNcut problem by converting it into a generalized eigenvector problem. Nice results in image segmentation CS
Clustering. Discover groups such that samples within a group are more similar to each other than samples across groups.
Clustering 1 Clustering Discover groups such that samples within a group are more similar to each other than samples across groups. 2 Clustering Discover groups such that samples within a group are more
More informationNormalized cuts and image segmentation
Normalized cuts and image segmentation Department of EE University of Washington Yeping Su Xiaodan Song Normalized Cuts and Image Segmentation, IEEE Trans. PAMI, August 2000 5/20/2003 1 Outline 1. Image
More informationAnnouncements. Image Segmentation. From images to objects. Extracting objects. Status reports next Thursday ~5min presentations in class
Image Segmentation Announcements Status reports next Thursday ~5min presentations in class Project voting From Sandlot Science Today s Readings Forsyth & Ponce, Chapter 1 (plus lots of optional references
More informationImage Segmentation. Shengnan Wang
Image Segmentation Shengnan Wang shengnan@cs.wisc.edu Contents I. Introduction to Segmentation II. Mean Shift Theory 1. What is Mean Shift? 2. Density Estimation Methods 3. Deriving the Mean Shift 4. Mean
More information6.801/866. Segmentation and Line Fitting. T. Darrell
6.801/866 Segmentation and Line Fitting T. Darrell Segmentation and Line Fitting Gestalt grouping Background subtraction K-Means Graph cuts Hough transform Iterative fitting (Next time: Probabilistic segmentation)
More informationCS 534: Computer Vision Segmentation II Graph Cuts and Image Segmentation
CS 534: Computer Vision Segmentation II Graph Cuts and Image Segmentation Spring 2005 Ahmed Elgammal Dept of Computer Science CS 534 Segmentation II - 1 Outlines What is Graph cuts Graph-based clustering
More informationLecture 7: Segmentation. Thursday, Sept 20
Lecture 7: Segmentation Thursday, Sept 20 Outline Why segmentation? Gestalt properties, fun illusions and/or revealing examples Clustering Hierarchical K-means Mean Shift Graph-theoretic Normalized cuts
More informationTargil 12 : Image Segmentation. Image segmentation. Why do we need it? Image segmentation
Targil : Image Segmentation Image segmentation Many slides from Steve Seitz Segment region of the image which: elongs to a single object. Looks uniform (gray levels, color ) Have the same attributes (texture
More informationThe goals of segmentation
Image segmentation The goals of segmentation Group together similar-looking pixels for efficiency of further processing Bottom-up process Unsupervised superpixels X. Ren and J. Malik. Learning a classification
More informationEE 701 ROBOT VISION. Segmentation
EE 701 ROBOT VISION Regions and Image Segmentation Histogram-based Segmentation Automatic Thresholding K-means Clustering Spatial Coherence Merging and Splitting Graph Theoretic Segmentation Region Growing
More informationSegmentation. Bottom Up Segmentation
Segmentation Bottom up Segmentation Semantic Segmentation Bottom Up Segmentation 1 Segmentation as clustering Depending on what we choose as the feature space, we can group pixels in different ways. Grouping
More informationImage Segmentation. Selim Aksoy. Bilkent University
Image Segmentation Selim Aksoy Department of Computer Engineering Bilkent University saksoy@cs.bilkent.edu.tr Examples of grouping in vision [http://poseidon.csd.auth.gr/lab_research/latest/imgs/s peakdepvidindex_img2.jpg]
More informationImage Segmentation. Selim Aksoy. Bilkent University
Image Segmentation Selim Aksoy Department of Computer Engineering Bilkent University saksoy@cs.bilkent.edu.tr Examples of grouping in vision [http://poseidon.csd.auth.gr/lab_research/latest/imgs/s peakdepvidindex_img2.jpg]
More informationLecture 11: E-M and MeanShift. CAP 5415 Fall 2007
Lecture 11: E-M and MeanShift CAP 5415 Fall 2007 Review on Segmentation by Clustering Each Pixel Data Vector Example (From Comanciu and Meer) Review of k-means Let's find three clusters in this data These
More informationCS 534: Computer Vision Segmentation and Perceptual Grouping
CS 534: Computer Vision Segmentation and Perceptual Grouping Ahmed Elgammal Dept of Computer Science CS 534 Segmentation - 1 Outlines Mid-level vision What is segmentation Perceptual Grouping Segmentation
More informationClustering. Shishir K. Shah
Clustering Shishir K. Shah Acknowledgement: Notes by Profs. M. Pollefeys, R. Jin, B. Liu, Y. Ukrainitz, B. Sarel, D. Forsyth, M. Shah, K. Grauman, and S. K. Shah Clustering l Clustering is a technique
More informationSegmentation and low-level grouping.
Segmentation and low-level grouping. Bill Freeman, MIT 6.869 April 14, 2005 Readings: Mean shift paper and background segmentation paper. Mean shift IEEE PAMI paper by Comanici and Meer, http://www.caip.rutgers.edu/~comanici/papers/msrobustapproach.pdf
More informationFrom Pixels to Blobs
From Pixels to Blobs 15-463: Rendering and Image Processing Alexei Efros Today Blobs Need for blobs Extracting blobs Image Segmentation Working with binary images Mathematical Morphology Blob properties
More informationSegmentation & Clustering
EECS 442 Computer vision Segmentation & Clustering Segmentation in human vision K-mean clustering Mean-shift Graph-cut Reading: Chapters 14 [FP] Some slides of this lectures are courtesy of prof F. Li,
More informationApplications. Foreground / background segmentation Finding skin-colored regions. Finding the moving objects. Intelligent scissors
Segmentation I Goal Separate image into coherent regions Berkeley segmentation database: http://www.eecs.berkeley.edu/research/projects/cs/vision/grouping/segbench/ Slide by L. Lazebnik Applications Intelligent
More informationhuman vision: grouping k-means clustering graph-theoretic clustering Hough transform line fitting RANSAC
COS 429: COMPUTER VISON Segmentation human vision: grouping k-means clustering graph-theoretic clustering Hough transform line fitting RANSAC Reading: Chapters 14, 15 Some of the slides are credited to:
More informationSegmentation Computer Vision Spring 2018, Lecture 27
Segmentation http://www.cs.cmu.edu/~16385/ 16-385 Computer Vision Spring 218, Lecture 27 Course announcements Homework 7 is due on Sunday 6 th. - Any questions about homework 7? - How many of you have
More informationCS 2750: Machine Learning. Clustering. Prof. Adriana Kovashka University of Pittsburgh January 17, 2017
CS 2750: Machine Learning Clustering Prof. Adriana Kovashka University of Pittsburgh January 17, 2017 What is clustering? Grouping items that belong together (i.e. have similar features) Unsupervised:
More informationSegmentation: Clustering, Graph Cut and EM
Segmentation: Clustering, Graph Cut and EM Ying Wu Electrical Engineering and Computer Science Northwestern University, Evanston, IL 60208 yingwu@northwestern.edu http://www.eecs.northwestern.edu/~yingwu
More informationSegmentation (continued)
Segmentation (continued) Lecture 05 Computer Vision Material Citations Dr George Stockman Professor Emeritus, Michigan State University Dr Mubarak Shah Professor, University of Central Florida The Robotics
More informationCSE 473/573 Computer Vision and Image Processing (CVIP) Ifeoma Nwogu. Lectures 21 & 22 Segmentation and clustering
CSE 473/573 Computer Vision and Image Processing (CVIP) Ifeoma Nwogu Lectures 21 & 22 Segmentation and clustering 1 Schedule Last class We started on segmentation Today Segmentation continued Readings
More informationSegmentation and Grouping April 19 th, 2018
Segmentation and Grouping April 19 th, 2018 Yong Jae Lee UC Davis Features and filters Transforming and describing images; textures, edges 2 Grouping and fitting [fig from Shi et al] Clustering, segmentation,
More informationSegmentation & Grouping Kristen Grauman UT Austin. Announcements
Segmentation & Grouping Kristen Grauman UT Austin Tues Feb 7 A0 on Canvas Announcements No office hours today TA office hours this week as usual Guest lecture Thursday by Suyog Jain Interactive segmentation
More informationClustering. CS294 Practical Machine Learning Junming Yin 10/09/06
Clustering CS294 Practical Machine Learning Junming Yin 10/09/06 Outline Introduction Unsupervised learning What is clustering? Application Dissimilarity (similarity) of objects Clustering algorithm K-means,
More informationLecture 16 Segmentation and Scene understanding
Lecture 16 Segmentation and Scene understanding Introduction! Mean-shift! Graph-based segmentation! Top-down segmentation! Silvio Savarese Lecture 15 -! 3-Mar-14 Segmentation Silvio Savarese Lecture 15
More informationColorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.
Professor William Hoff Dept of Electrical Engineering &Computer Science http://inside.mines.edu/~whoff/ 1 Image Segmentation Some material for these slides comes from https://www.csd.uwo.ca/courses/cs4487a/
More informationClustering: Classic Methods and Modern Views
Clustering: Classic Methods and Modern Views Marina Meilă University of Washington mmp@stat.washington.edu June 22, 2015 Lorentz Center Workshop on Clusters, Games and Axioms Outline Paradigms for clustering
More informationLecture 8: Fitting. Tuesday, Sept 25
Lecture 8: Fitting Tuesday, Sept 25 Announcements, schedule Grad student extensions Due end of term Data sets, suggestions Reminder: Midterm Tuesday 10/9 Problem set 2 out Thursday, due 10/11 Outline Review
More informationComputer Vision Lecture 6
Course Outline Computer Vision Lecture 6 Segmentation Image Processing Basics Structure Extraction Segmentation Segmentation as Clustering Graph-theoretic Segmentation 12.11.2015 Recognition Global Representations
More informationCS 664 Slides #11 Image Segmentation. Prof. Dan Huttenlocher Fall 2003
CS 664 Slides #11 Image Segmentation Prof. Dan Huttenlocher Fall 2003 Image Segmentation Find regions of image that are coherent Dual of edge detection Regions vs. boundaries Related to clustering problems
More informationRegion-based Segmentation
Region-based Segmentation Image Segmentation Group similar components (such as, pixels in an image, image frames in a video) to obtain a compact representation. Applications: Finding tumors, veins, etc.
More informationSegmentation and Grouping
CS 1699: Intro to Computer Vision Segmentation and Grouping Prof. Adriana Kovashka University of Pittsburgh September 24, 2015 Goals: Grouping in vision Gather features that belong together Obtain an intermediate
More informationClustering. So far in the course. Clustering. Clustering. Subhransu Maji. CMPSCI 689: Machine Learning. dist(x, y) = x y 2 2
So far in the course Clustering Subhransu Maji : Machine Learning 2 April 2015 7 April 2015 Supervised learning: learning with a teacher You had training data which was (feature, label) pairs and the goal
More informationOutline. Segmentation & Grouping. Examples of grouping in vision. Grouping in vision. Grouping in vision 2/9/2011. CS 376 Lecture 7 Segmentation 1
Outline What are grouping problems in vision? Segmentation & Grouping Wed, Feb 9 Prof. UT-Austin Inspiration from human perception Gestalt properties Bottom-up segmentation via clustering Algorithms: Mode
More informationComputer Vision Lecture 6
Computer Vision Lecture 6 Segmentation 12.11.2015 Bastian Leibe RWTH Aachen http://www.vision.rwth-aachen.de leibe@vision.rwth-aachen.de Course Outline Image Processing Basics Structure Extraction Segmentation
More informationSegmentation and Grouping
Segmentation and Grouping How and what do we see? Fundamental Problems ' Focus of attention, or grouping ' What subsets of pixels do we consider as possible objects? ' All connected subsets? ' Representation
More informationCS 664 Segmentation. Daniel Huttenlocher
CS 664 Segmentation Daniel Huttenlocher Grouping Perceptual Organization Structural relationships between tokens Parallelism, symmetry, alignment Similarity of token properties Often strong psychophysical
More informationCS 4495 Computer Vision. Segmentation. Aaron Bobick (slides by Tucker Hermans) School of Interactive Computing. Segmentation
CS 4495 Computer Vision Aaron Bobick (slides by Tucker Hermans) School of Interactive Computing Administrivia PS 4: Out but I was a bit late so due date pushed back to Oct 29. OpenCV now has real SIFT
More informationClustering. Subhransu Maji. CMPSCI 689: Machine Learning. 2 April April 2015
Clustering Subhransu Maji CMPSCI 689: Machine Learning 2 April 2015 7 April 2015 So far in the course Supervised learning: learning with a teacher You had training data which was (feature, label) pairs
More informationVariational Methods II
Mathematical Foundations of Computer Graphics and Vision Variational Methods II Luca Ballan Institute of Visual Computing Last Lecture If we have a topological vector space with an inner product and functionals
More informationLecture: k-means & mean-shift clustering
Lecture: k-means & mean-shift clustering Juan Carlos Niebles and Ranjay Krishna Stanford Vision and Learning Lab 1 Recap: Image Segmentation Goal: identify groups of pixels that go together 2 Recap: Gestalt
More informationNote Set 4: Finite Mixture Models and the EM Algorithm
Note Set 4: Finite Mixture Models and the EM Algorithm Padhraic Smyth, Department of Computer Science University of California, Irvine Finite Mixture Models A finite mixture model with K components, for
More informationImage Segmentation continued Graph Based Methods
Image Segmentation continued Graph Based Methods Previously Images as graphs Fully-connected graph node (vertex) for every pixel link between every pair of pixels, p,q affinity weight w pq for each link
More informationCS 2770: Computer Vision. Edges and Segments. Prof. Adriana Kovashka University of Pittsburgh February 21, 2017
CS 2770: Computer Vision Edges and Segments Prof. Adriana Kovashka University of Pittsburgh February 21, 2017 Edges vs Segments Figure adapted from J. Hays Edges vs Segments Edges More low-level Don t
More informationGrouping and Segmentation
03/17/15 Grouping and Segmentation Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem Today s class Segmentation and grouping Gestalt cues By clustering (mean-shift) By boundaries (watershed)
More informationClustering K-means. Machine Learning CSEP546 Carlos Guestrin University of Washington February 18, Carlos Guestrin
Clustering K-means Machine Learning CSEP546 Carlos Guestrin University of Washington February 18, 2014 Carlos Guestrin 2005-2014 1 Clustering images Set of Images [Goldberger et al.] Carlos Guestrin 2005-2014
More informationContent-based Image and Video Retrieval. Image Segmentation
Content-based Image and Video Retrieval Vorlesung, SS 2011 Image Segmentation 2.5.2011 / 9.5.2011 Image Segmentation One of the key problem in computer vision Identification of homogenous region in the
More informationFitting: Voting and the Hough Transform April 23 rd, Yong Jae Lee UC Davis
Fitting: Voting and the Hough Transform April 23 rd, 2015 Yong Jae Lee UC Davis Last time: Grouping Bottom-up segmentation via clustering To find mid-level regions, tokens General choices -- features,
More informationLecture: k-means & mean-shift clustering
Lecture: k-means & mean-shift clustering Juan Carlos Niebles and Ranjay Krishna Stanford Vision and Learning Lab Lecture 11-1 Recap: Image Segmentation Goal: identify groups of pixels that go together
More informationImage Segmentation continued Graph Based Methods. Some slides: courtesy of O. Capms, Penn State, J.Ponce and D. Fortsyth, Computer Vision Book
Image Segmentation continued Graph Based Methods Some slides: courtesy of O. Capms, Penn State, J.Ponce and D. Fortsyth, Computer Vision Book Previously Binary segmentation Segmentation by thresholding
More informationSegmentation and Grouping
02/23/10 Segmentation and Grouping Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem Last week Clustering EM Today s class More on EM Segmentation and grouping Gestalt cues By boundaries
More informationNonparametric Clustering of High Dimensional Data
Nonparametric Clustering of High Dimensional Data Peter Meer Electrical and Computer Engineering Department Rutgers University Joint work with Bogdan Georgescu and Ilan Shimshoni Robust Parameter Estimation:
More informationCEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.
CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt. Session 11 Segmentation And Clustering Mani Golparvar-Fard Department of Civil and Environmental Engineering 3129D, Newmark Civil Engineering
More informationImage Segmentation. Srikumar Ramalingam School of Computing University of Utah. Slides borrowed from Ross Whitaker
Image Segmentation Srikumar Ramalingam School of Computing University of Utah Slides borrowed from Ross Whitaker Segmentation Semantic Segmentation Indoor layout estimation What is Segmentation? Partitioning
More informationMixture Models and EM
Mixture Models and EM Goal: Introduction to probabilistic mixture models and the expectationmaximization (EM) algorithm. Motivation: simultaneous fitting of multiple model instances unsupervised clustering
More informationUnsupervised learning in Vision
Chapter 7 Unsupervised learning in Vision The fields of Computer Vision and Machine Learning complement each other in a very natural way: the aim of the former is to extract useful information from visual
More informationVisual Representations for Machine Learning
Visual Representations for Machine Learning Spectral Clustering and Channel Representations Lecture 1 Spectral Clustering: introduction and confusion Michael Felsberg Klas Nordberg The Spectral Clustering
More informationCS4670: Computer Vision
CS4670: Computer Vision Noah Snavely Lecture 34: Segmentation From Sandlot Science Announcements In-class exam this Friday, December 3 Review session in class on Wednesday Final projects: Slides due: Sunday,
More informationUnsupervised Learning
Unsupervised Learning Learning without Class Labels (or correct outputs) Density Estimation Learn P(X) given training data for X Clustering Partition data into clusters Dimensionality Reduction Discover
More informationImage Segmentation. Ross Whitaker SCI Institute, School of Computing University of Utah
Image Segmentation Ross Whitaker SCI Institute, School of Computing University of Utah What is Segmentation? Partitioning images/volumes into meaningful pieces Partitioning problem Labels Isolating a specific
More informationSegmentation and Grouping April 21 st, 2015
Segmentation and Grouping April 21 st, 2015 Yong Jae Lee UC Davis Announcements PS0 grades are up on SmartSite Please put name on answer sheet 2 Features and filters Transforming and describing images;
More informationImage Segmentation. April 24, Stanford University. Philipp Krähenbühl (Stanford University) Segmentation April 24, / 63
Image Segmentation Philipp Krähenbühl Stanford University April 24, 2013 Philipp Krähenbühl (Stanford University) Segmentation April 24, 2013 1 / 63 Image Segmentation Goal: identify groups of pixels that
More informationAn Introduction to PDF Estimation and Clustering
Sigmedia, Electronic Engineering Dept., Trinity College, Dublin. 1 An Introduction to PDF Estimation and Clustering David Corrigan corrigad@tcd.ie Electrical and Electronic Engineering Dept., University
More informationCS 1675 Introduction to Machine Learning Lecture 18. Clustering. Clustering. Groups together similar instances in the data sample
CS 1675 Introduction to Machine Learning Lecture 18 Clustering Milos Hauskrecht milos@cs.pitt.edu 539 Sennott Square Clustering Groups together similar instances in the data sample Basic clustering problem:
More informationClustering Lecture 5: Mixture Model
Clustering Lecture 5: Mixture Model Jing Gao SUNY Buffalo 1 Outline Basics Motivation, definition, evaluation Methods Partitional Hierarchical Density-based Mixture model Spectral methods Advanced topics
More informationCS4670 / 5670: Computer Vision Noah Snavely
{ { 11/26/2013 CS4670 / 5670: Computer Vision Noah Snavely Graph-Based Image Segmentation Stereo as a minimization problem match cost Want each pixel to find a good match in the other image smoothness
More informationSYDE Winter 2011 Introduction to Pattern Recognition. Clustering
SYDE 372 - Winter 2011 Introduction to Pattern Recognition Clustering Alexander Wong Department of Systems Design Engineering University of Waterloo Outline 1 2 3 4 5 All the approaches we have learned
More information( ) =cov X Y = W PRINCIPAL COMPONENT ANALYSIS. Eigenvectors of the covariance matrix are the principal components
Review Lecture 14 ! PRINCIPAL COMPONENT ANALYSIS Eigenvectors of the covariance matrix are the principal components 1. =cov X Top K principal components are the eigenvectors with K largest eigenvalues
More informationGrouping and Segmentation
Grouping and Segmentation CS 554 Computer Vision Pinar Duygulu Bilkent University (Source:Kristen Grauman ) Goals: Grouping in vision Gather features that belong together Obtain an intermediate representation
More informationDr. Ulas Bagci
CAP5415-Computer Vision Lecture 11-Image Segmentation (BASICS): Thresholding, Region Growing, Clustering Dr. Ulas Bagci bagci@ucf.edu 1 Image Segmentation Aim: to partition an image into a collection of
More informationUsing the Kolmogorov-Smirnov Test for Image Segmentation
Using the Kolmogorov-Smirnov Test for Image Segmentation Yong Jae Lee CS395T Computational Statistics Final Project Report May 6th, 2009 I. INTRODUCTION Image segmentation is a fundamental task in computer
More informationMixture Models and the EM Algorithm
Mixture Models and the EM Algorithm Padhraic Smyth, Department of Computer Science University of California, Irvine c 2017 1 Finite Mixture Models Say we have a data set D = {x 1,..., x N } where x i is
More informationCOMS 4771 Clustering. Nakul Verma
COMS 4771 Clustering Nakul Verma Supervised Learning Data: Supervised learning Assumption: there is a (relatively simple) function such that for most i Learning task: given n examples from the data, find
More informationImage Segmentation II Advanced Approaches
Image Segmentation II Advanced Approaches Jorge Jara W. 1,2 1 Department of Computer Science DCC, U. of Chile 2 SCIAN-Lab, BNI Outline 1. Segmentation I Digital image processing Segmentation basics 2.
More informationFitting D.A. Forsyth, CS 543
Fitting D.A. Forsyth, CS 543 Fitting Choose a parametric object/some objects to represent a set of tokens Most interesting case is when criterion is not local can t tell whether a set of points lies on
More informationLinear Methods for Regression and Shrinkage Methods
Linear Methods for Regression and Shrinkage Methods Reference: The Elements of Statistical Learning, by T. Hastie, R. Tibshirani, J. Friedman, Springer 1 Linear Regression Models Least Squares Input vectors
More informationClustering appearance and shape by learning jigsaws Anitha Kannan, John Winn, Carsten Rother
Clustering appearance and shape by learning jigsaws Anitha Kannan, John Winn, Carsten Rother Models for Appearance and Shape Histograms Templates discard spatial info articulation, deformation, variation
More informationEnergy Minimization for Segmentation in Computer Vision
S * = arg S min E(S) Energy Minimization for Segmentation in Computer Vision Meng Tang, Dmitrii Marin, Ismail Ben Ayed, Yuri Boykov Outline Clustering/segmentation methods K-means, GrabCut, Normalized
More informationNetwork Traffic Measurements and Analysis
DEIB - Politecnico di Milano Fall, 2017 Introduction Often, we have only a set of features x = x 1, x 2,, x n, but no associated response y. Therefore we are not interested in prediction nor classification,
More informationImage Segmentation and Registration
Image Segmentation and Registration Dr. Christine Tanner (tanner@vision.ee.ethz.ch) Computer Vision Laboratory, ETH Zürich Dr. Verena Kaynig, Machine Learning Laboratory, ETH Zürich Outline Segmentation
More informationIn this lecture, we are going to talk about image segmentation, essentially defined as methods for grouping pixels together.
In this lecture, we are going to talk about image segmentation, essentially defined as methods for grouping pixels together. We will first define the segmentation problem, overview some basic ideas of
More informationSnakes, level sets and graphcuts. (Deformable models)
INSTITUTE OF INFORMATION AND COMMUNICATION TECHNOLOGIES BULGARIAN ACADEMY OF SCIENCE Snakes, level sets and graphcuts (Deformable models) Centro de Visión por Computador, Departament de Matemàtica Aplicada
More informationSnakes operating on Gradient Vector Flow
Snakes operating on Gradient Vector Flow Seminar: Image Segmentation SS 2007 Hui Sheng 1 Outline Introduction Snakes Gradient Vector Flow Implementation Conclusion 2 Introduction Snakes enable us to find
More informationSegmentation of Images
Segmentation of Images SEGMENTATION If an image has been preprocessed appropriately to remove noise and artifacts, segmentation is often the key step in interpreting the image. Image segmentation is a
More informationSIFT: SCALE INVARIANT FEATURE TRANSFORM SURF: SPEEDED UP ROBUST FEATURES BASHAR ALSADIK EOS DEPT. TOPMAP M13 3D GEOINFORMATION FROM IMAGES 2014
SIFT: SCALE INVARIANT FEATURE TRANSFORM SURF: SPEEDED UP ROBUST FEATURES BASHAR ALSADIK EOS DEPT. TOPMAP M13 3D GEOINFORMATION FROM IMAGES 2014 SIFT SIFT: Scale Invariant Feature Transform; transform image
More information22 October, 2012 MVA ENS Cachan. Lecture 5: Introduction to generative models Iasonas Kokkinos
Machine Learning for Computer Vision 1 22 October, 2012 MVA ENS Cachan Lecture 5: Introduction to generative models Iasonas Kokkinos Iasonas.kokkinos@ecp.fr Center for Visual Computing Ecole Centrale Paris
More informationTracking Computer Vision Spring 2018, Lecture 24
Tracking http://www.cs.cmu.edu/~16385/ 16-385 Computer Vision Spring 2018, Lecture 24 Course announcements Homework 6 has been posted and is due on April 20 th. - Any questions about the homework? - How
More informationIntroduction to Machine Learning CMU-10701
Introduction to Machine Learning CMU-10701 Clustering and EM Barnabás Póczos & Aarti Singh Contents Clustering K-means Mixture of Gaussians Expectation Maximization Variational Methods 2 Clustering 3 K-
More informationMissing variable problems
Missing variable problems In many vision problems, if some variables were known the maximum likelihood inference problem would be easy fitting; if we knew which line each token came from, it would be easy
More informationImage Analysis - Lecture 5
Texture Segmentation Clustering Review Image Analysis - Lecture 5 Texture and Segmentation Magnus Oskarsson Lecture 5 Texture Segmentation Clustering Review Contents Texture Textons Filter Banks Gabor
More informationCluster Analysis. Mu-Chun Su. Department of Computer Science and Information Engineering National Central University 2003/3/11 1
Cluster Analysis Mu-Chun Su Department of Computer Science and Information Engineering National Central University 2003/3/11 1 Introduction Cluster analysis is the formal study of algorithms and methods
More informationRevised Sheet Metal Simulation, J.E. Akin, Rice University
Revised Sheet Metal Simulation, J.E. Akin, Rice University A SolidWorks simulation tutorial is just intended to illustrate where to find various icons that you would need in a real engineering analysis.
More informationMultiDimensional Signal Processing Master Degree in Ingegneria delle Telecomunicazioni A.A
MultiDimensional Signal Processing Master Degree in Ingegneria delle Telecomunicazioni A.A. 205-206 Pietro Guccione, PhD DEI - DIPARTIMENTO DI INGEGNERIA ELETTRICA E DELL INFORMAZIONE POLITECNICO DI BARI
More informationParticle Filtering. CS6240 Multimedia Analysis. Leow Wee Kheng. Department of Computer Science School of Computing National University of Singapore
Particle Filtering CS6240 Multimedia Analysis Leow Wee Kheng Department of Computer Science School of Computing National University of Singapore (CS6240) Particle Filtering 1 / 28 Introduction Introduction
More informationSupervised vs. Unsupervised Learning
Clustering Supervised vs. Unsupervised Learning So far we have assumed that the training samples used to design the classifier were labeled by their class membership (supervised learning) We assume now
More information