[Solved] 3d image visualisation with numpy/vtk

I finally find out what was wrong here’s my new code import vtk import numpy as np import os import matplotlib.pyplot as plt import PIL import Image DEBUG =False directory=”splitted_mri/” l = [] k=0 #add the next picture in a differente level of depth/z-positions for file in os.listdir(directory): img = directory + file if DEBUG … Read more