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

Classes

struct  arguments
 

Enumerations

enum  {
  O_DEBUG = 0, O_VERBOSE, O_ISOTROPIC, O_SAMPLING_IN_X,
  O_SAMPLING_IN_Y, O_SAMPLING_IN_Z, O_INTERPOLATOR, O_OUTPUT_IMAGE,
  O_INPUT_IMAGE
}
 

Functions

template<int Dimension>
int DoMain (arguments &args)
 
int main (int argc, char *argv[])
 

Variables

struct
niftk::CommandLineArgumentDescription 
clArgList []
 

Enumeration Type Documentation

anonymous enum
Enumerator
O_DEBUG 
O_VERBOSE 
O_ISOTROPIC 
O_SAMPLING_IN_X 
O_SAMPLING_IN_Y 
O_SAMPLING_IN_Z 
O_INTERPOLATOR 
O_OUTPUT_IMAGE 
O_INPUT_IMAGE 

Function Documentation

template<int Dimension>
int DoMain ( arguments args)
int main ( int  argc,
char *  argv[] 
)

Variable Documentation

Initial value:
= {
{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."},
{OPT_STRING|OPT_LONELY|OPT_REQ, NULL, "filename", "The input image."},
{OPT_DONE, NULL, NULL,
"Program to sub (>1) or super (<1) sample an image, "
"applying appropriate smoothing if required.\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