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

Enumerations

enum  {
  O_NUMBER_OF_BINS_1, O_NUMBER_OF_BINS_2, O_MARGINAL_SCALE, O_OUTPUT_IMAGE,
  O_INPUT_IMAGE_1, O_INPUT_IMAGE_2
}
 

Functions

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

Variables

struct
niftk::CommandLineArgumentDescription 
clArgList []
 

Enumeration Type Documentation

anonymous enum
Enumerator
O_NUMBER_OF_BINS_1 
O_NUMBER_OF_BINS_2 
O_MARGINAL_SCALE 
O_OUTPUT_IMAGE 
O_INPUT_IMAGE_1 
O_INPUT_IMAGE_2 

Function Documentation

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

Variable Documentation

Initial value:
= {
{OPT_INT, "nbins1", "n", "The number of bins for the first image [64]."},
{OPT_INT, "nbins2", "n", "The number of bins for the second image [64]."},
{OPT_DOUBLE, "ms", "scale", "The marginal scale of the 2D histogram [10.]."},
{OPT_STRING, "o", "filename", "The output 2D histogram image."},
{OPT_STRING|OPT_LONELY|OPT_REQ, NULL, "image1", "Input image 1."},
{OPT_STRING|OPT_LONELY|OPT_REQ, NULL, "image2", "Input image 2."},
{OPT_DONE, NULL, NULL,
"Program to generate a 2D histogram image from a pair of input images.\n"
"The input images must have the same dimensions.\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_INT
Option takes one integer.
Definition: niftkCommandLineParser.h:87
#define OPT_DOUBLE
Simliar to OPT_FLOAT but returns double.
Definition: niftkCommandLineParser.h:92