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

Classes

struct  arguments
 

Enumerations

enum  {
  O_VERBOSE, O_DEBUG, O_SLICE_DIMENSION, O_OUTPUT_FILE,
  O_INPUT_VOLUME
}
 

Functions

std::string AddSuffix (std::string filename, unsigned int iSlice)
 
template<int InputDimension, class PixelType >
int DoMain (arguments args)
 
int main (int argc, char **argv)
 Determines the input image dimension and pixel type. More...
 

Variables

struct
niftk::CommandLineArgumentDescription 
clArgList []
 

Enumeration Type Documentation

anonymous enum
Enumerator
O_VERBOSE 
O_DEBUG 
O_SLICE_DIMENSION 
O_OUTPUT_FILE 
O_INPUT_VOLUME 

Function Documentation

std::string AddSuffix ( std::string  filename,
unsigned int  iSlice 
)
template<int InputDimension, class PixelType >
int DoMain ( arguments  args)
int main ( int  argc,
char **  argv 
)

Determines the input image dimension and pixel type.

Variable Documentation

Initial value:
= {
{OPT_SWITCH, "v", NULL, "Verbose output."},
{OPT_SWITCH, "dbg", NULL, "Output debugging info."},
{OPT_INT, "slice", "dimension", "The dimension along which the volume is sliced (x=0, y=1, z=2) [2]."},
{OPT_STRING|OPT_REQ, "o", "fileOut", "The file name of the output voxel planes."},
{OPT_STRING|OPT_LONELY|OPT_REQ, NULL, "fileIn", "Input image volume."},
{OPT_DONE, NULL, NULL,
"Program to split an image volume into individual planes of voxels.\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