vmtkcenterlineinterpolation

Description

smooth centerlines with a moving average filter

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iCenterlinesvtkPolyData1the input centerlines
ifileCenterlinesInputFileNamestr1filename for the default Centerlines reader
arrayMaskArrayNamestr1Nonethe array used for determining what portion of the centerline has to be reinterpolated is stored
thresholdThresholdfloat10.0value of the mask array below which (above which, in case insideout is 1) the centerline is reinterpolated
insideoutInsideOutbool10toggle interpolating below (0) or above (1) the threshold value
ofileCenterlinesOutputFileNamestr1filename for the default Centerlines writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oCenterlinesvtkPolyData1the output centerlines