Use relative imports in skimage files

This commit is contained in:
Johannes Schönberger
2015-01-22 07:36:48 -05:00
parent ea95b5419b
commit ee5c6fbeb2
67 changed files with 149 additions and 155 deletions
+2 -3
View File
@@ -4,9 +4,8 @@ import numpy as np
from six import string_types
from PIL import Image
from skimage.util import img_as_ubyte, img_as_uint
from skimage.external.tifffile import (
imread as tif_imread, imsave as tif_imsave)
from ...util import img_as_ubyte, img_as_uint
from ...external.tifffile import imread as tif_imread, imsave as tif_imsave
def imread(fname, dtype=None, img_num=None, **kwargs):