Visualize arrays stored in h5

Hi Roger -

Sure, that sounds pretty useful and doable in a few lines of python. I believe you can easily get a numpy array with contents of the h5 file and you can populate a vtkMRMLScalarVolumeNode with the data.

https://www.slicer.org/wiki/Documentation/Nightly/Developers/Python_scripting#Accessing_Volume_data_as_numpy_array

1 Like