1 / 58

Chapter 14: SEGMENTATION BY CLUSTERING

Chapter 14: SEGMENTATION BY CLUSTERING. Outline. Introduction Human Vision & Gestalt Properties Applications Background Subtraction Shot Boundary Detection Segmentation by Clustering Simple Clustering Methods K-means Segmentation by Graph-Theoretic Clustering The Overall Approach

Download Presentation

Chapter 14: SEGMENTATION BY CLUSTERING

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 14:SEGMENTATION BYCLUSTERING

  2. Outline • Introduction • Human Vision & Gestalt Properties • Applications • Background Subtraction • Shot Boundary Detection • Segmentation by Clustering • Simple Clustering Methods • K-means • Segmentation by Graph-Theoretic Clustering • The Overall Approach • Affinity Measures • Normalized Cut

  3. Introduction

  4. General Ideas • Tokens • Whatever we need to group (pixels, points, surface elements, etc., etc.) • Top down segmentation • Tokens belong together because they lie on the same object • Bottom up segmentation • Tokens belong together because they are locally coherent

  5. Why & What is segmentation • Emphasize the property • Make main idea interesting • There are too many pixels in a single image • We need some form of compact, summary representation

  6. What segmentation can do • Summarizing video • Finding machined parts • Finding people • Finding buildings in satellite images • Searching a collection of images

  7. Model Problems • Forming image segments • Roughly coherent color and texture • Finding body segments • Arms, torso, etc. • Fitting lines to edge points • To fit a line to a set of points

  8. Segmentation as Clustering • Partitioning • Decompose an image into regions • Decompose an image into extended blobs • Take a video sequence and decompose it into shots • Grouping

  9. Human Vision & Gestalt Properties

  10. Figure-ground discrimination • Grouping can be seen in terms of allocating some elements to a figure, some to ground • Can be based on local bottom-up cues or high level recognition

  11. Figure-ground discrimination

  12. A series of factors affect whether elements should be grouped together

  13. A series of factors affect whether elements should be grouped together

  14. Grouping by occlusions

  15. Grouping by invisible completions

  16. Outline • Introduction • Human Vision & Gestalt Properties • Applications • Background Subtraction • Shot Boundary Detection • Segmentation by Clustering • Simple Clustering Methods • K-means • Segmentation by Graph-Theoretic Clustering • The Overall Approach • Affinity Measures • Normalized Cut

  17. ApplicationBackground Subtraction • Anything that doesn’t look like a known background is interesting

  18. Take a picture? • Not good… • The background changes slowly overtime…

  19. Estimate the value of background pixels using a moving average. • Ideally, the moving average should track the changes in the background.

  20. Shot Boundary Detection • Where substantial changes in a video are interesting.

  21. Computing distance • Frame differencing • Histogram-based • Block comparison • Edge differencing pixel-by-pixel histogram-by-histogram box-by-box edge map-by-edge map

  22. Outline • Introduction • Human Vision & Gestalt Properties • Applications • Background Subtraction • Shot Boundary Detection • Segmentation by Clustering • Simple Clustering Methods • K-means • Segmentation by Graph-Theoretic Clustering • The Overall Approach • Affinity Measures • Normalized Cut

  23. Segmentation by ClusteringSimple Clustering Methods • Divisive clustering

  24. Divisive clustering p, q, r, s, t r, s, t p, q s, t s t r p q

  25. Agglomerative clustering

  26. Agglomerative clustering p, q, r, s, t r, s, t p, q s, t p q r s t

  27. Q: what the distance of A:

  28. Single-link clustering

  29. Complete-link clustering

  30. Group average clustering

  31. K-means

  32. 37

  33. Outline • Introduction • Human Vision & Gestalt Properties • Applications • Background Subtraction • Shot Boundary Detection • Segmentation by Clustering • Simple Clustering Methods • K-means • Segmentation by Graph-Theoretic Clustering • The Overall Approach • Affinity Measures • Normalized Cut

  34. Segmentation by Graph-theoretic Clustering • Terminology for Graph • Vertices • Edges • Directed graph • Undirected graph • Weighted graph • Self-loop • Connected graph • Connected components 2 4 3

  35. The Overall Approach • Weighted graph represented by a square matrix Weighted matrix Undirected weighted graph

  36. Set of well separated points Affinity matrix

  37. Affinity Measures • Affinity by Distance

  38. Affinity by Intensity • Affinity by Color • Affinity by Texture

  39. Eigenvectors and segmentation • Extracting a Single Good Cluster :Element affinities { association of element I with cluster n } × {affinity between I and j}× { association of element j with cluster n} :The vector of weight linking elements to the th cluster

  40. Scaling by scales • Normalizes the weights by requiring that • Differentiation and dropping Lagrangian :eigenvector of

  41. Small

  42. Extracting Weights for a Set of Clusters • quite tight • distinct. The three largest eigenvalues of the affinity matrix for the dataset

  43. Outline • Introduction • Human Vision & Gestalt Properties • Applications • Background Subtraction • Shot Boundary Detection • Segmentation by Clustering • Simple Clustering Methods • K-means • Segmentation by Graph-Theoretic Clustering • The Overall Approach • Affinity Measures • Normalized Cut

More Related