= {
{
OPT_STRING,
"g",
"filename",
"The input global (affine) 3D transformation."},
{
OPT_STRING,
"df",
"filename",
"Deformation DOF (degrees of freedom) file name."},
{
OPT_STRING,
"di",
"filename",
"Deformation vector image transformation file name."},
{
OPT_STRING,
"p",
"filename",
"The input perspective projection transformation."},
{
OPT_SWITCH,
"k1", NULL,
"Invert the 'x' dimension of the 2D projection"},
{
OPT_SWITCH,
"k2", NULL,
"Invert the 'y' dimension of the 2D projection"},
{
OPT_DOUBLE,
"f",
"focalLength",
"Focal length of the projection in mm [1000]"},
{
OPT_DOUBLEx2,
"uv",
"u0,v0",
"The location of the projection normal on the 2D plane in mm [0,0]"},
{
OPT_DOUBLEx3|
OPT_REQ,
"pt3D",
"x,y,z",
"The input 3D coordinate to transform and project into 2D"},
"Program to load a 2D-3D transformation and transform a 3D point into 2D.\n"
}
}
#define OPT_DONE
No more options - must terminate array.
Definition: niftkCommandLineParser.h:103
#define OPT_DOUBLEx3
Option takes three doubles '(,,)'.
Definition: niftkCommandLineParser.h:101
#define OPT_DOUBLEx2
Option takes two double '(,)'.
Definition: niftkCommandLineParser.h:100
#define OPT_REQ
Option is always required.
Definition: niftkCommandLineParser.h:116
#define OPT_STRING
Option takes one string.
Definition: niftkCommandLineParser.h:89
#define OPT_SWITCH
Option is boolean switch.
Definition: niftkCommandLineParser.h:86
#define OPT_DOUBLE
Simliar to OPT_FLOAT but returns double.
Definition: niftkCommandLineParser.h:92