vmtkimagemorphology

Description

apply binary or grayscale morphology filter to the input image

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iImagevtkImageData1the input image
ifileImageInputFileNamestr1filename for the default Image reader
radiusBallRadiusint3(0,)[1, 1, 1]the radius of the structuring element
operationOperationstr1["dilate","erode","open","close"]closingthe morphological operation to perform
ofileImageOutputFileNamestr1filename for the default Image writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oImagevtkImageData1the output image