SLIC superpixel implementation