![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxElastixMain.h>
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 2)
(MovingImageDimension 2)
(FixedInternalImagePixelType "float")
(MovingInternalImagePixelType "float")
(FixedImageDimension 2)
(MovingImageDimension 2)
(FixedInternalImagePixelType "float")
(MovingInternalImagePixelType "float")
Definition at line 93 of file elxElastixMain.h.
Reimplemented in elastix::TransformixMain.
Definition at line 120 of file elxElastixMain.h.
Reimplemented in elastix::TransformixMain.
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.
Reimplemented in elastix::TransformixMain.
Definition at line 131 of file elxElastixMain.h.
typedef ComponentDatabaseType::ComponentDescriptionType elastix::ElastixMain::ComponentDescriptionType |
Reimplemented in elastix::TransformixMain.
Definition at line 134 of file elxElastixMain.h.
Reimplemented in elastix::TransformixMain.
Definition at line 141 of file elxElastixMain.h.
Typedef for class that populates a ComponentDatabase.
Reimplemented in elastix::TransformixMain.
Definition at line 140 of file elxElastixMain.h.
Reimplemented in elastix::TransformixMain.
Definition at line 121 of file elxElastixMain.h.
Reimplemented in elastix::TransformixMain.
Definition at line 119 of file elxElastixMain.h.
typedef SmartPointer<const Self> elastix::ElastixMain::ConstPointer |
Reimplemented in elastix::TransformixMain.
Definition at line 101 of file elxElastixMain.h.
Reimplemented in elastix::TransformixMain.
Definition at line 125 of file elxElastixMain.h.
Reimplemented in elastix::TransformixMain.
Definition at line 123 of file elxElastixMain.h.
typedef DataObjectType::Pointer elastix::ElastixMain::DataObjectPointer |
Reimplemented in elastix::TransformixMain.
Definition at line 115 of file elxElastixMain.h.
typedef DataObject elastix::ElastixMain::DataObjectType |
Reimplemented in elastix::TransformixMain.
Definition at line 114 of file elxElastixMain.h.
Reimplemented in elastix::TransformixMain.
Definition at line 137 of file elxElastixMain.h.
elastix components.
Reimplemented in elastix::TransformixMain.
Definition at line 118 of file elxElastixMain.h.
Definition at line 126 of file elxElastixMain.h.
Reimplemented in elastix::TransformixMain.
Definition at line 136 of file elxElastixMain.h.
Reimplemented in elastix::TransformixMain.
Definition at line 124 of file elxElastixMain.h.
Reimplemented in elastix::TransformixMain.
Definition at line 122 of file elxElastixMain.h.
typedef ObjectType::Pointer elastix::ElastixMain::ObjectPointer |
Reimplemented in elastix::TransformixMain.
Definition at line 113 of file elxElastixMain.h.
typedef Object elastix::ElastixMain::ObjectType |
Typedef's. ITK base objects.
Reimplemented in elastix::TransformixMain.
Definition at line 107 of file elxElastixMain.h.
typedef ComponentDatabaseType::PixelTypeDescriptionType elastix::ElastixMain::PixelTypeDescriptionType |
Reimplemented in elastix::TransformixMain.
Definition at line 135 of file elxElastixMain.h.
typedef SmartPointer<Self> elastix::ElastixMain::Pointer |
Reimplemented in elastix::TransformixMain.
Definition at line 100 of file elxElastixMain.h.
Reimplemented in elastix::TransformixMain.
Definition at line 133 of file elxElastixMain.h.
Standard itk.
Reimplemented in elastix::TransformixMain.
Definition at line 98 of file elxElastixMain.h.
typedef Object elastix::ElastixMain::Superclass |
Reimplemented in elastix::TransformixMain.
Definition at line 99 of file elxElastixMain.h.
elastix::ElastixMain::ElastixMain | ( | ) | [protected] |
virtual elastix::ElastixMain::~ElastixMain | ( | ) | [protected, virtual] |
elastix::ElastixMain::ElastixMain | ( | const Self & | ) | [private] |
virtual ObjectPointer elastix::ElastixMain::CreateComponent | ( | const ComponentDescriptionType & | name | ) | [protected, virtual] |
Create a component. Make sure InitDBIndex has been called before. The input is a string, e.g. "MattesMutualInformation".
virtual ObjectContainerPointer elastix::ElastixMain::CreateComponents | ( | const ComponentDescriptionType & | key, |
const ComponentDescriptionType & | defaultComponentName, | ||
int & | errorcode, | ||
bool | mandatoryComponent = true |
||
) | [protected, virtual] |
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 void elastix::ElastixMain::EnterCommandLineArguments | ( | ArgumentMapType & | argmap | ) | [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 const char* elastix::ElastixMain::GetClassName | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented in elastix::TransformixMain.
static ComponentDatabase* elastix::ElastixMain::GetComponentDatabase | ( | void | ) | [inline, static] |
Functions to get/set the ComponentDatabase.
Definition at line 250 of file elxElastixMain.h.
virtual ConfigurationType* elastix::ElastixMain::GetConfiguration | ( | ) | [virtual] |
virtual DBIndexType elastix::ElastixMain::GetDBIndex | ( | ) | const [virtual] |
Returns the Index that is used in elx::ComponentDatabase.
virtual ObjectType* elastix::ElastixMain::GetElastix | ( | ) | [virtual] |
Functions to get pointers to the elastix components. The components are returned as Object::Pointer. Before calling this functions, call run().
virtual ElastixBaseType* elastix::ElastixMain::GetElastixBase | ( | void | ) | const [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 ObjectType* elastix::ElastixMain::GetFinalTransform | ( | ) | [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 DataObjectContainerType* elastix::ElastixMain::GetFixedImageContainer | ( | ) | [virtual] |
virtual ImageDimensionType elastix::ElastixMain::GetFixedImageDimension | ( | ) | [virtual] |
virtual PixelTypeDescriptionType elastix::ElastixMain::GetFixedImagePixelType | ( | ) | [virtual] |
virtual DataObjectContainerType* elastix::ElastixMain::GetFixedMaskContainer | ( | ) | [virtual] |
virtual ObjectType* elastix::ElastixMain::GetInitialTransform | ( | ) | [virtual] |
virtual DataObjectContainerType* elastix::ElastixMain::GetMovingImageContainer | ( | ) | [virtual] |
virtual ImageDimensionType elastix::ElastixMain::GetMovingImageDimension | ( | ) | [virtual] |
virtual PixelTypeDescriptionType elastix::ElastixMain::GetMovingImagePixelType | ( | ) | [virtual] |
virtual DataObjectContainerType* elastix::ElastixMain::GetMovingMaskContainer | ( | ) | [virtual] |
virtual const FlatDirectionCosinesType& elastix::ElastixMain::GetOriginalFixedImageDirectionFlat | ( | void | ) | const [virtual] |
unsigned int elastix::ElastixMain::GetTotalNumberOfElastixLevels | ( | void | ) |
virtual int elastix::ElastixMain::InitDBIndex | ( | void | ) | [protected, virtual] |
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.
virtual int elastix::ElastixMain::LoadComponents | ( | void | ) | [protected, virtual] |
static Pointer elastix::ElastixMain::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented in elastix::TransformixMain.
void elastix::ElastixMain::operator= | ( | const Self & | ) | [private] |
Reimplemented in elastix::TransformixMain.
virtual int elastix::ElastixMain::Run | ( | void | ) | [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 int elastix::ElastixMain::Run | ( | ArgumentMapType & | argmap | ) | [virtual] |
Start the registration this version of 'run' first calls this->EnterCommandLineParameters(argc,argv) and then calls run().
Reimplemented in elastix::TransformixMain.
static void elastix::ElastixMain::SetComponentDatabase | ( | ComponentDatabase * | arg | ) | [inline, static] |
Definition at line 255 of file elxElastixMain.h.
virtual void elastix::ElastixMain::SetConfiguration | ( | ConfigurationType * | _arg | ) | [virtual] |
Set/Get the configuration object.
void elastix::ElastixMain::SetElastixLevel | ( | unsigned int | level | ) |
Get and Set the elastix level.
virtual void elastix::ElastixMain::SetFixedImageContainer | ( | DataObjectContainerType * | _arg | ) | [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 void elastix::ElastixMain::SetFixedImageDimension | ( | ImageDimensionType | _arg | ) | [virtual] |
virtual void elastix::ElastixMain::SetFixedImagePixelType | ( | PixelTypeDescriptionType | _arg | ) | [virtual] |
Set/Get functions for the description of the imagetype.
virtual void elastix::ElastixMain::SetFixedMaskContainer | ( | DataObjectContainerType * | _arg | ) | [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 void elastix::ElastixMain::SetInitialTransform | ( | ObjectType * | _arg | ) | [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 void elastix::ElastixMain::SetMaximumNumberOfThreads | ( | void | ) | const [virtual] |
Set maximum number of threads, which is read from the command line arguments. Syntax: -threads <int>
virtual void elastix::ElastixMain::SetMovingImageContainer | ( | DataObjectContainerType * | _arg | ) | [virtual] |
virtual void elastix::ElastixMain::SetMovingImageDimension | ( | ImageDimensionType | _arg | ) | [virtual] |
virtual void elastix::ElastixMain::SetMovingImagePixelType | ( | PixelTypeDescriptionType | _arg | ) | [virtual] |
virtual void elastix::ElastixMain::SetMovingMaskContainer | ( | DataObjectContainerType * | _arg | ) | [virtual] |
virtual void elastix::ElastixMain::SetOriginalFixedImageDirectionFlat | ( | const FlatDirectionCosinesType & | arg | ) | [virtual] |
Set/Get the original fixed image direction as a flat array (d11 d21 d31 d21 d22 etc )
virtual void elastix::ElastixMain::SetProcessPriority | ( | void | ) | const [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 void elastix::ElastixMain::UnloadComponents | ( | void | ) | [static] |
The configuration object, containing the parameters and command-line arguments.
Definition at line 276 of file elxElastixMain.h.
DBIndexType elastix::ElastixMain::m_DBIndex [protected] |
Definition at line 284 of file elxElastixMain.h.
ObjectPointer elastix::ElastixMain::m_Elastix [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.
ObjectPointer elastix::ElastixMain::m_FinalTransform [protected] |
A transform that is the result of registration.
Definition at line 293 of file elxElastixMain.h.
The images and masks.
Definition at line 287 of file elxElastixMain.h.
Definition at line 280 of file elxElastixMain.h.
Description of the ImageTypes.
Definition at line 279 of file elxElastixMain.h.
Definition at line 289 of file elxElastixMain.h.
The initial transform.
Definition at line 296 of file elxElastixMain.h.
Definition at line 288 of file elxElastixMain.h.
Definition at line 282 of file elxElastixMain.h.
Definition at line 281 of file elxElastixMain.h.
Definition at line 290 of file elxElastixMain.h.
Definition at line 298 of file elxElastixMain.h.
ComponentDatabasePointer elastix::ElastixMain::s_CDB [static, protected] |
Definition at line 300 of file elxElastixMain.h.
ComponentLoaderPointer elastix::ElastixMain::s_ComponentLoader [static, protected] |
Definition at line 301 of file elxElastixMain.h.
Generated on 24-05-2012 for elastix by ![]() |
![]() |