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

Classes

struct  arguments
 

Typedefs

typedef signed short PixelType
 
typedef itk::Image< PixelType,
Dimension
ImageType
 
typedef itk::ImageSeriesReader
< ImageType
ReaderType
 
typedef itk::GDCMSeriesFileNames NamesGeneratorType
 

Enumerations

enum  {
  O_VERBOSE, O_DEBUG, O_SERIES, O_FILENAME_FILTER,
  O_OUTPUT_FILESTEM, O_OUTPUT_FILESUFFIX, O_INPUT_DICOM_DIRECTORY
}
 

Functions

bool WriteSeriesAsVolume (bool flgVerbose, bool flgDebug, std::string seriesIdentifier, std::string filenameFilter, char *fileOutput, NamesGeneratorType *nameGenerator, ReaderType *reader)
 
int main (int argc, char *argv[])
 

Variables

struct
niftk::CommandLineArgumentDescription 
clArgList []
 
const unsigned int Dimension = 3
 

Typedef Documentation

typedef itk::Image< PixelType, Dimension > ImageType
typedef itk::GDCMSeriesFileNames NamesGeneratorType
typedef signed short PixelType
typedef itk::ImageSeriesReader< ImageType > ReaderType

Enumeration Type Documentation

anonymous enum
Enumerator
O_VERBOSE 
O_DEBUG 
O_SERIES 
O_FILENAME_FILTER 
O_OUTPUT_FILESTEM 
O_OUTPUT_FILESUFFIX 
O_INPUT_DICOM_DIRECTORY 

Function Documentation

int main ( int  argc,
char *  argv[] 
)
bool WriteSeriesAsVolume ( bool  flgVerbose,
bool  flgDebug,
std::string  seriesIdentifier,
std::string  filenameFilter,
char *  fileOutput,
NamesGeneratorType nameGenerator,
ReaderType reader 
)

Variable Documentation

Initial value:
= {
{OPT_SWITCH, "v", NULL, "Verbose output."},
{OPT_SWITCH, "dbg", NULL, "Output debugging info."},
{OPT_STRING, "series", "name", "The input series name required."},
{OPT_STRING, "filter", "pattern", "Only consider DICOM files that contain the string 'pattern'."},
{OPT_STRING|OPT_REQ, "of", "filestem", "The output image volume(s) filestem (filename will be: 'filestem_%2d.suffix')."},
{OPT_STRING|OPT_REQ, "os", "suffix", "The output image suffix to use when using option '-or'."},
{OPT_STRING|OPT_REQ|OPT_LONELY, NULL, "directory", "Input DICOM directory."},
{OPT_DONE, NULL, NULL,
"Program to convert the content of a DICOM directory into image volumes.\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
const unsigned int Dimension = 3