Code: file:///build/buildd/nipype-0.6.0/nipype/interfaces/slicer/filtering/arithmetic.py#L58
Wraps command ** Add **
title: Add Images
category: Filtering.Arithmetic
description: Adds two images. Although all image types are supported on input, only signed types are produced. The two images do not have to have the same dimensions.
version: 0.1.0.$Revision: 18864 $(alpha)
documentation-url: http://slicer.org/slicerWiki/index.php/Documentation/4.0/Modules/Add
contributor: Bill Lorensen
acknowledgements: This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.
Inputs:
[Mandatory]
[Optional]
args: (a string)
Additional parameters to the command
environ: (a dictionary with keys which are a value of type 'str' and with values which
are a value of type 'str', nipype default value: {})
Environment variables
ignore_exception: (a boolean, nipype default value: False)
Print an error message instead of throwing an exception in case the interface fails to
run
inputVolume1: (an existing file name)
Input volume 1
inputVolume2: (an existing file name)
Input volume 2
order: ('0' or '1' or '2' or '3')
Interpolation order if two images are in different coordinate frames or have different
sampling.
outputVolume: (a boolean or a file name)
Volume1 + Volume2
Outputs:
outputVolume: (an existing file name)
Volume1 + Volume2
Code: file:///build/buildd/nipype-0.6.0/nipype/interfaces/slicer/filtering/arithmetic.py#L19
Wraps command ** Cast **
title: Cast Image
category: Filtering.Arithmetic
description: Cast a volume to a given data type. Use at your own risk when casting an input volume into a lower precision type! Allows casting to the same type as the input volume.
version: 0.1.0.$Revision: 2104 $(alpha)
documentation-url: http://wiki.slicer.org/slicerWiki/index.php/Documentation/4.0/Modules/Cast
contributor: Nicole Aucoin, BWH (Ron Kikinis, BWH)
acknowledgements: This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.
Inputs:
[Mandatory]
[Optional]
InputVolume: (an existing file name)
Input volume, the volume to cast.
OutputVolume: (a boolean or a file name)
Output volume, cast to the new type.
args: (a string)
Additional parameters to the command
environ: (a dictionary with keys which are a value of type 'str' and with values which
are a value of type 'str', nipype default value: {})
Environment variables
ignore_exception: (a boolean, nipype default value: False)
Print an error message instead of throwing an exception in case the interface fails to
run
type: ('Char' or 'UnsignedChar' or 'Short' or 'UnsignedShort' or 'Int' or 'UnsignedInt'
or 'Float' or 'Double')
Type for the new output volume.
Outputs:
OutputVolume: (an existing file name)
Output volume, cast to the new type.