CV 123
CV 123
http://www.caip.rutgers.edu/~comanici/MSPAMI/msPamiResults.html
11/22/2021 CAP5415 - Lecture 16 Image Segmentation - II 44
Mean-Shift Segmentation
• Mean-shift is a variant of an iterative steepest-ascent method to seek stationary
points (i.e., peaks) in a density function, which is applicable in many areas of
multi-dimensional data analysis.
N(x): neighborhood of x
m(x) – x: mean shift
11/22/2021 CAP5415 - Lecture 16 Image Segmentation - II 52
Mean-Shift Search
window
Center of
mass
Mean Shift
vector
11/22/2021 FIND
CAP5415 DENSEST
- Lecture REGION! - II
16 Image Segmentation 53
Slide by Y. Ukrainitz & B. Sarel
Mean-Shift Search
window
Center of
mass
Mean Shift
vector
Center of
mass
Mean Shift
vector
Center of
mass
Mean Shift
vector
Center of
mass
Mean Shift
vector
Center of
mass
Mean Shift
vector
Center of
mass
https://spin.atomicobject.com/2015/05/26/mean-shift-clustering/
11/22/2021 CAP5415 - Lecture 16 Image Segmentation - II 68
Demo
https://spin.atomicobject.com/2015/05/26/mean-shift-clustering/
11/22/2021 CAP5415 - Lecture 16 Image Segmentation - II 69
Demo
https://spin.atomicobject.com/2015/05/26/mean-shift-clustering/
11/22/2021 CAP5415 - Lecture 16 Image Segmentation - II 70
Mean-shift pros and cons
• Pros
• Does not assume spherical clusters
• Just a single parameter (window size)
• Finds variable number of modes
• Robust to outliers
• Cons
• Output depends on window size
• Computationally expensive
• Does not scale well with dimension of feature space