Plot volumetric data in 3D using matplotlib

preview_player
Показать описание
In this tutorial, I explain how you can visualize 3D volumetric data in python.
I use matplotlib to plot an airway mask in PyCharm interactively.

Contents:
0:03 3D plot of an airway mask
0:17 Load a .npz file and read a mask
0:28 Introduce required libraries
0:46 Marching cube algorithm
1:18 Create a mesh
1:24 Set color for the mesh
1:38 Add the mesh to the plot
2:35 Interactive plot in PyCharm
Рекомендации по теме
Комментарии
Автор

i want to add that if u are trying to implement this in a jupyter notebook on VSCode u should add "#%matplotlib widget" in order to be able to interact with the plot.

martinpier