18#ifndef elxElastixFilter_h
19#define elxElastixFilter_h
21#include "itkImageSource.h"
35template<
typename TFixedImage,
typename TMovingImage >
43 typedef itk::SmartPointer< Self >
Pointer;
130 itkSetMacro( InitialTransformParameterFileName, std::string );
131 itkGetMacro( InitialTransformParameterFileName, std::string );
135 itkSetMacro( FixedPointSetFileName, std::string );
136 itkGetMacro( FixedPointSetFileName, std::string );
140 itkSetMacro( MovingPointSetFileName, std::string );
141 itkGetMacro( MovingPointSetFileName, std::string );
145 itkSetMacro( OutputDirectory, std::string );
146 itkGetMacro( OutputDirectory, std::string );
152 itkGetConstMacro( LogFileName, std::string );
156 itkSetMacro( LogToConsole,
bool );
157 itkGetConstReferenceMacro( LogToConsole,
bool );
158 itkBooleanMacro( LogToConsole );
161 itkSetMacro( LogToFile,
bool );
162 itkGetConstReferenceMacro( LogToFile,
bool );
163 itkBooleanMacro( LogToFile );
165 itkSetMacro( NumberOfThreads,
int );
166 itkGetMacro( NumberOfThreads,
int );
209#ifndef ITK_MANUAL_INSTANTIATION
210#include "elxElastixFilter.hxx"
itk::ProcessObject::DataObjectIdentifierType DataObjectIdentifierType
ElastixFilter(const Self &)
ElastixMainType::ObjectPointer ElastixMainObjectPointer
FixedImageConstPointer GetFixedImage(const unsigned int index) const
ElastixMainType::DataObjectContainerType DataObjectContainerType
ParameterObjectType::ParameterMapType ParameterMapType
virtual void AddMovingImage(TMovingImage *movingImage)
ParameterObjectType::ConstPointer ParameterObjectConstPointer
FixedImageConstPointer GetFixedImage(void) const
MovingImageConstPointer GetMovingImage(const unsigned int index) const
virtual void RemoveMovingMask(void)
ElastixMainType::FlatDirectionCosinesType FlatDirectionCosinesType
virtual void GenerateData(void) override
FixedMaskType::Pointer FixedMaskPointer
ParameterObjectType * GetParameterObject(void)
const ParameterObjectType * GetTransformParameterObject(void) const
void RemoveLogFileName(void)
itk::ProcessObject::NameArray NameArrayType
bool IsInputOfType(const DataObjectIdentifierType &InputOfType, DataObjectIdentifierType inputName)
ElastixMainType::DataObjectContainerPointer DataObjectContainerPointer
unsigned int GetNumberOfInputsOfType(const DataObjectIdentifierType &intputType)
virtual void RemoveInitialTransformParameterFileName(void)
itk::Image< unsigned char, MovingImageDimension > MovingMaskType
unsigned int GetNumberOfMovingImages(void) const
const ParameterObjectType * GetParameterObject(void) const
ArgumentMapType::value_type ArgumentMapEntryType
std::string m_LogFileName
elastix::ElastixMain ElastixMainType
virtual void SetParameterObject(ParameterObjectType *parameterObject)
itk::ImageSource< TFixedImage > Superclass
itk::SmartPointer< const Self > ConstPointer
itkStaticConstMacro(MovingImageDimension, unsigned int, TMovingImage::ImageDimension)
void RemoveInputsOfType(const DataObjectIdentifierType &inputName)
void RemoveOutputDirectory()
void SetLogFileName(const std::string logFileName)
ParameterObjectType::ParameterValueVectorType ParameterValueVectorType
FixedMaskConstPointer GetFixedMask(void) const
std::string m_OutputDirectory
DataObjectContainerType::Iterator DataObjectContainerIterator
std::string MakeUniqueName(const DataObjectIdentifierType &key)
void RemoveMovingPointSetFileName(void)
std::vector< ElastixMainPointer > ElastixMainVectorType
TMovingImage::Pointer MovingImagePointer
ElastixMainType::Pointer ElastixMainPointer
std::string m_InitialTransformParameterFileName
unsigned int GetNumberOfFixedImages(void) const
TFixedImage::Pointer FixedImagePointer
virtual void AddFixedMask(FixedMaskType *fixedMask)
MovingMaskType::Pointer MovingMaskConstPointer
itk::Image< unsigned char, FixedImageDimension > FixedMaskType
FixedMaskConstPointer GetFixedMask(const unsigned int index) const
itk::SmartPointer< Self > Pointer
ParameterObjectType * GetTransformParameterObject(void)
unsigned int GetNumberOfMovingMasks(void) const
std::string m_FixedPointSetFileName
TFixedImage::ConstPointer FixedImageConstPointer
FixedMaskType::Pointer FixedMaskConstPointer
MovingMaskConstPointer GetMovingMask(const unsigned int index) const
itkStaticConstMacro(FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
virtual void SetFixedMask(FixedMaskType *fixedMask)
virtual void AddFixedImage(TFixedImage *fixedImage)
MovingImageConstPointer GetMovingImage(void) const
TMovingImage::ConstPointer MovingImageConstPointer
itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
ParameterObject ParameterObjectType
virtual void SetMovingImage(TMovingImage *movingImages)
void operator=(const Self &)
virtual void AddMovingMask(MovingMaskType *movingMask)
virtual void SetMovingMask(MovingMaskType *movingMask)
ParameterObjectType::ParameterMapVectorType ParameterMapVectorType
MovingMaskConstPointer GetMovingMask(void) const
ParameterObjectType::Pointer ParameterObjectPointer
std::string m_MovingPointSetFileName
MovingMaskType::Pointer MovingMaskPointer
unsigned int GetNumberOfFixedMasks(void) const
virtual void SetFixedImage(TFixedImage *fixedImage)
void RemoveFixedPointSetFileName(void)
ElastixMainType::ArgumentMapType ArgumentMapType
void RemoveFixedMask(void)
A class with all functionality to configure elastix.
ElastixBase::FlatDirectionCosinesType FlatDirectionCosinesType
ObjectType::Pointer ObjectPointer
ElastixBase::DataObjectContainerType DataObjectContainerType
ConfigurationType::CommandLineArgumentMapType ArgumentMapType
itk::SmartPointer< Self > Pointer
ElastixBase::DataObjectContainerPointer DataObjectContainerPointer
std::map< ParameterKeyType, ParameterValueVectorType > ParameterMapType
itk::SmartPointer< const Self > ConstPointer
std::vector< ParameterValueType > ParameterValueVectorType
itk::SmartPointer< Self > Pointer
std::vector< ParameterMapType > ParameterMapVectorType