![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxElastixTemplate.h>
Static Public Member Functions | |
static Pointer | New () |
Protected Types | |
typedef Superclass2::MultipleImageLoader < FixedImageType > | FixedImageLoaderType |
typedef Superclass2::MultipleImageLoader < FixedMaskType > | FixedMaskLoaderType |
typedef Superclass2::MultipleImageLoader < MovingImageType > | MovingImageLoaderType |
typedef Superclass2::MultipleImageLoader < MovingMaskType > | MovingMaskLoaderType |
Protected Member Functions | |
void | CallInEachComponent (PtrToMemberFunction func) |
int | CallInEachComponentInt (PtrToMemberFunction2 func) |
virtual void | ConfigureComponents (Self *This) |
virtual void | CreateTransformParameterFile (const std::string FileName, const bool ToLog) |
ElastixTemplate () | |
virtual void | OpenIterationInfoFile (void) |
virtual void | SetOriginalFixedImageDirection (const FixedImageDirectionType &arg) |
virtual | ~ElastixTemplate () |
![]() | |
ElastixBase () | |
virtual | ~ElastixBase () |
![]() | |
BaseComponent () | |
virtual | ~BaseComponent () |
Private Member Functions | |
ElastixTemplate (const Self &) | |
void | operator= (const Self &) |
The main elastix class, which connects components and invokes the BeforeRegistration(), BeforeEachResolution(), etc. methods.
The ElastixTemplate class ...
WriteTransformParametersEachIteration: Controls whether to save a transform parameter file to disk in every iteration.
example: (WriteTransformParametersEachIteration "true")
This parameter can not be specified for each resolution separately. Default value: "false".
WriteTransformParametersEachResolution: Controls whether to save a transform parameter file to disk in every resolution.
example: (WriteTransformParametersEachResolution "true")
This parameter can not be specified for each resolution separately. Default value: "false".
UseDirectionCosines: Controls whether to use or ignore the direction cosines (world matrix, transform matrix) set in the images. Voxel spacing and image origin are always taken into account, regardless the setting of this parameter.
example: (UseDirectionCosines "true")
Default: false. Recommended: true. The default value is false for backward compatibility reasons. This parameter was introduced in elastix 4.3. Setting it to false means that you choose to ignore important information from the image, which relates voxel coordinates to world coordinates. Ignoring it may easily lead to left/right swaps for example, which could skrew up a (medical) analysis.
Definition at line 110 of file elxElastixTemplate.h.
typedef AfterEachIterationCommandType::Pointer elastix::ElastixTemplate< TFixedImage, TMovingImage >::AfterEachIterationCommandPointer |
Definition at line 178 of file elxElastixTemplate.h.
typedef itk::SimpleMemberCommand<Self> elastix::ElastixTemplate< TFixedImage, TMovingImage >::AfterEachIterationCommandType |
Definition at line 175 of file elxElastixTemplate.h.
typedef AfterEachResolutionCommandType::Pointer elastix::ElastixTemplate< TFixedImage, TMovingImage >::AfterEachResolutionCommandPointer |
Definition at line 177 of file elxElastixTemplate.h.
typedef itk::SimpleMemberCommand<Self> elastix::ElastixTemplate< TFixedImage, TMovingImage >::AfterEachResolutionCommandType |
Definition at line 174 of file elxElastixTemplate.h.
typedef BaseComponent elastix::ElastixTemplate< TFixedImage, TMovingImage >::BaseComponentType |
Definition at line 166 of file elxElastixTemplate.h.
typedef BeforeEachResolutionCommandType::Pointer elastix::ElastixTemplate< TFixedImage, TMovingImage >::BeforeEachResolutionCommandPointer |
Definition at line 176 of file elxElastixTemplate.h.
typedef itk::SimpleMemberCommand<Self> elastix::ElastixTemplate< TFixedImage, TMovingImage >::BeforeEachResolutionCommandType |
Commands that react on Events and call Self::Function(void).
Definition at line 173 of file elxElastixTemplate.h.
typedef Superclass2::ConfigurationPointer elastix::ElastixTemplate< TFixedImage, TMovingImage >::ConfigurationPointer |
Definition at line 129 of file elxElastixTemplate.h.
typedef Superclass2::ConfigurationType elastix::ElastixTemplate< TFixedImage, TMovingImage >::ConfigurationType |
Typedefs inherited from Superclass2.
Definition at line 125 of file elxElastixTemplate.h.
typedef itk::SmartPointer<const Self> elastix::ElastixTemplate< TFixedImage, TMovingImage >::ConstPointer |
Definition at line 119 of file elxElastixTemplate.h.
typedef itk::CostFunction::ParametersValueType elastix::ElastixTemplate< TFixedImage, TMovingImage >::CoordRepType |
Type for representation of the transform coordinates.
Definition at line 163 of file elxElastixTemplate.h.
typedef Superclass2::DataObjectContainerPointer elastix::ElastixTemplate< TFixedImage, TMovingImage >::DataObjectContainerPointer |
Definition at line 138 of file elxElastixTemplate.h.
typedef Superclass2::DataObjectContainerType elastix::ElastixTemplate< TFixedImage, TMovingImage >::DataObjectContainerType |
Definition at line 135 of file elxElastixTemplate.h.
typedef Superclass2::DataObjectPointer elastix::ElastixTemplate< TFixedImage, TMovingImage >::DataObjectPointer |
Definition at line 133 of file elxElastixTemplate.h.
typedef Superclass2::DataObjectType elastix::ElastixTemplate< TFixedImage, TMovingImage >::DataObjectType |
Definition at line 131 of file elxElastixTemplate.h.
typedef Superclass2::FileNameContainerPointer elastix::ElastixTemplate< TFixedImage, TMovingImage >::FileNameContainerPointer |
Definition at line 139 of file elxElastixTemplate.h.
typedef Superclass2::FileNameContainerType elastix::ElastixTemplate< TFixedImage, TMovingImage >::FileNameContainerType |
Definition at line 136 of file elxElastixTemplate.h.
typedef FixedImageType::DirectionType elastix::ElastixTemplate< TFixedImage, TMovingImage >::FixedImageDirectionType |
Typedef for the UseDirectionCosines option.
Definition at line 160 of file elxElastixTemplate.h.
|
protected |
Classes that contain a function to load multiple images, given a filename container.
Definition at line 276 of file elxElastixTemplate.h.
typedef FixedImageType::Pointer elastix::ElastixTemplate< TFixedImage, TMovingImage >::FixedImagePointer |
Definition at line 144 of file elxElastixTemplate.h.
typedef FixedImagePyramidBase<Self> elastix::ElastixTemplate< TFixedImage, TMovingImage >::FixedImagePyramidBaseType |
The elastix basecomponent types.
Definition at line 181 of file elxElastixTemplate.h.
typedef TFixedImage elastix::ElastixTemplate< TFixedImage, TMovingImage >::FixedImageType |
Typedef's for this class.
Definition at line 142 of file elxElastixTemplate.h.
|
protected |
Definition at line 281 of file elxElastixTemplate.h.
typedef FixedMaskType::Pointer elastix::ElastixTemplate< TFixedImage, TMovingImage >::FixedMaskPointer |
Definition at line 156 of file elxElastixTemplate.h.
typedef itk::Image<MaskPixelType, FixedDimension> elastix::ElastixTemplate< TFixedImage, TMovingImage >::FixedMaskType |
Definition at line 154 of file elxElastixTemplate.h.
typedef elx::ImageSamplerBase<Self> elastix::ElastixTemplate< TFixedImage, TMovingImage >::ImageSamplerBaseType |
Definition at line 184 of file elxElastixTemplate.h.
typedef MovingImageType elastix::ElastixTemplate< TFixedImage, TMovingImage >::InputImageType |
Typedef's for ApplyTransform.
Definition at line 200 of file elxElastixTemplate.h.
typedef InterpolatorBase<Self> elastix::ElastixTemplate< TFixedImage, TMovingImage >::InterpolatorBaseType |
Definition at line 183 of file elxElastixTemplate.h.
typedef unsigned char elastix::ElastixTemplate< TFixedImage, TMovingImage >::MaskPixelType |
Types for the masks.
Definition at line 153 of file elxElastixTemplate.h.
typedef MetricBase<Self> elastix::ElastixTemplate< TFixedImage, TMovingImage >::MetricBaseType |
Definition at line 185 of file elxElastixTemplate.h.
|
protected |
Definition at line 280 of file elxElastixTemplate.h.
typedef MovingImageType::Pointer elastix::ElastixTemplate< TFixedImage, TMovingImage >::MovingImagePointer |
Definition at line 145 of file elxElastixTemplate.h.
typedef MovingImagePyramidBase<Self> elastix::ElastixTemplate< TFixedImage, TMovingImage >::MovingImagePyramidBaseType |
Definition at line 182 of file elxElastixTemplate.h.
typedef TMovingImage elastix::ElastixTemplate< TFixedImage, TMovingImage >::MovingImageType |
Definition at line 143 of file elxElastixTemplate.h.
|
protected |
Definition at line 282 of file elxElastixTemplate.h.
typedef MovingMaskType::Pointer elastix::ElastixTemplate< TFixedImage, TMovingImage >::MovingMaskPointer |
Definition at line 157 of file elxElastixTemplate.h.
typedef itk::Image<MaskPixelType, MovingDimension> elastix::ElastixTemplate< TFixedImage, TMovingImage >::MovingMaskType |
Definition at line 155 of file elxElastixTemplate.h.
typedef Superclass2::ObjectContainerPointer elastix::ElastixTemplate< TFixedImage, TMovingImage >::ObjectContainerPointer |
Definition at line 137 of file elxElastixTemplate.h.
typedef Superclass2::ObjectContainerType elastix::ElastixTemplate< TFixedImage, TMovingImage >::ObjectContainerType |
Definition at line 134 of file elxElastixTemplate.h.
typedef Superclass2::ObjectPointer elastix::ElastixTemplate< TFixedImage, TMovingImage >::ObjectPointer |
Definition at line 132 of file elxElastixTemplate.h.
typedef Superclass2::ObjectType elastix::ElastixTemplate< TFixedImage, TMovingImage >::ObjectType |
Definition at line 130 of file elxElastixTemplate.h.
typedef OptimizerBase<Self> elastix::ElastixTemplate< TFixedImage, TMovingImage >::OptimizerBaseType |
Definition at line 186 of file elxElastixTemplate.h.
typedef MovingImageType elastix::ElastixTemplate< TFixedImage, TMovingImage >::OutputImageType |
Definition at line 201 of file elxElastixTemplate.h.
typedef itk::SmartPointer<Self> elastix::ElastixTemplate< TFixedImage, TMovingImage >::Pointer |
Definition at line 118 of file elxElastixTemplate.h.
typedef void(BaseComponentType::* elastix::ElastixTemplate< TFixedImage, TMovingImage >::PtrToMemberFunction)(void) |
A Pointer to a member function of a BaseComponentType.
Definition at line 169 of file elxElastixTemplate.h.
typedef int(BaseComponentType::* elastix::ElastixTemplate< TFixedImage, TMovingImage >::PtrToMemberFunction2)(void) |
Definition at line 170 of file elxElastixTemplate.h.
typedef RegistrationBase<Self> elastix::ElastixTemplate< TFixedImage, TMovingImage >::RegistrationBaseType |
Definition at line 187 of file elxElastixTemplate.h.
typedef ResampleInterpolatorBase<Self> elastix::ElastixTemplate< TFixedImage, TMovingImage >::ResampleInterpolatorBaseType |
Definition at line 189 of file elxElastixTemplate.h.
typedef ResamplerBase<Self> elastix::ElastixTemplate< TFixedImage, TMovingImage >::ResamplerBaseType |
Definition at line 188 of file elxElastixTemplate.h.
typedef ElastixTemplate elastix::ElastixTemplate< TFixedImage, TMovingImage >::Self |
Standard itk.
Definition at line 115 of file elxElastixTemplate.h.
typedef itk::Object elastix::ElastixTemplate< TFixedImage, TMovingImage >::Superclass1 |
Definition at line 116 of file elxElastixTemplate.h.
typedef ElastixBase elastix::ElastixTemplate< TFixedImage, TMovingImage >::Superclass2 |
Definition at line 117 of file elxElastixTemplate.h.
typedef TimerType::Pointer elastix::ElastixTemplate< TFixedImage, TMovingImage >::TimerPointer |
Definition at line 194 of file elxElastixTemplate.h.
typedef tmr::Timer elastix::ElastixTemplate< TFixedImage, TMovingImage >::TimerType |
Typedef's for Timer class.
Definition at line 193 of file elxElastixTemplate.h.
typedef elx::TransformBase<Self> elastix::ElastixTemplate< TFixedImage, TMovingImage >::TransformBaseType |
Definition at line 190 of file elxElastixTemplate.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 276 of file elxElastixTemplate.h.
|
private |
|
virtual |
Reimplemented from elastix::BaseComponent.
|
virtual |
Reimplemented from elastix::BaseComponent.
|
virtual |
Reimplemented from elastix::BaseComponent.
|
virtual |
Implements elastix::ElastixBase.
|
virtual |
The Callback functions.
Reimplemented from elastix::BaseComponent.
|
virtual |
|
virtual |
Reimplemented from elastix::BaseComponent.
|
virtual |
Reimplemented from elastix::BaseComponent.
|
protected |
Used by the callback functions, BeforeEachResolution() etc.). This method calls a function in each component, in the following order:
|
protected |
|
protectedvirtual |
Call in each component SetElastix(This) and set its ComponentLabel (for example "Metric1"). This makes sure that the component knows its own function in the registration process.
|
protectedvirtual |
CreateTransformParameterFile.
elastix::ElastixTemplate< TFixedImage, TMovingImage >::elxGetBaseMacro | ( | FixedImagePyramid | , |
FixedImagePyramidBaseType | |||
) |
Functions to set/get pointers to the elastix components. Get the components as pointers to elxBaseType.
elastix::ElastixTemplate< TFixedImage, TMovingImage >::elxGetBaseMacro | ( | MovingImagePyramid | , |
MovingImagePyramidBaseType | |||
) |
elastix::ElastixTemplate< TFixedImage, TMovingImage >::elxGetBaseMacro | ( | Interpolator | , |
InterpolatorBaseType | |||
) |
elastix::ElastixTemplate< TFixedImage, TMovingImage >::elxGetBaseMacro | ( | ImageSampler | , |
ImageSamplerBaseType | |||
) |
elastix::ElastixTemplate< TFixedImage, TMovingImage >::elxGetBaseMacro | ( | Metric | , |
MetricBaseType | |||
) |
elastix::ElastixTemplate< TFixedImage, TMovingImage >::elxGetBaseMacro | ( | Optimizer | , |
OptimizerBaseType | |||
) |
elastix::ElastixTemplate< TFixedImage, TMovingImage >::elxGetBaseMacro | ( | Registration | , |
RegistrationBaseType | |||
) |
elastix::ElastixTemplate< TFixedImage, TMovingImage >::elxGetBaseMacro | ( | Resampler | , |
ResamplerBaseType | |||
) |
elastix::ElastixTemplate< TFixedImage, TMovingImage >::elxGetBaseMacro | ( | ResampleInterpolator | , |
ResampleInterpolatorBaseType | |||
) |
elastix::ElastixTemplate< TFixedImage, TMovingImage >::elxGetBaseMacro | ( | Transform | , |
TransformBaseType | |||
) |
|
virtual |
Run-time type information (and related methods).
|
virtual |
Get the name of the current transform parameter file.
|
inlinevirtual |
Get pointers to the images. They are obtained from the {Fixed,Moving}ImageContainer and casted to the appropriate type.
Definition at line 220 of file elxElastixTemplate.h.
|
virtual |
|
inlinevirtual |
Get pointers to the masks. They are obtained from the {Fixed,Moving}MaskContainer and casted to the appropriate type.
Definition at line 234 of file elxElastixTemplate.h.
|
virtual |
|
virtual |
Get the iteration number.
|
inlinevirtual |
Definition at line 225 of file elxElastixTemplate.h.
|
virtual |
|
inlinevirtual |
Definition at line 239 of file elxElastixTemplate.h.
|
virtual |
|
virtual |
Get the original direction cosines of the fixed image. Returns false if it failed to determine the orignal fixed image direction. In that case the direction var is left unchanged. If no fixed image is present, it tries to read it from the parameter file.
elastix::ElastixTemplate< TFixedImage, TMovingImage >::itkStaticConstMacro | ( | Dimension | , |
unsigned | int, | ||
FixedImageType::ImageDimension | |||
) |
For using the Dimensions.
elastix::ElastixTemplate< TFixedImage, TMovingImage >::itkStaticConstMacro | ( | FixedDimension | , |
unsigned | int, | ||
FixedImageType::ImageDimension | |||
) |
elastix::ElastixTemplate< TFixedImage, TMovingImage >::itkStaticConstMacro | ( | MovingDimension | , |
unsigned | int, | ||
MovingImageType::ImageDimension | |||
) |
|
static |
Method for creation through the object factory.
|
protectedvirtual |
Open the IterationInfoFile, where the table with iteration info is written to.
|
private |
|
virtual |
Main functions: Run() for registration, and ApplyTransform() for just applying a transform to an image.
Implements elastix::ElastixBase.
|
protectedvirtual |
Set the direction in the superclass' m_OriginalFixedImageDirection variable
|
protected |
Definition at line 286 of file elxElastixTemplate.h.
|
protected |
Definition at line 287 of file elxElastixTemplate.h.
|
protected |
CallBack commands.
Definition at line 285 of file elxElastixTemplate.h.
|
protected |
Store the CurrentTransformParameterFileName.
Definition at line 295 of file elxElastixTemplate.h.
|
protected |
Count the number of iterations.
Definition at line 298 of file elxElastixTemplate.h.
|
protected |
Definition at line 306 of file elxElastixTemplate.h.
|
protected |
Definition at line 291 of file elxElastixTemplate.h.
|
protected |
Definition at line 292 of file elxElastixTemplate.h.
|
protected |
Timers.
Definition at line 290 of file elxElastixTemplate.h.
Generated on 05-01-2014 for elastix by ![]() |
![]() |