commit b5fde6a4464fcf3f6b9368eb0244f5b8d7550852
parent baaf2c668823b6c94641ffb13c98ac078a09a185
Author: Pollux <pollux@pollux.codes>
Date: Fri, 18 Jul 2025 21:04:08 -0500
docs: Document new function
Signed-off-by: Pollux <pollux@pollux.codes>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/morph.c b/morph.c
@@ -167,6 +167,7 @@ get_image_pixel_data(const char *path, int *pixel_count) {
return image_pixels;
}
+/// Extract the dominant colors from among a list of colors in lab colorspace
col_lab_t *
cluster_image_colors(col_lab_t *colors, int color_count, int cluster_count) {