go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
elastix::TransformixMain Class Reference

#include <elxTransformixMain.h>

Detailed Description

A class with all functionality to configure transformix.

The TransformixMain class inherits from ElastixMain. We overwrite the Run() -function. In the new Run() the Run()-function from the ElastixTemplate-class is not called (as in elxElastixMain.cxx), because this time we don't want to start a registration, but just apply a transformation to an input image.

Definition at line 38 of file elxTransformixMain.h.

+ Inheritance diagram for elastix::TransformixMain:

Public Types

typedef Superclass::ArgumentMapType ArgumentMapType
 
typedef Superclass::ComponentDatabasePointer ComponentDatabasePointer
 
typedef Superclass::ComponentDatabaseType ComponentDatabaseType
 
typedef Superclass::ComponentDescriptionType ComponentDescriptionType
 
typedef Superclass::ComponentLoaderPointer ComponentLoaderPointer
 
typedef Superclass::ComponentLoaderType ComponentLoaderType
 
typedef Superclass::ConfigurationPointer ConfigurationPointer
 
typedef Superclass::ConfigurationType ConfigurationType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::DataObjectContainerPointer DataObjectContainerPointer
 
typedef Superclass::DataObjectContainerType DataObjectContainerType
 
typedef Superclass::DataObjectPointer DataObjectPointer
 
typedef Superclass::DataObjectType DataObjectType
 
typedef Superclass::DBIndexType DBIndexType
 
typedef Superclass::ElastixBaseType ElastixBaseType
 
typedef Superclass::ImageDimensionType ImageDimensionType
 
typedef Superclass::ObjectContainerPointer ObjectContainerPointer
 
typedef Superclass::ObjectContainerType ObjectContainerType
 
typedef Superclass::ObjectPointer ObjectPointer
 
typedef Superclass::ObjectType ObjectType
 
typedef Superclass::ParameterMapType ParameterMapType
 
typedef Superclass::PixelTypeDescriptionType PixelTypeDescriptionType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass::PtrToCreator PtrToCreator
 
typedef TransformixMain Self
 
typedef ElastixMain Superclass
 
- Public Types inherited from elastix::ElastixMain
typedef ConfigurationType::CommandLineArgumentMapType ArgumentMapType
 
typedef ComponentDatabaseType::Pointer ComponentDatabasePointer
 
typedef ComponentDatabase ComponentDatabaseType
 
typedef ComponentDatabaseType::ComponentDescriptionType ComponentDescriptionType
 
typedef ComponentLoaderType::Pointer ComponentLoaderPointer
 
typedef ComponentLoader ComponentLoaderType
 
typedef ConfigurationType::Pointer ConfigurationPointer
 
typedef ElastixBase::ConfigurationType ConfigurationType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef ElastixBase::DataObjectContainerPointer DataObjectContainerPointer
 
typedef ElastixBase::DataObjectContainerType DataObjectContainerType
 
typedef DataObjectType::Pointer DataObjectPointer
 
typedef itk::DataObject DataObjectType
 
typedef ComponentDatabaseType::IndexType DBIndexType
 
typedef ElastixBase ElastixBaseType
 
typedef ElastixBase::FlatDirectionCosinesType FlatDirectionCosinesType
 
typedef ComponentDatabaseType::ImageDimensionType ImageDimensionType
 
typedef ElastixBase::ObjectContainerPointer ObjectContainerPointer
 
typedef ElastixBase::ObjectContainerType ObjectContainerType
 
typedef ObjectType::Pointer ObjectPointer
 
typedef itk::Object ObjectType
 
typedef itk::ParameterMapInterface::ParameterMapType ParameterMapType
 
typedef ComponentDatabaseType::PixelTypeDescriptionType PixelTypeDescriptionType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ComponentDatabaseType::PtrToCreator PtrToCreator
 
typedef ElastixMain Self
 
typedef itk::Object Superclass
 

Public Member Functions

virtual const char * GetClassName () const
 
int Run (const ArgumentMapType &argmap) override
 
int Run (const ArgumentMapType &argmap, const ParameterMapType &inputMap) override
 
virtual int Run (const ArgumentMapType &argmap, const std::vector< ParameterMapType > &inputMaps)
 
