Make it compile with clang
Fix function name
Add ratio to colour_quantization_equal_areas()