Aug-23-2018, 04:49 PM
I've found an online example with the following line
image = skimage.img_as_float(skimage.io.imread(x)).astype(np.float32)where I think x is a filename. You could perhaps try something similar. I don't use these modules, so I cannot help more.