Implementation of SLIC Superpixel Algorithm