diff --git a/skimage/novice/_novice.py b/skimage/novice/_novice.py index 6f0cb5de..553da070 100644 --- a/skimage/novice/_novice.py +++ b/skimage/novice/_novice.py @@ -254,7 +254,7 @@ class Picture(object): path = os.path.abspath(path) self._path = path with file_or_url_context(path) as context: - self.array = io.imread(context) + self.array = img_as_ubyte(io.imread(context)) self._format = imghdr.what(context) elif array is not None: self.array = array