jni / i2k-skimage-napari

Repository for the scikit-image, napari, & friends tutorial at I2K 2020
BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

io is not defined #4

Closed tlambert03 closed 3 years ago

tlambert03 commented 3 years ago

in around the 4th code cell of 2_segmentation_and_regionprops, at nuclei = io.imread('../images/cells.tif') ... io is not defined

sofroniewn commented 3 years ago

note i needed import tifffile as io not import imageio as io to get the 3D tiff reading right ...

jni commented 3 years ago

LOL It should be from skimage import io, but yes, better to change to:

import tifffile
nuclei = tifffile.imread(...)