vmtkimagecompose

Description

compose an image based on user-specified parameters or on a reference image

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iImagevtkImageData1the input image
ifileImageInputFileNamestr1filename for the default Image reader
i2Image2vtkImageData1the second input image
i2fileImage2InputFileNamestr1filename for the default Image2 reader
operationOperationstr1["min","max","multiply","subtract"]minthe operation used to compose images
negatei2NegateImage2bool1Falsenegate the second input before composing
ofileImageOutputFileNamestr1filename for the default Image writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oImagevtkImageData1the output image