cluster based segmentation
play

Cluster-based Segmentation Algorithm Why Shift What is Mean Idea - PowerPoint PPT Presentation

Cluster- Mean Shift http://vision.ouc.edu.cn/~zhenghaiyong CVBIOUC WangRuchen Cluster-based Segmentation Algorithm Why Shift What is Mean Idea K-means++ based Algorithm Idea K-means with Clustering


  1. Cluster- Mean Shift http://vision.ouc.edu.cn/~zhenghaiyong CVBIOUC WangRuchen 基于聚类的图像分割 Cluster-based Segmentation Algorithm Why Shift What is Mean Idea K-means++ based Algorithm Idea K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- May 26, 2015

  2. Cluster- Shift Why What is Mean Shift Idea 3 Mean Shift K-means++ Algorithm Idea 2 K-means Image Segmentation with Clustering Clustering Analysis 1 Introduction Contents Algorithm Why What is Mean based Idea Mean Shift K-means++ Algorithm Idea K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- Algorithm

  3. Cluster- Mean Shift Similar to one another within the same cluster Cluster: a collection of data objects classes. Clustering is unsupervised classifjcation: no predefjned Clustering Analysis Algorithm Why Shift What is Mean Idea K-means++ based Algorithm Idea K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- Dissimilar to the objects in other clusters

  4. Cluster- K-means++ Cluster similar pixel features together. Idea: Image Segmentation with Clustering Algorithm Why Shift What is Mean Idea Mean Shift Algorithm based Idea K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- How to segment images by clustering?

  5. Cluster- based Feature space Image Image Segmentation with Clustering Algorithm Why Shift What is Mean Idea Mean Shift K-means++ Algorithm Idea K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- Feature space:(R,G,B),(R,G,B,X,Y),(L,U,V) ù ñ

  6. Cluster- based Feature space Image Image Segmentation with Clustering Algorithm Why Shift What is Mean Idea Mean Shift K-means++ Algorithm Idea K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- ù ñ Feature space:(R,G,B),(R,G,B,X,Y),(L,U,V) ¨ ¨ ¨

  7. Cluster- Mean Shift Each vertex is connected Graph Clustering Each point has a vector. Vector Clustering Image Segmentation with Clustering Algorithm Why Shift What is Mean Idea K-means++ based Algorithm Idea K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- to others by edges.

  8. Cluster- based Feature space Image Image Segmentation with Clustering Algorithm Why Shift What is Mean Idea Mean Shift K-means++ Algorithm Idea K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- ù ñ Feature space:(R,G,B),(R,G,B,X,Y),(L,U,V) ¨ ¨ ¨

  9. Cluster- K-means++ K-means Techniques: Image Segmentation with Clustering Algorithm Why Shift What is Mean Idea Mean Shift Algorithm based Idea K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- Mean Shift

  10. Cluster- Mean Shift point into the cluster. 2 For each point, fjnd the closest cluster centers. Put the 1 Randomly initialize the K cluster centers. Idea: K-means Algorithm Why Shift What is Mean Idea K-means++ based Algorithm Idea K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- 3 Change the cluster centers.

  11. Cluster- Mean Shift x j i i Algorithm: K-means Algorithm based Shift What is Mean Idea Why K-means++ tion Idea K-means with Clustering Segmentation Image Analysis Clustering Algorithm Segmenta- Introduction 1 Choose randomly K-means m 1 , . . . , m k . 2 For each vector x i compute D ( x i , m k ( ic )) , k = 1 , . . . , K and assign x i to the cluster C j with nearest mean. 3 Update the means to get m 1 ( ic ) , . . . , m K ( ic ) . 1 m ( t +1) ÿ = | S ( t ) i | x j P S ( t ) 4 Repeat steps 2 and 3 until C k ( ic ) = C k ( ic + 1) for all k.

  12. Cluster- Mean Shift Sensitive to initialization Cons: Converges to a local minimum of the error function Simple and fast Pros: K-means Algorithm Why Shift What is Mean Idea K-means++ based Algorithm Idea K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- Need to pick K

  13. Cluster- Mean Shift 1 Arthur, D. and Vassilvitskii, S, “K-means++: The Advantages of the closest center we have already chosen. 4 Proceed as with the standard K-means algorithm. 3 Repeat Step2, until we have taken k centers altogether. Algorithm: K-means++ 1 Algorithm Why Shift based Idea What is Mean K-means++ Algorithm Segmenta- tion Introduction Clustering Careful Seeding”, PA, 2007. Analysis Image Segmentation with Clustering K-means Idea 1 Take one center c 1 , chosen uniformly at random from X . 2 Take a new center c i , choosing x P X with probability D ( x ) 2 ř x P X D ( x ) 2 . D ( x ) denote the shortest distance from a data point to

  14. Cluster- Mean Shift Sensitive to initialization Cons: Converges to a local minimum of the error function Simple and fast Pros: K-means Algorithm Why Shift What is Mean Idea K-means++ based Algorithm Idea K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- Need to pick K

  15. Cluster- Mean Shift 2 D. Comaniciu and P. Meer, “Mean Shift: A Robust Approach Find the clustering center. Idea: segmentation. An advanced and versatile technique for clustering-based Mean Shift 2 Algorithm Why Shift What is Mean Idea K-means++ based Algorithm Idea K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- toward Feature Space Analysis”, PAMI, 2002.

  16. Cluster- Algorithm Center is maximum points of probability density function What and How? Algorithm Why Shift What is Mean Idea Mean Shift K-means++ Idea based K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- and gradient direction.

  17. Cluster- Algorithm Center is maximum points of probability density function What and How? Algorithm Why Shift What is Mean Idea Mean Shift K-means++ Idea based K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- and gradient direction.

  18. Cluster- based x i S k K Mean Shift Vector Algorithm Why Shift What is Mean Idea Mean Shift K-means++ Algorithm Idea K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- M h = 1 ÿ ( x i ´ x )

  19. Cluster- Idea Algorithm Why Shift What is Mean Idea Mean Shift K-means++ Algorithm K-means based with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- What is Mean Shift

  20. Cluster- Idea Algorithm Why Shift What is Mean Idea Mean Shift K-means++ Algorithm K-means based with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- What is Mean Shift

  21. Cluster- Idea Algorithm Why Shift What is Mean Idea Mean Shift K-means++ Algorithm K-means based with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- What is Mean Shift

  22. Cluster- Idea Algorithm Why Shift What is Mean Idea Mean Shift K-means++ Algorithm K-means based with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- What is Mean Shift

  23. Cluster- Idea Algorithm Why Shift What is Mean Idea Mean Shift K-means++ Algorithm K-means based with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- What is Mean Shift

  24. Cluster- Idea Algorithm Why Shift What is Mean Idea Mean Shift K-means++ Algorithm K-means based with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- What is Mean Shift

  25. Cluster- Idea Algorithm Why Shift What is Mean Idea Mean Shift K-means++ Algorithm K-means based with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- What is Mean Shift

  26. Cluster- Idea Algorithm Why Shift What is Mean Idea Mean Shift K-means++ Algorithm K-means based with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- What is Mean Shift

  27. Cluster- Algorithm N Density Estimation Algorithm Why Shift What is Mean Idea Mean Shift based K-means++ Idea K-means with Clustering Segmentation Image Analysis Clustering Introduction tion Segmenta- NS P = N k f ( x ) = P S = N k

  28. Cluster- Idea Kernel function: h N Nh d distributed sample drawn from some distribution with an based Kernel density estimation (Parzen windows) Algorithm Why Shift What is Mean Kernel density estimation: Mean Shift Analysis Segmenta- tion Introduction K-means++ Clustering Image with Clustering Algorithm Idea K-means otherwise Segmentation Let ( x 1 , x 2 , … , x n ) be an independent and identically unknown density f ( x ) . Its kernel density estimator is 1 k ( x n ´ x ˆ ÿ f ( x ) h , k = ) n =1 " 1 | u i | ď 1 2 , i = 1 , . . . , D k ( u ) = 0

Recommend


More recommend