/k-means-clustering

consider image intensity and spatial location

Primary LanguageJupyter Notebook

pattern recognition Assignment 07

k-means clustering

  • consider image intensity and spatial location
  • object function $$ \sum_k \sum_{ x \in I(k) } [ | f(x) - m_k |^2 + a * | x - c_k |^2 ] $$
  1. visualize clustering image
  2. visualize intensity energy and spatial energy