View Single Post
Old 22nd July 2020, 01:08   #7  |  Link
_Al_
Registered User
 
Join Date: May 2011
Posts: 321
You are using I[0], just a part of it, instead of whole array I. But for RGB numpy array you need all three planes.
But isn't skimage format in numpy already? This should be enough:
Code:
npArray  = io.imread('D:/Jia Lab/ACsN/Python/Python Test Images/TIRF_01_10ms.tif')
then also use:
for i in range(3):
or
for i in [0,1,2]:
does not matter, but that error was caused using that I[0]
_Al_ is offline   Reply With Quote