int Run (void) override
 
virtual void SetInputImageContainer (DataObjectContainerType *inputImageContainer)
 
- Public Member Functions inherited from elastix::ElastixMain
virtual void EnterCommandLineArguments (const ArgumentMapType &argmap)
 
virtual void EnterCommandLineArguments (const ArgumentMapType &argmap, const ParameterMapType &inputMap)
 
virtual void EnterCommandLineArguments (const ArgumentMapType &argmap, const std::vector< ParameterMapType > &inputMaps)
 
virtual const char * GetClassName () const
 
virtual DBIndexType GetDBIndex () const
 
virtual ElastixBaseTypeGetElastixBase (void) const
 
unsigned int GetElastixLevel (void)
 
virtual ImageDimensionType GetFixedImageDimension ()
 
virtual PixelTypeDescriptionType GetFixedImagePixelType ()
 
virtual ImageDimensionType GetMovingImageDimension ()
 
virtual PixelTypeDescriptionType GetMovingImagePixelType ()
 
virtual const FlatDirectionCosinesTypeGetOriginalFixedImageDirectionFlat (void) const
 
unsigned int GetTotalNumberOfElastixLevels (void)
 
virtual ParameterMapType GetTransformParametersMap (void) const
 
 itkGetModifiableObjectMacro (Configuration, ConfigurationType)
 
 itkGetModifiableObjectMacro (Elastix, ObjectType)
 
 itkGetModifiableObjectMacro (FinalTransform, ObjectType)
 
 itkGetModifiableObjectMacro (FixedImageContainer, DataObjectContainerType)
 
 itkGetModifiableObjectMacro (FixedMaskContainer, DataObjectContainerType)
 
 itkGetModifiableObjectMacro (InitialTransform, ObjectType)
 
 itkGetModifiableObjectMacro (MovingImageContainer, DataObjectContainerType)
 
 itkGetModifiableObjectMacro (MovingMaskContainer, DataObjectContainerType)
 
 itkGetModifiableObjectMacro (ResultDeformationFieldContainer, DataObjectContainerType)
 
 itkGetModifiableObjectMacro (ResultImageContainer, DataObjectContainerType)
 
virtual int Run (const ArgumentMapType &argmap)
 
virtual int Run (const ArgumentMapType &argmap, const ParameterMapType &inputMap)
 
virtual int Run (void)
 
virtual void SetConfiguration (ConfigurationType *_arg)
 
void SetElastixLevel (unsigned int level)
 
virtual void SetFixedImageContainer (DataObjectContainerType *_arg)
 
virtual void SetFixedImageDimension (ImageDimensionType _arg)
 
virtual void SetFixedImagePixelType (PixelTypeDescriptionType _arg)
 
virtual void SetFixedMaskContainer (DataObjectContainerType *_arg)
 
virtual void SetInitialTransform (ObjectType *_arg)
 
virtual void SetMaximumNumberOfThreads (void) const
 
virtual void SetMovingImageContainer (DataObjectContainerType *_arg)
 
virtual void SetMovingImageDimension (ImageDimensionType _arg)
 
virtual void SetMovingImagePixelType (PixelTypeDescriptionType _arg)
 
virtual void SetMovingMaskContainer (DataObjectContainerType *_arg)
 
virtual void SetOriginalFixedImageDirectionFlat (const FlatDirectionCosinesType &arg)
 
virtual void SetProcessPriority (void) const
 
virtual void SetResultDeformationFieldContainer (DataObjectContainerType *_arg)
 
virtual void SetResultImageContainer (DataObjectContainerType *_arg)
 
void SetTotalNumberOfElastixLevels (unsigned int levels)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from elastix::ElastixMain
static ComponentDatabaseGetComponentDatabase (void)
 
static Pointer New ()
 
static void SetComponentDatabase (ComponentDatabase *arg)
 
static void UnloadComponents (void)
 

Protected Member Functions

int InitDBIndex (void) override
 
 TransformixMain ()
 
 ~TransformixMain () override
 
- Protected Member Functions inherited from elastix::ElastixMain
virtual ObjectPointer CreateComponent (const ComponentDescriptionType &name)
 
