![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxElastixMain.h>
Static Public Member Functions | |
static ComponentDatabase * | GetComponentDatabase (void) |
static Pointer | New () |
static void | SetComponentDatabase (ComponentDatabase *arg) |
static void | UnloadComponents (void) |
Protected Member Functions | |
virtual ObjectPointer | CreateComponent (const ComponentDescriptionType &name) |
virtual ObjectContainerPointer | CreateComponents (const ComponentDescriptionType &key, const ComponentDescriptionType &defaultComponentName, int &errorcode, bool mandatoryComponent=true) |
ElastixMain () | |
virtual int | InitDBIndex (void) |
virtual int | LoadComponents (void) |
virtual | ~ElastixMain () |
Static Protected Attributes | |
static ComponentDatabasePointer | s_CDB |
static ComponentLoaderPointer | s_ComponentLoader |
Private Member Functions | |
ElastixMain (const Self &) | |
void | operator= (const Self &) |
A class with all functionality to configure elastix.
The ElastixMain initializes the MyConfiguration class with the parameters and commandline arguments. After this, the class loads and creates all components and sets them in ElastixTemplate.
FixedImageDimension: the dimension of the fixed image.
example: (FixedImageDimension 2)
MovingImageDimension: the dimension of the fixed image.
example: (MovingImageDimension 2)
FixedInternalImagePixelType: the pixel type of the internal fixed image representation. The fixed image is automatically converted to this type.
example: (FixedInternalImagePixelType "float")
Default/recommended: "float"
MovingInternalImagePixelType: the pixel type of the internal moving image representation. The moving image is automatically converted to this type.
example: (MovingInternalImagePixelType "float")
Default/recommended: "float"
FixedImageDimension: the dimension of the fixed image.
example: (FixedImageDimension 2)
MovingImageDimension: the dimension of the fixed image.
example: (MovingImageDimension 2)
FixedInternalImagePixelType: the pixel type of the internal fixed image representation. The fixed image is automatically converted to this type.
example: (FixedInternalImagePixelType "float")
Default/recommended: "float"
MovingInternalImagePixelType: the pixel type of the internal moving image representation. The moving image is automatically converted to this type.
example: (MovingInternalImagePixelType "float")
Default/recommended: "float"
Definition at line 93 of file elxElastixMain.h.
Definition at line 120 of file elxElastixMain.h.
Definition at line 132 of file elxElastixMain.h.
Typedefs for the database that holds pointers to New() functions. Those functions are used to instantiate components, such as the metric etc.
Definition at line 131 of file elxElastixMain.h.
typedef ComponentDatabaseType::ComponentDescriptionType elastix::ElastixMain::ComponentDescriptionType |
Definition at line 134 of file elxElastixMain.h.
Definition at line 141 of file elxElastixMain.h.
Typedef for class that populates a ComponentDatabase.
Definition at line 140 of file elxElastixMain.h.
Definition at line 121 of file elxElastixMain.h.
Definition at line 119 of file elxElastixMain.h.
typedef SmartPointer<const Self> elastix::ElastixMain::ConstPointer |
Definition at line 101 of file elxElastixMain.h.
Definition at line 125 of file elxElastixMain.h.
Definition at line 123 of file elxElastixMain.h.
typedef DataObjectType::Pointer elastix::ElastixMain::DataObjectPointer |
Definition at line 115 of file elxElastixMain.h.
typedef DataObject elastix::ElastixMain::DataObjectType |
Definition at line 114 of file elxElastixMain.h.
Definition at line 137 of file elxElastixMain.h.
elastix components.
Definition at line 118 of file elxElastixMain.h.
Definition at line 126 of file elxElastixMain.h.
Definition at line 136 of file elxElastixMain.h.
Definition at line 124 of file elxElastixMain.h.
Definition at line 122 of file elxElastixMain.h.
typedef ObjectType::Pointer elastix::ElastixMain::ObjectPointer |
Definition at line 113 of file elxElastixMain.h.
typedef Object elastix::ElastixMain::ObjectType |
Typedef's. ITK base objects.
Definition at line 107 of file elxElastixMain.h.
typedef ComponentDatabaseType::PixelTypeDescriptionType elastix::ElastixMain::PixelTypeDescriptionType |
Definition at line 135 of file elxElastixMain.h.
typedef SmartPointer<Self> elastix::ElastixMain::Pointer |
Definition at line 100 of file elxElastixMain.h.
typedef ComponentDatabaseType::PtrToCreator elastix::ElastixMain::PtrToCreator |
Definition at line 133 of file elxElastixMain.h.
Standard itk.
Definition at line 98 of file elxElastixMain.h.
typedef Object elastix::ElastixMain::Superclass |
Definition at line 99 of file elxElastixMain.h.
|
protected |
|
protectedvirtual |
|
private |
|
protectedvirtual |
Create a component. Make sure InitDBIndex has been called before. The input is a string, e.g. "MattesMutualInformation".
|
protectedvirtual |
Create components. Reads from the configuration object (using the provided key) the names of the components to create and store their instantations in the provided ObjectContainer. The errorcode remains what it was if no error occurred. Otherwise it's set to 1. The 'key' is the entry inspected in the parameter file A component named 'defaultComponentName' is used when the key is not found in the parameter file. If "" is used, no default is assumed, and an error is given when the component was not specified. If the flag mandatoryComponent is set to false, no error is given, because the component may not be needed anyway.
NB: this function should never be called with: ( !mandatoryComponent && defaultComponentName != "" ) == true
|
virtual |
Enter the command line parameters, which were given by the user, if elastix.exe is used to do a registration. The Configuration object will be initialized in this way.
|
virtual |
Run-time type information (and related methods).
Reimplemented in elastix::TransformixMain.
|
inlinestatic |
Functions to get/set the ComponentDatabase.
Definition at line 250 of file elxElastixMain.h.
|
virtual |
|
virtual |
Returns the Index that is used in elx::ComponentDatabase.
|
virtual |
Functions to get pointers to the elastix components. The components are returned as Object::Pointer. Before calling this functions, call run().
|
virtual |
Convenience function that returns the elastix component as a pointer to an ElastixBaseType. Use only after having called run()!
unsigned int elastix::ElastixMain::GetElastixLevel | ( | void | ) |
|
virtual |
Get the final transform (the result of running elastix). You may pass this as an InitialTransform in an other instantiation of ElastixMain. Only valid after calling Run()!
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
unsigned int elastix::ElastixMain::GetTotalNumberOfElastixLevels | ( | void | ) |
|
protectedvirtual |
InitDBIndex sets m_DBIndex by asking the ImageTypes from the Configuration object and obtaining the corresponding DB index from the ComponentDatabase.
Reimplemented in elastix::TransformixMain.
|
protectedvirtual |
|
static |
Method for creation through the object factory.
|
private |
|
virtual |
Start the registration run() without command line parameters; it assumes that EnterCommandLineParameters has been invoked already, or that m_Configuration is initialised in a different way.
Reimplemented in elastix::TransformixMain.
|
virtual |
Start the registration this version of 'run' first calls this->EnterCommandLineParameters(argc,argv) and then calls run().
Reimplemented in elastix::TransformixMain.
|
inlinestatic |
Definition at line 255 of file elxElastixMain.h.
|
virtual |
Set/Get the configuration object.
void elastix::ElastixMain::SetElastixLevel | ( | unsigned int | level | ) |
Get and Set the elastix level.
|
virtual |
Set/Get functions for the fixed and moving images (if these are not used, elastix tries to read them from disk, according to the command line parameters).
|
virtual |
|
virtual |
Set/Get functions for the description of the imagetype.
|
virtual |
Set/Get functions for the fixed and moving masks (if these are not used, elastix tries to read them from disk, according to the command line parameters).
|
virtual |
Set/Get the initial transform the type is ObjectType, but the pointer should actually point to an itk::Transform type (or inherited from that one).
|
virtual |
Set maximum number of threads, which is read from the command line arguments. Syntax: -threads <int>
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Set/Get the original fixed image direction as a flat array (d11 d21 d31 d21 d22 etc )
|
virtual |
Set process priority, which is read from the command line arguments. Syntax: -priority <high, belownormal>
void elastix::ElastixMain::SetTotalNumberOfElastixLevels | ( | unsigned int | levels | ) |
Get and Set the total number of elastix levels.
|
static |
|
protected |
The configuration object, containing the parameters and command-line arguments.
Definition at line 276 of file elxElastixMain.h.
|
protected |
Definition at line 284 of file elxElastixMain.h.
|
protected |
A pointer to elastix as an itk::object. In run() this pointer will be assigned to an ElastixTemplate<>.
Definition at line 273 of file elxElastixMain.h.
|
protected |
A transform that is the result of registration.
Definition at line 293 of file elxElastixMain.h.
|
protected |
The images and masks.
Definition at line 287 of file elxElastixMain.h.
|
protected |
Definition at line 280 of file elxElastixMain.h.
|
protected |
Description of the ImageTypes.
Definition at line 279 of file elxElastixMain.h.
|
protected |
Definition at line 289 of file elxElastixMain.h.
|
protected |
The initial transform.
Definition at line 296 of file elxElastixMain.h.
|
protected |
Definition at line 288 of file elxElastixMain.h.
|
protected |
Definition at line 282 of file elxElastixMain.h.
|
protected |
Definition at line 281 of file elxElastixMain.h.
|
protected |
Definition at line 290 of file elxElastixMain.h.
|
protected |
Definition at line 298 of file elxElastixMain.h.
|
staticprotected |
Definition at line 300 of file elxElastixMain.h.
|
staticprotected |
Definition at line 301 of file elxElastixMain.h.
Generated on 06-12-2013 for elastix by ![]() |
![]() |