SMILX  1.01
Classes | Typedefs | Functions | Variables
milx Namespace Reference

ND. More...

Classes

class  BadStringConversion
 Exception Handler for stringify function. Thrown if the conversion from numeric to string is unsuccessful. More...
 
class  ColourMap
 Represents a the various colour maps available for VTK scalars etc. Default: NIH. More...
 
class  CommandIterationUpdate
 
class  DeformableModel
 Represents a deformable model (i.e. a model with cells and scalar values that has special members for interacting with images). More...
 
class  File
 A general file IO class for reading writing images and models. More...
 
class  Image
 Represents an image (i.e. an regular rectangular array with scalar values) and their common operations using the Insight Toolkit (ITK). More...
 
class  ImageBase
 Base class for images that contains non-templated features so to allow dynamic template instantiation. More...
 
class  Math
 A general math object for computing common operations such a centroids etc. More...
 
class  Model
 Represents a model (i.e. a model with cells and scalar values) and their common operations. Also allows batch operations on collection of models. More...
 
class  Registration
 
class  RegistrationIterationUpdate
 

Typedefs

typedef double coordinateType
 
typedef unsigned vnl_size_t
 
typedef vnl_vector_fixed< coordinateType, 3 > coordinate
 

Functions

template<typename T >
void Swap (T &a, T &b)
 
template<typename T >
Minimum (const T &a, const T &b)
 
template<typename T >
Maximum (const T &a, const T &b)
 
std::string NumberToString (double num, unsigned zeroPad=0)
 Number to string converter.
 
unsigned NumberOfProcessors ()
 Number of processors or cores on the machine.
 
void PrintProgressBar (const size_t percent)
 Displays a generic terminal-based progress bar based on the percent provided. More...
 
void PrintInfo (const std::string msg)
 Displays a generic msg to standard output with carriage return.
 
void PrintWarning (const std::string msg)
 Displays a generic msg to standard output with carriage return.
 
void PrintDebug (const std::string msg)
 Displays a generic msg to standard error with carriage return if in Debug mode.
 
void PrintError (const std::string msg)
 Displays a generic msg to standard error with carriage return.
 

Variables

const float Version = static_cast<float>(1.0)
 
const unsigned imgDimension = 3
 
const unsigned int RIGID_ITERATIONS = 1200
 
const float RIGID_MAX_STEP = 2
 
const float RIGID_MIN_STEP = 0.01
 
const unsigned int RIGID_AFFINE_ITERATIONS = 1200
 
const float RIGID_AFFINE_MAX_STEP = 2
 
const float RIGID_AFFINE_MIN_STEP = 0.2
 
const unsigned int AFFINE_ITERATIONS = 800
 
const float AFFINE_MAX_STEP = 2
 
const float AFFINE_MIN_STEP = 0.01
 
const unsigned int NRR_ITERATIONS_ONE = 800
 
const unsigned int NRR_ITERATIONS_TWO = 400
 
const unsigned int NRR_ITERATIONS_THREE = 200
 
const float NRR_MAX_STEP_ONE = 10
 
const float NRR_MAX_STEP_TWO = 8.6
 
const float NRR_MAX_STEP_THREE = 7
 
const float NRR_MIN_STEP = 0.00001
 
const float NRR_RELAXATION_FACTOR = 0.7
 
const float NRR_GRADIENT_MAGNITUDE_TOLERANCE = 0.0000001
 
const unsigned int PYRAMID_RESOLUTION_ONE = 2
 
const unsigned int PYRAMID_RESOLUTION_TWO = 2
 
const unsigned int PYRAMID_RESOLUTION_THREE = 2
 
const unsigned int GRID_POINT_SPACING_ONE = 20
 
const unsigned int GRID_POINT_SPACING_TWO = 10
 
const unsigned int GRID_POINT_SPACING_THREE = 5
 
const unsigned int SplineOrder = 3
 

Detailed Description

ND.