K-means Clustering used in computer vision.pptx

leastpk 11 views 8 slides Sep 24, 2024
Slide 1
Slide 1 of 8
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8

About This Presentation

K-means Clustering used in computer visionK-means Clustering used in computer visionK-means Clustering used in computer visionK-means Clustering used in computer visionK-means Clustering used in computer visionK-means Clustering used in computer vision


Slide Content

K-means Clustering: Comments Simple and reasonably fast Need to pick the number of clusters k Sensitive to initialization Sensitive to outliers

Results K=16 K=2

k-Means Initialization Methods Method 1: Select k random feature points as initial centroids. If two points are very close, resample. Method 2: Select k uniformly distributed means within the range of the distribution. Method 3: Perform k-means clustering on a subset of pixels and use the result as the initial means

k-Means Clustering Pick k points randomly as the initial centroids (means) (m1, m2, ..., m ) of the k clusters in feature space. For each pixel x, find nearest cluster mean m, to pixel’s feature f, and assign pixel to cluster i . Recompute mean for each cluster using its assigned pixels. If changes in all k means is less than a threshold &, stop.

CLUSTERING SIMILAR PIXEL

Pixel Similarity Let i and j be two pixels whose features are f, and f . Smaller the Distance, Greater the Similarity

Pixels in Euclidean Space Euclidean Space: Generalization of 3D Cartesian space to higher dimensions.

Visual Characteristics of Pixels Visual similarity can be based on: ·Brightness Color Position Depth Motion Texture Material
Tags