vmtkNumpyReader
Description
reads a pickled (or hdf5) file containing a nested dictionary of numpy arrays generated byvmtkcenterlinestonumpy, vmtkimagetonumpy, or vmtksurfacetonumpy from disk and stores theobject in memory into a standard dictionary of numpy arrays.
Input arguments
Argument | Variable | Type | Length | Range | Default | Description |
id | Id | str | 1 | | 0 | script id |
handle | Self | self | 1 | | | handle to self |
disabled | Disabled | bool | 1 | | 0 | disable execution and piping |
f | Format | str | 1 | ["pickle","hdf5"] | | file format |
guessformat | GuessFormat | bool | 1 | | 1 | guess file format from extension |
ifile | InputFileName | str | 1 | | | the input file name |
Output arguments
Argument | Variable | Type | Length | Range | Default | Description |
id | Id | str | 1 | | 0 | script id |
handle | Self | self | 1 | | | handle to self |
o | ArrayDict | dict | 1 | | | the output dictionary |