Wrote a Python program that generates the Improved Gray Scale (IGS) quantization codes for a set of input pixels. It's <a href="http://premshree.resource-locator.com/python/igs.py" class="content_link">here</a>.