Segmentation and Clustering p3 - Lecture 9 - Week 4 Flashcards
What is mean-shift segmentation?
An advanced and versatile technique for clustering-based segmentation
What is a mode in a histogram?
Mode = local maximum of the density of a given distribution
What is iterative mode search?
- Initialise random seed, and window W
- Calculate centre of gravity (the “mean”) of W
- Sum of x in W (x * Hist(x))
- Shift the search window to the “mean”
- Repeat step 2 until convergence
What is a cluster in Mean-Shift clustering?
All data points in the attraction basin of a mode
What is an attraction basin in mean-shift clustering?
The region for which all trajectories leads to the same mode
How does mean-shift achieve clustering/segmentation?
Find features (colour, gradients, texture, etc…)
Initialise windows at individual pixel locations
Perform mean shift for each window until convergence
Merge windows that end up nea the same “peak” or mode
Mean-Shift pros and cons
Pros
- General, application-independent tool
- Model-free, does not assume any prior shape (spherical, elliptical, etc…) on data clusters
- Just a single parameter (window size h)
- Finds variable number of modes
- Robust to outliers
Cons
- Output depends on window size
- Window size (bandwidth) selection is not trivial
- Computationally (relatively) expensive (~2s per image)
- Does not scale well with dimension of feature space