NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Enumerations | Functions | Variables
niftkCreateTransformation.cxx File Reference
Include dependency graph for niftkCreateTransformation.cxx:

Enumerations

enum  {
  O_DEBUG = 0, O_VERBOSE, O_TRANSFORM_TYPE, O_GRID_SIZE,
  O_TARGET_IMAGE, O_OUTPUT_TRANSFORMATION, O_PARAMETERS, O_MORE
}
 

Functions

int main (int argc, char **argv)
 

Variables

struct
niftk::CommandLineArgumentDescription 
clArgList []
 

Enumeration Type Documentation

anonymous enum
Enumerator
O_DEBUG 
O_VERBOSE 
O_TRANSFORM_TYPE 
O_GRID_SIZE 
O_TARGET_IMAGE 
O_OUTPUT_TRANSFORMATION 
O_PARAMETERS 
O_MORE 

Function Documentation

int main ( int  argc,
char **  argv 
)

Variable Documentation

Initial value:
= {
{OPT_SWITCH, "dbg", 0, "Output debugging information."},
{OPT_SWITCH, "v", 0, "Verbose output during execution."},
{OPT_INT|OPT_REQ, "type", "number", "The type of the ITK transform to create. Options are:\n"
" 0: Translation\n"
" 1: Rigid, so rotations and translations, 3DOF in 2D and 6DOF in 3D.\n"
" 2: Rigid plus scale, 5DOF in 2D, 9DOF in 3D.\n"
" 3: Affine. 7DOF in 2D, 12DOF in 3D.\n"
" 4: B-spline Free-form Deformation\n"
" 5: Fluid transformation\n"
" 6: PCA deformation transformation\n"
" 7: PCA deformation transformation with translation\n\n"
},
{OPT_DOUBLE, "grid", "size", "The resolution/spacing in mm of the b-spline control point grid."},
{OPT_STRING, "ti", "filename", "Target/Fixed image over which the transformation is defined."},
{OPT_STRING|OPT_REQ, "ot", "filename", "The output transformation filename."},
{OPT_DOUBLE|OPT_LONELY|OPT_REQ, NULL, "parameters", "The list of transformation parameters."},
{OPT_MORE, NULL, "...", NULL},
{OPT_DONE, NULL, NULL,
"Program to create a transformation from a user specified list of parameters."
}
}
#define OPT_DONE
No more options - must terminate array.
Definition: niftkCommandLineParser.h:103
#define OPT_MORE
Definition: niftkCommandLineParser.h:123
#define OPT_REQ
Option is always required.
Definition: niftkCommandLineParser.h:116
#define OPT_LONELY
Parameter doesn't have key.
Definition: niftkCommandLineParser.h:115
#define OPT_STRING
Option takes one string.
Definition: niftkCommandLineParser.h:89
#define OPT_SWITCH
Option is boolean switch.
Definition: niftkCommandLineParser.h:86
#define OPT_INT
Option takes one integer.
Definition: niftkCommandLineParser.h:87
#define OPT_DOUBLE
Simliar to OPT_FLOAT but returns double.
Definition: niftkCommandLineParser.h:92

Create a transformation from a user specified list of parameters.