int bkr_octree_calculate_color_stats(bkr_octree_node *node, bkr_color_stats stats[])
Calculates color statistics from a built octree.
bkr_octree_node * bkr_build_octree(bkr_rgb *pixels, uint32_t pixel_count, uint32_t max_colors)
Byakuren - A theme color extracting library implemented by C.
void bkr_release_octree(bkr_octree_node *node)
Releases the memory allocated for an octree structure.
Color statistics structure.
Octree node structure for color quantization.