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

Enumerations

enum  {
  O_INT_RADIUS =0, O_INT_MODE, O_INT_EXPANSION, O_FLOAT_BSPLINE,
  O_FILENAME, O_MORE
}
 

Functions

int main (int argc, char **argv)
 Differential bias correction. More...
 

Variables

struct
niftk::CommandLineArgumentDescription 
clArgList []
 

Enumeration Type Documentation

anonymous enum
Enumerator
O_INT_RADIUS 
O_INT_MODE 
O_INT_EXPANSION 
O_FLOAT_BSPLINE 
O_FILENAME 
O_MORE 

Function Documentation

int main ( int  argc,
char **  argv 
)

Differential bias correction.

Implements "Correction of differential intensity inhomogeneity in longitudinal MR images", Lewis and Fox, 2004, NeuroImage.

Tries to put the bias of multiple time ponits into the "middle".

Variable Documentation

Initial value:
= {
{OPT_INT, "radius", "value", "Radius of the median filter. Default: 5"},
{OPT_INT, "mode", "value", "Determine how the differential bias fields of non-consecutive time-points are calculated. 1: from the images, 2: compose from the differential bias fields of consecutive time-points. Default: 1"},
{OPT_INT, "expansion", "value", "Expand the bounding box of the union of the masks by the given number of voxels. Default: 5"},
{OPT_FLOAT, "bspline", "value", "Use bspline with the specified control point spacing in mm, e.g. 2mm. Default: 0 for not using bspline"},
{OPT_STRING|OPT_LONELY, NULL, "filename", "Input image 1, input mask 1, output image 1, input image 2, input mask 2, output image 2,..."},
{OPT_MORE, NULL, "...", NULL},
{OPT_DONE, NULL, NULL, "Perform the differential bias correction on the two images."}
}
#define OPT_DONE
No more options - must terminate array.
Definition: niftkCommandLineParser.h:103
#define OPT_MORE
Definition: niftkCommandLineParser.h:123
#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_INT
Option takes one integer.
Definition: niftkCommandLineParser.h:87