make get_superpixels a function