الرئيسية / خدماتنا / الذكاء الاصطناعي
Unsupervised MLK-MeansClustering

K-Means Color Clustering

مثال توضيحي مصغّر — يُظهر كيف تستخرج الألوان السائدة من الصور. مشاريعنا الحقيقية أكبر وأكثر تعقيداً.

معاينة مباشرة — تفاعلية

K-Means Color Clustering

Unsupervised ML - استخراج الألوان السائدة من الصور

Original
Quantized
5
How does K-Means work?
  1. Initialize: Randomly place K cluster centers in color space.
  2. Assign: Each pixel joins the nearest cluster center (by RGB distance).
  3. Update: Move each cluster center to the mean of its assigned pixels.
  4. Repeat: Iterate until clusters stabilize.
  5. Output: Compress image to K dominant colors with their percentages.