virtual ObjectContainerPointer CreateComponents (const ComponentDescriptionType &key, const ComponentDescriptionType &defaultComponentName, int &errorcode, bool mandatoryComponent=true)
 
 ElastixMain ()
 
void GetImageInformationFromFile (const std::string &filename, ImageDimensionType &imageDimension) const
 
virtual int InitDBIndex (void)
 
virtual int LoadComponents (void)
 
 ~ElastixMain () override
 

Private Member Functions

void operator= (const Self &)
 
 TransformixMain (const Self &)
 

Additional Inherited Members

- Protected Attributes inherited from elastix::ElastixMain
ConfigurationPointer m_Configuration
 
std::vector< ConfigurationPointerm_Configurations
 
DBIndexType m_DBIndex
 
ObjectPointer m_Elastix
 
ObjectPointer m_FinalTransform
 
DataObjectContainerPointer m_FixedImageContainer
 
ImageDimensionType m_FixedImageDimension
 
PixelTypeDescriptionType m_FixedImagePixelType
 
DataObjectContainerPointer m_FixedMaskContainer
 
ObjectPointer m_InitialTransform
 
DataObjectContainerPointer m_MovingImageContainer
 
ImageDimensionType m_MovingImageDimension
 
PixelTypeDescriptionType m_MovingImagePixelType
 
DataObjectContainerPointer m_MovingMaskContainer
 
FlatDirectionCosinesType m_OriginalFixedImageDirection
 
DataObjectContainerPointer m_ResultDeformationFieldContainer
 
DataObjectContainerPointer m_ResultImageContainer
 
ParameterMapType m_TransformParametersMap
 
- Static Protected Attributes inherited from elastix::ElastixMain
static ComponentDatabasePointer s_CDB
 
static ComponentLoaderPointer s_ComponentLoader
 

Member Typedef Documentation

◆ ArgumentMapType

typedef Superclass::ArgumentMapType elastix::TransformixMain::ArgumentMapType

Definition at line 65 of file elxTransformixMain.h.

◆ ComponentDatabasePointer

typedef Superclass::ComponentDatabasePointer elastix::TransformixMain::ComponentDatabasePointer

Definition at line 76 of file elxTransformixMain.h.

◆ ComponentDatabaseType

typedef Superclass::ComponentDatabaseType elastix::TransformixMain::ComponentDatabaseType

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 75 of file elxTransformixMain.h.

◆ ComponentDescriptionType

typedef Superclass::ComponentDescriptionType elastix::TransformixMain::ComponentDescriptionType

Definition at line 78 of file elxTransformixMain.h.

◆ ComponentLoaderPointer

typedef Superclass::ComponentLoaderPointer elastix::TransformixMain::ComponentLoaderPointer

Definition at line 85 of file elxTransformixMain.h.

◆ ComponentLoaderType

typedef Superclass::ComponentLoaderType elastix::TransformixMain::ComponentLoaderType

Typedef for class that populates a ComponentDatabase.

Definition at line 84 of file elxTransformixMain.h.

◆ ConfigurationPointer

typedef Superclass::ConfigurationPointer elastix::TransformixMain::ConfigurationPointer

Definition at line 66 of file elxTransformixMain.h.

◆ ConfigurationType

typedef Superclass::ConfigurationType elastix::TransformixMain::ConfigurationType

Definition at line 64 of file elxTransformixMain.h.

◆ ConstPointer

typedef itk::SmartPointer< const Self > elastix::TransformixMain::ConstPointer

Definition at line 46 of file elxTransformixMain.h.

◆ DataObjectContainerPointer

typedef Superclass::DataObjectContainerPointer elastix::TransformixMain::DataObjectContainerPointer

Definition at line 70 of file elxTransformixMain.h.

◆ DataObjectContainerType

typedef Superclass::DataObjectContainerType elastix::TransformixMain::DataObjectContainerType

Definition at line 68 of file elxTransformixMain.h.

◆ DataObjectPointer

typedef Superclass::DataObjectPointer elastix::TransformixMain::DataObjectPointer

Definition at line 60 of file elxTransformixMain.h.

◆ DataObjectType

typedef Superclass::DataObjectType elastix::TransformixMain::DataObjectType

Definition at line 59 of file elxTransformixMain.h.

