.. AUTO-GENERATED FILE -- DO NOT EDIT!

interfaces.elastix.utils
========================


.. _nipype.interfaces.elastix.utils.EditTransform:


.. index:: EditTransform

EditTransform
-------------

`Link to code <file:///build/nipype-fj7ofr/nipype-1.0.0+git69-gdb2670326/nipype/interfaces/elastix/utils.py#L62>`__

Manipulates an existing transform file generated with elastix

Example
~~~~~~~

>>> from nipype.interfaces.elastix import EditTransform
>>> tfm = EditTransform()
>>> tfm.inputs.transform_file = 'TransformParameters.0.txt'  # doctest: +SKIP
>>> tfm.inputs.reference_image = 'fixed1.nii'  # doctest: +SKIP
>>> tfm.inputs.output_type = 'unsigned char'
>>> tfm.run() # doctest: +SKIP

Inputs::

        [Mandatory]
        transform_file: (an existing file name)
                transform-parameter file, only 1

        [Optional]
        ignore_exception: (a boolean, nipype default value: False)
                Print an error message instead of throwing an exception in case the
                interface fails to run
        interpolation: (u'cubic' or u'linear' or u'nearest', nipype default
                 value: cubic)
                set a new interpolator for transformation
                flag: FinalBSplineInterpolationOrder
        output_file: (a file name)
                the filename for the resulting transform file
        output_format: (u'nii.gz' or u'nii' or u'mhd' or u'hdr' or u'vtk')
                set a new image format for resampled images
                flag: ResultImageFormat
        output_type: (u'float' or u'unsigned char' or u'unsigned short' or
                 u'short' or u'unsigned long' or u'long' or u'double')
                set a new output pixel type for resampled images
                flag: ResultImagePixelType
        reference_image: (an existing file name)
                set a new reference image to change the target coordinate system.

Outputs::

        output_file: (an existing file name)
                output transform file
