int bkr_mindiff_calculate_color_stats(bkr_rgb *pixels, uint32_t pixel_count, bkr_color_stats stats[], bkr_mindiff_parameter *param)
Calculate color statistics using the minimum difference method.
struct _bkr_palette_stats _bkr_palette_stats
Byakuren - A theme color extracting library implemented by C.
Byakuren - A theme color extracting library implemented by C.
uint32_t count
Frequency of the color's occurrence.
bkr_rgb * color
Pointer to the RGB color.
Color statistics structure.
Parameters for the minimum difference color quantization method.