Chapter 10 Clustering (CP467) Flashcards

0.0(0)
studied byStudied by 3 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/21

flashcard set

Earn XP

Description and Tags

Image Processing & Pattern Recognition Image Segmentation and Clustering Part 2: Clustering

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

22 Terms

1
New cards

clustering

grouping together similar points and representing them with a single token

2
New cards

uses and application for clustering

uses: for tasks like segmentation in image processing (grouping pixels based on intensity, color, texture)

applications: object detection, image segmentation and compression

3
New cards

criteria for forming clusters

  • intensity (grouping pixels w similar brightness or grayscale values)

  • color ( grouping pixels w similar color values )

  • texture (grouping pixels based on patterns or surface characteristics)

4
New cards

goal for k-means clustering

partition data into k clusters by finding k representative centers.

5
New cards

k-means clustering steps

  • initialize k clusters at random

  • assign data point to nearest cluster center

  • update each cluster center w the mean of the points assigned to it

  • repeat 2nd and 3rd steps till cluster centers stabilize

6
New cards

goal of clustering in image segmentation

group pixels into clusters based on similarity in intensity, color, texture, or other features

7
New cards

how does k-means clustering segment an image

by grouping pixels into k-clusters where each pixel is assigned to the nearest cluster center based on intensity or other features

8
New cards

impact of choosing k in k-means clustering

a large k produces more detailed segmentation, while a smaller k creates coarser segmentation

9
New cards

feature space for clustering based on intensity

1-dimensional space where each pixel is represented by its intensity value

10
New cards

what is the feature space for clustering based on color similarity

a 3-dimensional space representing RGB (or other color channels) where each pixel’s coordinates are its color values

11
New cards

how does clustering based on texture similarity work?

it uses filter responses to represent each pixel in a high-dimensional feature space

12
New cards

why might intensity alone not be sufficient for segmentation

pixels w the same intensity but different locations (e.g. two black areas) may belong to different segments.

13
New cards

how does combining intensity and position improve segmentation

by adding x, y coordinates to the feature space, clusters can be formed based on spatial proximity as well as intensity

14
New cards

pros of k means clustering

  • simple and fast

  • easy to implement

  • converges to local minimum of within cluster squared error

15
New cards

cons of k means clustering

  • specifying k

  • sensitive to initial centers

  • sensitive to outliers

  • detects spherical clusters only

16
New cards

mean shift clustering

clustering technique that improves upon K means by:

  • not requiring k in advance

  • handling arbitrary cluster shapes

  • being robust to initialization

17
New cards

what are the main limitations of K means that mean shift addresses

  • k means requires the number of clusters(k) in advance

  • k means is sensitive to initialization

  • k means cannot handle non-spherical clusters effectively

18
New cards

key steps in the mean shift clustering algorithm

  • center a window on a data point

  • identify all points within the window and compute their mean

  • shift the window to the mean location

  • repeat steps 2-3 until convergence

19
New cards

what happens after convergence in mean shift clustering

  • each centroid represents a cluster

  • assign all data points to the nearest centroid to finalize the clusters

  • merge centroids that converge very close to each other (optionally)

20
New cards

how does mean shift define cluster shape and size

by the window size(h):

  • a larger window results in fewer cluster

  • a smaller window captures finer details and more clusters

21
New cards

key strength of mean shift

versatile and can handle clusters of arbitrary shapes and sizes without needing to specify the number of clusters(k)

22
New cards

mean shift strengths and weaknesses

knowt flashcard image