In [12]:
import numpy as np
from PIL import Image
In [13]:
img = Image.open("IMG_2617.tif")
img_data = np.array(img)
img_data
Out[13]:
In [14]:
len(img_data)
Out[14]:
In [15]:
len(img_data[0])
Out[15]:
In [16]:
len(img_data[0][1])
Out[16]:
In [ ]: