Median Cut Implementation

Hello all!

I am really happy to present to you my Implementation of the Median Cut algorithm using Python. When I first started this hobby project, I was completely clueless about the domain and spent loads of time on initial research and studying existing implementations. Some of them provided me with very valuable clues on writing this program. Though the materials I referred to are in some other programming language or even pseudo-code kind, they still provided me with great input about how the algorithm works.

Some extra information

When researching color quantization in Python, a quick google search bought me to the PIL library, which also contains a in-built method to do color quantization. However, I didn’t use it, since I wanted to implement the algorithm on my own. I made the script in such a way that, the median cut algorithm is implemented from scratch(without using any in-built libraries)

How to use

The Usage instructions and source code be found in this GitHub repository

Use the script and let me know your feedback.

Until then, signing off,

~/CR08