Go to the documentation of this file.
18 #ifndef __elxElastixTemplate_h
19 #define __elxElastixTemplate_h
22 #include "itkObject.h"
24 #include "itkObjectFactory.h"
25 #include "itkCommand.h"
27 #include "itkImageFileReader.h"
28 #include "itkImageToImageMetric.h"
41 #include "itkTimeProbe.h"
60 #define elxGetBaseMacro( _name, _elxbasetype ) \
61 virtual _elxbasetype * GetElx##_name##Base( void ) const \
63 return this->GetElx##_name##Base( 0 ); \
65 _elxbasetype * GetElx##_name##Base( unsigned int idx ) const \
67 if( idx < this->GetNumberOf##_name##s() ) \
69 return dynamic_cast< _elxbasetype * >( \
70 this->Get##_name##Container()->ElementAt( idx ).GetPointer() ); \
113 template<
class TFixedImage,
class TMovingImage >
315 itkGetConstMacro( IterationCounter,
unsigned int );
318 itkGetStringMacro( CurrentTransformParameterFileName );
328 return Superclass2::GetConfiguration();
421 #undef elxGetBaseMacro
423 #ifndef ITK_MANUAL_INSTANTIATION
424 #include "elxElastixTemplate.hxx"
427 #endif // end #ifndef __elxElastixTemplate_h
MovingImageType::Pointer MovingImagePointer
itk::SmartPointer< const Self > ConstPointer
Superclass2::ConfigurationType ConfigurationType
itk::CostFunction::ParametersValueType CoordRepType
virtual FixedImageType * GetFixedImage(void) const
AfterEachResolutionCommandPointer m_AfterEachResolutionCommand
virtual ResultImageType * GetResultImage(unsigned int idx) const
itk::SmartPointer< Self > Pointer
TFixedImage FixedImageType
BeforeEachResolutionCommandPointer m_BeforeEachResolutionCommand
virtual int SetResultImage(DataObjectPointer result_image)
MovingImageType OutputImageType
The BaseComponent class is a class that all elastix components should inherit from.
itkStaticConstMacro(MovingDimension, unsigned int, MovingImageType::ImageDimension)
elxGetBaseMacro(Metric, MetricBaseType)
This class is the elastix base class for all Metrics.
int(BaseComponentType::* PtrToMemberFunction2)(void)
ElastixTemplate(const Self &)
Superclass2::DataObjectType DataObjectType
Superclass2::FileNameContainerPointer FileNameContainerPointer
Superclass2::FileNameContainerType FileNameContainerType
InterpolatorBase< Self > InterpolatorBaseType
itk::SimpleMemberCommand< Self > BeforeEachResolutionCommandType
virtual MovingImageType * GetMovingImage(unsigned int idx) const
unsigned int m_IterationCounter
BaseComponent BaseComponentType
itk::Image< MaskPixelType, FixedDimension > FixedMaskType
Superclass2::ObjectContainerPointer ObjectContainerPointer
A class that deals with user given parameters and command line arguments.
virtual int SetResultDeformationField(DataObjectPointer result_deformationfield)
itk::DataObject ResultDeformationFieldType
virtual MovingMaskType * GetMovingMask(void) const
virtual ~ElastixTemplate()
itkStaticConstMacro(Dimension, unsigned int, FixedImageType::ImageDimension)
Superclass2::ObjectContainerType ObjectContainerType
ParameterMapType m_TransformParametersMap
virtual void AfterRegistration(void)
itk::DataObject ResultImageType
int CallInEachComponentInt(PtrToMemberFunction2 func)
virtual ResultDeformationFieldType * GetResultDeformationField(unsigned int idx) const
ConfigurationType::Pointer ConfigurationPointer
FixedMaskType::Pointer FixedMaskPointer
virtual void CreateTransformParametersMap(void)
This class creates an interface for elastix.
itk::ParameterMapInterface::ParameterMapType ParameterMapType
This class is the elastix base class for all Registration schemes.
DataObjectContainerType::Pointer DataObjectContainerPointer
TimerType m_ResolutionTimer
AfterEachIterationCommandPointer m_AfterEachIterationCommand
This class is the elastix base class for all Optimizers.
elxGetBaseMacro(Interpolator, InterpolatorBaseType)
virtual void SetConfigurations(std::vector< ConfigurationPointer > &configurations)
itk::DataObject DataObjectType
virtual ResultDeformationFieldType * GetResultDeformationField(void) const
FixedImagePyramidBase< Self > FixedImagePyramidBaseType
FixedImageType::DirectionType FixedImageDirectionType
virtual void BeforeEachResolution(void)
Superclass2::ObjectPointer ObjectPointer
std::ofstream m_IterationInfoFile
Superclass2::DataObjectContainerPointer DataObjectContainerPointer
MovingImagePyramidBase< Self > MovingImagePyramidBaseType
TimerType m_IterationTimer
ResampleInterpolatorBase< Self > ResampleInterpolatorBaseType
virtual void ConfigureComponents(Self *This)
Superclass2::ObjectType ObjectType
void(BaseComponentType::* PtrToMemberFunction)(void)
TMovingImage MovingImageType
The main elastix class, which connects components and invokes the BeforeRegistration(),...
itk::SimpleMemberCommand< Self > AfterEachIterationCommandType
elxGetBaseMacro(FixedImagePyramid, FixedImagePyramidBaseType)
Superclass2::DataObjectContainerType DataObjectContainerType
virtual FixedMaskType * GetFixedMask(unsigned int idx) const
itk::VectorContainer< unsigned int, ObjectPointer > ObjectContainerType
elx::ImageSamplerBase< Self > ImageSamplerBaseType
virtual int BeforeAllTransformix(void)
This class is the elastix base class for all MovingImagePyramids.
Superclass2::MultipleImageLoader< FixedMaskType > FixedMaskLoaderType
itk::VectorContainer< unsigned int, std::string > FileNameContainerType
virtual int BeforeAll(void)
elx::TransformBase< Self > TransformBaseType
elxGetBaseMacro(Registration, RegistrationBaseType)
itk::VectorContainer< unsigned int, DataObjectPointer > DataObjectContainerType
RegistrationBase< Self > RegistrationBaseType
AfterEachIterationCommandType::Pointer AfterEachIterationCommandPointer
virtual bool GetOriginalFixedImageDirection(FixedImageDirectionType &direction) const
Superclass2::ConfigurationPointer ConfigurationPointer
MovingImageType InputImageType
BeforeEachResolutionCommandType::Pointer BeforeEachResolutionCommandPointer
virtual void SetOriginalFixedImageDirection(const FixedImageDirectionType &arg)
virtual FixedMaskType * GetFixedMask(void) const
AfterEachResolutionCommandType::Pointer AfterEachResolutionCommandPointer
elxGetBaseMacro(Transform, TransformBaseType)
ObjectType::Pointer ObjectPointer
MetricBase< Self > MetricBaseType
std::string m_CurrentTransformParameterFileName
This class is the elastix base class for all ResampleInterpolators.
virtual FixedImageType * GetFixedImage(unsigned int idx) const
virtual MovingImageType * GetMovingImage(void) const
elxGetBaseMacro(ResampleInterpolator, ResampleInterpolatorBaseType)
itk::ParameterMapInterface::ParameterMapType ParameterMapType
virtual void AfterEachResolution(void)
void operator=(const Self &)
virtual ConfigurationPointer GetConfiguration(const vcl_size_t index)
elxGetBaseMacro(ImageSampler, ImageSamplerBaseType)
FixedImageType::Pointer FixedImagePointer
itk::Image< MaskPixelType, MovingDimension > MovingMaskType
OptimizerBase< Self > OptimizerBaseType
ResamplerBase< Self > ResamplerBaseType
virtual ConfigurationPointer GetConfiguration()
virtual void AfterEachIteration(void)
Superclass2::MultipleImageLoader< MovingMaskType > MovingMaskLoaderType
FileNameContainerType::Pointer FileNameContainerPointer
ParameterFileParser::ParameterMapType ParameterMapType
elxGetBaseMacro(Optimizer, OptimizerBaseType)
itk::SimpleMemberCommand< Self > AfterEachResolutionCommandType
Superclass2::MultipleImageLoader< MovingImageType > MovingImageLoaderType
virtual ResultImageType * GetResultImage(void) const
Superclass2::DataObjectPointer DataObjectPointer
unsigned char MaskPixelType
MovingMaskType::Pointer MovingMaskPointer
ObjectContainerType::Pointer ObjectContainerPointer
This class is the elastix base class for all Interpolators.
virtual void OpenIterationInfoFile(void)
This class is a base class for any image sampler.
virtual void BeforeRegistration(void)
virtual void CreateTransformParameterFile(const std::string FileName, const bool ToLog)
void CallInEachComponent(PtrToMemberFunction func)
This class is the elastix base class for all FixedImagePyramids.
virtual ParameterMapType GetTransformParametersMap(void) const
elxGetBaseMacro(MovingImagePyramid, MovingImagePyramidBaseType)
elxGetBaseMacro(Resampler, ResamplerBaseType)
virtual MovingMaskType * GetMovingMask(unsigned int idx) const
std::vector< ConfigurationPointer > m_Configurations
DataObjectType::Pointer DataObjectPointer
Superclass2::MultipleImageLoader< FixedImageType > FixedImageLoaderType
itkStaticConstMacro(FixedDimension, unsigned int, FixedImageType::ImageDimension)
virtual int ApplyTransform(void)
Generated on OURCE_DATE_EPOCH for elastix by 1.8.18 |
|