18#ifndef elxElastixMain_h
19#define elxElastixMain_h
54xoutSetup(
const char * logfilename,
bool setupLogging,
bool setupCout);
65 explicit xoutManager(
const std::string & logfilename,
const bool setupLogging,
const bool setupCout);
236 itkSetObjectMacro(InitialTransform, itk::Object);
394 bool mandatoryComponent =
true);
The ComponentDatabase class is a class that stores the New() functions of all components.
unsigned int ImageDimensionType
std::string PixelTypeDescriptionType
itk::SmartPointer< Self > Pointer
ObjectPointer(*)() PtrToCreator
std::string ComponentDescriptionType
A class that deals with user given parameters and command line arguments.
std::map< std::string, std::string > CommandLineArgumentMapType
itk::SmartPointer< Self > Pointer
This class creates an interface for elastix.
itk::VectorContainer< unsigned int, DataObjectPointer > DataObjectContainerType
std::vector< double > FlatDirectionCosinesType
itk::VectorContainer< unsigned int, ObjectPointer > ObjectContainerType
DataObjectContainerType::Pointer DataObjectContainerPointer
ObjectContainerType::Pointer ObjectContainerPointer
A class with all functionality to configure elastix.
virtual ParameterMapType GetTransformParametersMap() const
itkGetModifiableObjectMacro(ResultDeformationFieldContainer, DataObjectContainerType)
void SetElastixLevel(unsigned int level)
ElastixBase::FlatDirectionCosinesType FlatDirectionCosinesType
virtual int Run(const ArgumentMapType &argmap)
itk::SmartPointer< const Self > ConstPointer
static const ComponentDatabase & GetComponentDatabase()
virtual void EnterCommandLineArguments(const ArgumentMapType &argmap, const std::vector< ParameterMapType > &inputMaps)
itkGetModifiableObjectMacro(InitialTransform, itk::Object)
virtual ObjectPointer CreateComponent(const ComponentDescriptionType &name)
virtual void SetProcessPriority() const
DataObjectContainerPointer m_MovingMaskContainer
unsigned int GetElastixLevel()
itkGetModifiableObjectMacro(MovingImageContainer, DataObjectContainerType)
ImageDimensionType m_MovingImageDimension
itk::SmartPointer< Self > Pointer
ComponentDatabase::ComponentDescriptionType ComponentDescriptionType
ImageDimensionType m_FixedImageDimension
DataObjectContainerPointer m_ResultDeformationFieldContainer
itk::ParameterMapInterface::ParameterMapType ParameterMapType
itkGetModifiableObjectMacro(Elastix, itk::Object)
Configuration::CommandLineArgumentMapType ArgumentMapType
virtual void EnterCommandLineArguments(const ArgumentMapType &argmap, const ParameterMapType &inputMap)
virtual int Run(const ArgumentMapType &argmap, const ParameterMapType &inputMap)
ElastixBase::DataObjectContainerType DataObjectContainerType
DataObjectContainerPointer m_FixedImageContainer
ElastixBase::DataObjectContainerPointer DataObjectContainerPointer
DataObjectContainerPointer m_FixedMaskContainer
itkGetModifiableObjectMacro(MovingMaskContainer, DataObjectContainerType)
virtual void SetOriginalFixedImageDirectionFlat(const FlatDirectionCosinesType &arg)
itk::DataObject::Pointer DataObjectPointer
ITK_DISALLOW_COPY_AND_MOVE(ElastixMain)
ElastixBase::ObjectContainerPointer ObjectContainerPointer
virtual void EnterCommandLineArguments(const ArgumentMapType &argmap)
unsigned int GetTotalNumberOfElastixLevels()
virtual ObjectContainerPointer CreateComponents(const ComponentDescriptionType &key, const ComponentDescriptionType &defaultComponentName, int &errorcode, bool mandatoryComponent=true)
Configuration::Pointer ConfigurationPointer
itkGetModifiableObjectMacro(FixedImageContainer, DataObjectContainerType)
FlatDirectionCosinesType m_OriginalFixedImageDirection
itkGetModifiableObjectMacro(FinalTransform, itk::Object)
itk::Object::Pointer ObjectPointer
ComponentDatabase::PtrToCreator PtrToCreator
ParameterMapType m_TransformParametersMap
ElastixBase & GetElastixBase() const
ComponentDatabase::PixelTypeDescriptionType PixelTypeDescriptionType
DataObjectContainerPointer m_MovingImageContainer
void GetImageInformationFromFile(const std::string &filename, ImageDimensionType &imageDimension) const
std::vector< ConfigurationPointer > m_Configurations
DataObjectContainerPointer m_ResultImageContainer
itkGetModifiableObjectMacro(ResultImageContainer, DataObjectContainerType)
ElastixBase::ObjectContainerType ObjectContainerType
ConfigurationPointer m_Configuration
itkGetModifiableObjectMacro(Configuration, Configuration)
virtual void SetMaximumNumberOfThreads() const
ComponentDatabase::Pointer ComponentDatabasePointer
virtual int InitDBIndex()
PixelTypeDescriptionType m_MovingImagePixelType
virtual const FlatDirectionCosinesType & GetOriginalFixedImageDirectionFlat() const
itkGetModifiableObjectMacro(FixedMaskContainer, DataObjectContainerType)
ObjectPointer m_FinalTransform
ObjectPointer m_InitialTransform
void SetTotalNumberOfElastixLevels(unsigned int levels)
PixelTypeDescriptionType m_FixedImagePixelType
xoutManager(const std::string &logfilename, const bool setupLogging, const bool setupCout)
ITK_DISALLOW_COPY_AND_MOVE(xoutManager)
ParameterFileParser::ParameterMapType ParameterMapType
int xoutSetup(const char *logfilename, bool setupLogging, bool setupCout)
ITK_DISALLOW_COPY_AND_MOVE(Guard)