No longer rely on skimage