Constrained Lloyd iteration Generate approximately equally spaced points inside a given region. See superpixels.py for an example of how to use the code.