18#ifndef __elxElastixMain_h
19#define __elxElastixMain_h
51extern int xoutSetup(
const char * logfilename,
bool setupLogging,
bool setupCout );
245 const std::vector< ParameterMapType > & inputMaps );
277 return s_CDB.GetPointer();
373 bool mandatoryComponent =
true );
The ComponentDatabase class is a class that stores the New() functions of all components.
std::string ComponentDescriptionType
ObjectPointer(* PtrToCreator)(void)
std::string PixelTypeDescriptionType
itk::SmartPointer< Self > Pointer
Determines which components (metrics, transforms, etc.) are available.
itk::SmartPointer< Self > Pointer
A class that deals with user given parameters and command line arguments.
itk::SmartPointer< Self > Pointer
std::map< std::string, std::string > CommandLineArgumentMapType
This class creates an interface for elastix.
itk::VectorContainer< unsigned int, ObjectPointer > ObjectContainerType
itk::VectorContainer< unsigned int, DataObjectPointer > DataObjectContainerType
DataObjectContainerType::Pointer DataObjectContainerPointer
std::vector< double > FlatDirectionCosinesType
ObjectContainerType::Pointer ObjectContainerPointer
A class with all functionality to configure elastix.
itkGetModifiableObjectMacro(ResultDeformationFieldContainer, DataObjectContainerType)
ElastixBase::FlatDirectionCosinesType FlatDirectionCosinesType
void SetElastixLevel(unsigned int level)
virtual int Run(const ArgumentMapType &argmap)
ConfigurationType::Pointer ConfigurationPointer
virtual void SetMaximumNumberOfThreads(void) const
ComponentLoaderType::Pointer ComponentLoaderPointer
void operator=(const Self &)
virtual ElastixBaseType * GetElastixBase(void) const
ComponentDatabaseType::IndexType DBIndexType
unsigned int GetElastixLevel(void)
virtual void EnterCommandLineArguments(const ArgumentMapType &argmap, const std::vector< ParameterMapType > &inputMaps)
ElastixMain(const Self &)
itk::SmartPointer< const Self > ConstPointer
virtual ObjectPointer CreateComponent(const ComponentDescriptionType &name)
ObjectType::Pointer ObjectPointer
static ComponentDatabasePointer s_CDB
virtual const FlatDirectionCosinesType & GetOriginalFixedImageDirectionFlat(void) const
DataObjectContainerPointer m_MovingMaskContainer
itkGetModifiableObjectMacro(MovingImageContainer, DataObjectContainerType)
ImageDimensionType m_MovingImageDimension
itkGetModifiableObjectMacro(FinalTransform, ObjectType)
unsigned int GetTotalNumberOfElastixLevels(void)
itk::DataObject DataObjectType
ComponentDatabaseType::PtrToCreator PtrToCreator
ImageDimensionType m_FixedImageDimension
DataObjectType::Pointer DataObjectPointer
ComponentDatabase ComponentDatabaseType
DataObjectContainerPointer m_ResultDeformationFieldContainer
ElastixBase ElastixBaseType
ComponentDatabaseType::ComponentDescriptionType ComponentDescriptionType
virtual void EnterCommandLineArguments(const ArgumentMapType &argmap, const ParameterMapType &inputMap)
virtual int Run(const ArgumentMapType &argmap, const ParameterMapType &inputMap)
virtual int InitDBIndex(void)
ComponentLoader ComponentLoaderType
DataObjectContainerPointer m_FixedImageContainer
std::vector< ConfigurationPointer > m_Configurations
ElastixBase::DataObjectContainerType DataObjectContainerType
DataObjectContainerPointer m_FixedMaskContainer
itkGetModifiableObjectMacro(MovingMaskContainer, DataObjectContainerType)
virtual void SetOriginalFixedImageDirectionFlat(const FlatDirectionCosinesType &arg)
virtual int LoadComponents(void)
virtual void EnterCommandLineArguments(const ArgumentMapType &argmap)
ComponentDatabaseType::PixelTypeDescriptionType PixelTypeDescriptionType
virtual ObjectContainerPointer CreateComponents(const ComponentDescriptionType &key, const ComponentDescriptionType &defaultComponentName, int &errorcode, bool mandatoryComponent=true)
ElastixBase::ObjectContainerType ObjectContainerType
static ComponentLoaderPointer s_ComponentLoader
itkGetModifiableObjectMacro(FixedImageContainer, DataObjectContainerType)
static ComponentDatabase * GetComponentDatabase(void)
FlatDirectionCosinesType m_OriginalFixedImageDirection
virtual ParameterMapType GetTransformParametersMap(void) const
ConfigurationType::CommandLineArgumentMapType ArgumentMapType
ParameterMapType m_TransformParametersMap
ComponentDatabaseType::Pointer ComponentDatabasePointer
DataObjectContainerPointer m_MovingImageContainer
void GetImageInformationFromFile(const std::string &filename, ImageDimensionType &imageDimension) const
ElastixBase::ConfigurationType ConfigurationType
itkGetModifiableObjectMacro(Configuration, ConfigurationType)
itk::ParameterMapInterface::ParameterMapType ParameterMapType
static void UnloadComponents(void)
DataObjectContainerPointer m_ResultImageContainer
itkGetModifiableObjectMacro(ResultImageContainer, DataObjectContainerType)
itk::SmartPointer< Self > Pointer
static void SetComponentDatabase(ComponentDatabase *arg)
ConfigurationPointer m_Configuration
itkGetModifiableObjectMacro(InitialTransform, ObjectType)
ComponentDatabaseType::ImageDimensionType ImageDimensionType
PixelTypeDescriptionType m_MovingImagePixelType
itkGetModifiableObjectMacro(Elastix, ObjectType)
virtual void SetProcessPriority(void) const
itkGetModifiableObjectMacro(FixedMaskContainer, DataObjectContainerType)
ElastixBase::ObjectContainerPointer ObjectContainerPointer
ObjectPointer m_FinalTransform
ObjectPointer m_InitialTransform
ElastixBase::DataObjectContainerPointer DataObjectContainerPointer
void SetTotalNumberOfElastixLevels(unsigned int levels)
PixelTypeDescriptionType m_FixedImagePixelType
ParameterFileParser::ParameterMapType ParameterMapType
int xoutSetup(const char *logfilename, bool setupLogging, bool setupCout)