I would like to visualize a 3D dataset in the form of a tiff file using Jupiter Notebook and Ipyvolume. To do this, I want to convert my dataset into a 3D numpy array. So far, this has only worked for me with a 2D dataset. For that I used this:
from PIL import Image
import numpy as np
im = Image.open(“dataset2D.tif”)
Can someone help me how to do this with a 3D dataset?