pyvista.MetaImageReader#
- class MetaImageReader(*args, **kwargs)[source]#
Meta Image Reader for .mha and .mhd files.
Examples
>>> import pyvista as pv >>> from pyvista import examples >>> filename = examples.download_chest(load=False) >>> filename.split('/')[-1] # omit the path 'ChestCT-SHORT.mha' >>> reader = pv.get_reader(filename) >>> mesh = reader.read() >>> mesh.plot()
Methods
Attributes