vmtk
Recent Changes - Search:

vmtk

projects

links

edit SideBar

VmtkScripts / Vmtkimagereslice

vmtkimagereslice

Description

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

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdint1 0script id
handleSelfself1  handle to self
disabledDisabledbool1 0disable execution and piping
iImagevtkImageData1  the input image
ifileImageInputFileNamestr1  filename for the default Image reader
rReferenceImagevtkImageData1  the reference image
rfileReferenceImageInputFileNamestr1  filename for the default ReferenceImage reader
spacingOutputSpacingfloat3 []the output spacing
originOutputOriginfloat3 []the output origin
extentOutputExtentint6 []the output extent
interpolationInterpolationstr1["nearestneighbor","linear","cubic"]linearinterpolation during reslice
castCastbool1 1toggle cast image to float type
backgroundBackgroundLevelfloat1 0.0the output image background
matrix4x4Matrix4x4vtkMatrix4x41  the input transform matrix
matrixMatrixCoefficientsfloat16 []coefficients of transform matrix
invertInvertMatrixbool1 0invert matrix before applying transformation
rotationRotationfloat3 [0.0, 0.0, 0.0]rotations around the x-,y- and z-axis
translationTranslationfloat3 [0.0, 0.0, 0.0]translation in the x-,y- and z-directions
scalingScalingfloat3 [1.0, 1.0, 1.0]scaling of the x-,y- and z-directions
transforminputsamplingTransformInputSamplingbool1 1transform spacing, origin and extent of the Input (or the InformationInput) according to the direction cosines and origin of the ResliceAxes before applying them as the default output spacing, origin and extent
ofileImageOutputFileNamestr1  filename for the default Image writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdint1 0script id
handleSelfself1  handle to self
oImagevtkImageData1  the output image
Edit - History - Print - Recent Changes - Search
Page last modified on September 05, 2010, at 01:04 PM