= {
{
OPT_SWITCH,
"dbg", 0,
"Output debugging information."},
{
OPT_SWITCH,
"v", 0,
"Verbose output during execution."},
{
OPT_SWITCH,
"iso", 0,
"Create a volume with isotropic voxels."},
{
OPT_FLOAT,
"sx",
"xFactor",
"The sampling factor in 'x' [1]."},
{
OPT_FLOAT,
"sy",
"yFactor",
"The sampling factor in 'y' [1]."},
{
OPT_FLOAT,
"sz",
"zFactor",
"The sampling factor in 'z' [1]."},
{
OPT_INT,
"interp",
"type",
"The interpolator: "
"1=Nearest, 2=Linear, 3=BSpline, 4=Sinc [2]."},
{
OPT_STRING,
"o",
"filename",
"The output sampled image."},
"Program to super-sample a mask in a specific dimension via shape based interpolation.\n"
}
}
#define OPT_DONE
No more options - must terminate array.
Definition: niftkCommandLineParser.h:103
#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_FLOAT
Option takes one float.
Definition: niftkCommandLineParser.h:88
#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