vmtkImageToNumpy

Description

Takes a vtkImageData object and returns a nested dictionary of numpy arrays

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iImagevtkImageData1the input image
ifileImageInputFileNamestr1filename for the default Image reader
ofileArrayDictOutputFileNamestr1filename for the default ArrayDict writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oArrayDictdict1the output dictionary