◆ DBIndexType

typedef Superclass::DBIndexType elastix::TransformixMain::DBIndexType

Definition at line 81 of file elxTransformixMain.h.

◆ ElastixBaseType

typedef Superclass::ElastixBaseType elastix::TransformixMain::ElastixBaseType

Elastix components.

Definition at line 63 of file elxTransformixMain.h.

◆ ImageDimensionType

typedef Superclass::ImageDimensionType elastix::TransformixMain::ImageDimensionType

Definition at line 80 of file elxTransformixMain.h.

◆ ObjectContainerPointer

typedef Superclass::ObjectContainerPointer elastix::TransformixMain::ObjectContainerPointer

Definition at line 69 of file elxTransformixMain.h.

◆ ObjectContainerType

typedef Superclass::ObjectContainerType elastix::TransformixMain::ObjectContainerType

Definition at line 67 of file elxTransformixMain.h.

◆ ObjectPointer

typedef Superclass::ObjectPointer elastix::TransformixMain::ObjectPointer

Definition at line 58 of file elxTransformixMain.h.

◆ ObjectType

typedef Superclass::ObjectType elastix::TransformixMain::ObjectType

Typedef's from Superclass. typedef's from itk base Object.

Definition at line 57 of file elxTransformixMain.h.

◆ ParameterMapType

typedef Superclass::ParameterMapType elastix::TransformixMain::ParameterMapType

Typedef that is used in the elastix dll version.

Definition at line 88 of file elxTransformixMain.h.

◆ PixelTypeDescriptionType

typedef Superclass::PixelTypeDescriptionType elastix::TransformixMain::PixelTypeDescriptionType

Definition at line 79 of file elxTransformixMain.h.

◆ Pointer

typedef itk::SmartPointer< Self > elastix::TransformixMain::Pointer

Definition at line 45 of file elxTransformixMain.h.

◆ PtrToCreator

typedef Superclass::PtrToCreator elastix::TransformixMain::PtrToCreator

Definition at line 77 of file elxTransformixMain.h.

◆ Self

Standard itk.

Definition at line 43 of file elxTransformixMain.h.

◆ Superclass

Definition at line 44 of file elxTransformixMain.h.

Constructor & Destructor Documentation

◆ TransformixMain() [1/2]

elastix::TransformixMain::TransformixMain ( )
inlineprotected

Definition at line 107 of file elxTransformixMain.h.

◆ ~TransformixMain()

elastix::TransformixMain::~TransformixMain ( )
overrideprotected

◆ TransformixMain() [2/2]

elastix::TransformixMain::TransformixMain ( const Self )
private

Member Function Documentation

◆ GetClassName()

virtual const char * elastix::TransformixMain::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from elastix::ElastixMain.

◆ InitDBIndex()

int elastix::TransformixMain::InitDBIndex ( void  )
overrideprotectedvirtual

InitDBIndex sets m_DBIndex to the value obtained from the ComponentDatabase.

Reimplemented from elastix::ElastixMain.

◆ New()

static Pointer elastix::TransformixMain::New ( )
static

Method for creation through the object factory.

◆ operator=()

void elastix::TransformixMain::operator= ( const Self )
private

◆ Run() [1/4]

int elastix::TransformixMain::Run ( const ArgumentMapType argmap)
overridevirtual

Overwrite Run( argmap ) from superclass. Simply calls the superclass.

Reimplemented from elastix::ElastixMain.

◆ Run() [2/4]

int elastix::TransformixMain::Run ( const ArgumentMapType argmap,
const ParameterMapType inputMap 
)
overridevirtual

Reimplemented from elastix::ElastixMain.

◆ Run() [3/4]

virtual int elastix::TransformixMain::Run ( const ArgumentMapType argmap,
const std::vector< ParameterMapType > &  inputMaps 
)
virtual

Run version for using transformix as library.

◆ Run() [4/4]

int elastix::TransformixMain::Run ( void  )
overridevirtual

Overwrite Run() from base-class.

Reimplemented from elastix::ElastixMain.

◆ SetInputImageContainer()

virtual void elastix::TransformixMain::SetInputImageContainer ( DataObjectContainerType inputImageContainer)
virtual

Get and Set input- and outputImage.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo