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

Enumerations

enum  {
  O_VERBOSE, O_NUMBER_OF_BINS, O_MARGINAL_SCALE, O_OUTPUT_FILE,
  O_INPUT_IMAGE
}
 

Functions

int main (int argc, char *argv[])
 

Variables

struct
niftk::CommandLineArgumentDescription 
clArgList []
 

Enumeration Type Documentation

anonymous enum
Enumerator
O_VERBOSE 
O_NUMBER_OF_BINS 
O_MARGINAL_SCALE 
O_OUTPUT_FILE 
O_INPUT_IMAGE 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

Initial value:
= {
{OPT_SWITCH, "v", NULL, "Verbose output."},
{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."},
{OPT_STRING|OPT_LONELY|OPT_REQ, NULL, "filename", "The input image."},
{OPT_DONE, NULL, NULL,
"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