Avoid deprecation warnings from skimage.