Chain Transforms To VF CLP

From user's Wiki!
Jump to: navigation, search
Chain Transforms To Vector Field

General Information

  • Type: CLP
  • Category: Registration
  • Author: Nicolas Duchateau
  • Contributor: Xavi Planes
  • Contact: xavier.planes at upf.edu
  • Description: Represent a concatenation of transforms as a vector field. While this seems simple, it implies a conversion from a backward to a forward representation of the transformation (forward: 'x in the moving image goes to x'; backward: 'point x in the fixed image comes from x'). The pixel type of the output vector field will always be double.

Usage

Parameters

Label Type Flag / Index Default value / Channel Description
Parameters
Input Transforms string-vector transformFileName List of transforms files to read
Extension size (mm) float-vector ext_size 0,0,0 Extension size (mm)
Input Image image index 0 input To get spacing, origin, etc...
Single Transform transform (fileExtensions=".dof") --singleTransformFileName input Single Transform. Facilitates the use of this CLP when only one input transform is used. This transform will be the first transform of the transform list if set
Output Vector Field image (fileExtensions=".mhd" type="vector") index 1 output

Examples

Converts a single transform into a vector field. In the right side you can see the magnitude of the 3D vector for each point.

Chain Transforms To Vector Field

Development

Source code: C++ Source code and XML description

Go back to Users