Structs§
- KMeans
Result - Result of a K-Means clustering operation.
- Settings
- Settings for dominant color extraction.
Enums§
- Color
Space - Color space used for K-Means clustering.
- KMeans
Init - Initialization method for K-Means.
Functions§
- dominant_
color - Calculates the dominant color of an image.
- dominant_
colors - Calculates the dominant colors of an image.
- eucl_
distance - Calculates the Euclidean distance between two points.
- eucl_
distance_ squared - Calculates the squared Euclidean distance between two points.
- kmeans
- Performs K-Means clustering on the provided data.
- saturation
- Calculates the saturation (chroma) of an RGB color.
- silhouette_
score - Calculates the silhouette score for a clustering result.