= {
{
OPT_INT,
"nbins",
"n",
"The number of bins to use [64]."},
{
OPT_DOUBLE,
"ms",
"scale",
"The marginal scale of the histogram [10.]."},
{
OPT_STRING,
"o",
"filename",
"The output histogram."},
"Program to calculate the histogram of an image.\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_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