template<class TFixedImage, class TMovingImage>
class elastix::ElastixTemplate< TFixedImage, TMovingImage >
The main elastix class, which connects components and invokes the BeforeRegistration(), BeforeEachResolution(), etc. methods.
The ElastixTemplate class ...
- Parameters
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: true. Recommended: true. This parameter was introduced in elastix 4.3, with a default value of false for backward compabitility. From elastix 4.8 the default value has been changed to true. 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 103 of file elxElastixTemplate.h.
|
void | AfterEachIteration () override |
|
void | AfterEachResolution () override |
|
void | AfterRegistration () override |
|
int | ApplyTransform (bool doReadTransform) override |
|
int | BeforeAll () override |
|
int | BeforeAllTransformix () |
|
void | BeforeEachResolution () override |
|
void | BeforeRegistration () override |
|
| elxGetBaseMacro (FixedImagePyramid, FixedImagePyramidBaseType) |
|
| elxGetBaseMacro (ImageSampler, ImageSamplerBaseType) |
|
| elxGetBaseMacro (Interpolator, InterpolatorBaseType) |
|
| elxGetBaseMacro (Metric, MetricBaseType) |
|
| elxGetBaseMacro (MovingImagePyramid, MovingImagePyramidBaseType) |
|
| elxGetBaseMacro (Optimizer, OptimizerBaseType) |
|
| elxGetBaseMacro (Registration, RegistrationBaseType) |
|
| elxGetBaseMacro (ResampleInterpolator, ResampleInterpolatorBaseType) |
|
| elxGetBaseMacro (Resampler, ResamplerBaseType) |
|
| elxGetBaseMacro (Transform, TransformBaseType) |
|
virtual const char * | GetClassName () const |
|
virtual const char * | GetCurrentTransformParameterFileName () const |
|
FixedImageType * | GetFixedImage (unsigned int idx=0) const |
|
FixedMaskType * | GetFixedMask (unsigned int idx=0) const |
|
virtual unsigned int | GetIterationCounter () const |
|
MovingImageType * | GetMovingImage (unsigned int idx=0) const |
|
MovingMaskType * | GetMovingMask (unsigned int idx=0) const |
|
bool | GetOriginalFixedImageDirection (FixedImageDirectionType &direction) const |
|
| ITK_DISALLOW_COPY_AND_MOVE (ElastixTemplate) |
|
| itkStaticConstMacro (Dimension, unsigned int, FixedImageType::ImageDimension) |
|
| itkStaticConstMacro (FixedDimension, unsigned int, FixedImageType::ImageDimension) |
|
| itkStaticConstMacro (MovingDimension, unsigned int, MovingImageType::ImageDimension) |
|
int | Run () override |
|
void | AddTargetCellToIterationInfo (const char *const name) |
|
int | BeforeAllBase () override |
|
int | BeforeAllTransformixBase () |
|
| elxGetNumberOfMacro (FixedImage) |
|
| elxGetNumberOfMacro (FixedImageFileName) |
|
| elxGetNumberOfMacro (FixedImagePyramid) |
|
| elxGetNumberOfMacro (FixedMask) |
|
| elxGetNumberOfMacro (FixedMaskFileName) |
|
| elxGetNumberOfMacro (ImageSampler) |
|
| elxGetNumberOfMacro (Interpolator) |
|
| elxGetNumberOfMacro (Metric) |
|
| elxGetNumberOfMacro (MovingImage) |
|
| elxGetNumberOfMacro (MovingImageFileName) |
|
| elxGetNumberOfMacro (MovingImagePyramid) |
|
| elxGetNumberOfMacro (MovingMask) |
|
| elxGetNumberOfMacro (MovingMaskFileName) |
|
| elxGetNumberOfMacro (Optimizer) |
|
| elxGetNumberOfMacro (Registration) |
|
| elxGetNumberOfMacro (ResampleInterpolator) |
|
| elxGetNumberOfMacro (Resampler) |
|
| elxGetNumberOfMacro (ResultDeformationField) |
|
| elxGetNumberOfMacro (ResultImage) |
|
| elxGetNumberOfMacro (Transform) |
|
| elxGetObjectMacro (Configuration, Configuration) |
|
| elxGetObjectMacro (FinalTransform, itk::Object) |
|
| elxGetObjectMacro (FixedImageContainer, DataObjectContainerType) |
|
| elxGetObjectMacro (FixedImageFileNameContainer, FileNameContainerType) |
|
| elxGetObjectMacro (FixedImagePyramidContainer, ObjectContainerType) |
|
| elxGetObjectMacro (FixedMaskContainer, DataObjectContainerType) |
|
| elxGetObjectMacro (FixedMaskFileNameContainer, FileNameContainerType) |
|
| elxGetObjectMacro (ImageSamplerContainer, ObjectContainerType) |
|
| elxGetObjectMacro (InitialTransform, itk::Object) |
|
| elxGetObjectMacro (InterpolatorContainer, ObjectContainerType) |
|
| elxGetObjectMacro (MetricContainer, ObjectContainerType) |
|
| elxGetObjectMacro (MovingImageContainer, DataObjectContainerType) |
|
| elxGetObjectMacro (MovingImageFileNameContainer, FileNameContainerType) |
|
| elxGetObjectMacro (MovingImagePyramidContainer, ObjectContainerType) |
|
| elxGetObjectMacro (MovingMaskContainer, DataObjectContainerType) |
|
| elxGetObjectMacro (MovingMaskFileNameContainer, FileNameContainerType) |
|
| elxGetObjectMacro (OptimizerContainer, ObjectContainerType) |
|
| elxGetObjectMacro (RegistrationContainer, ObjectContainerType) |
|
| elxGetObjectMacro (ResampleInterpolatorContainer, ObjectContainerType) |
|
| elxGetObjectMacro (ResamplerContainer, ObjectContainerType) |
|
| elxGetObjectMacro (ResultDeformationFieldContainer, DataObjectContainerType) |
|
| elxGetObjectMacro (ResultImageContainer, DataObjectContainerType) |
|
| elxGetObjectMacro (TransformContainer, ObjectContainerType) |
|
| elxSetObjectMacro (Configuration, Configuration) |
|
| elxSetObjectMacro (FinalTransform, itk::Object) |
|
| elxSetObjectMacro (FixedImageContainer, DataObjectContainerType) |
|
| elxSetObjectMacro (FixedImageFileNameContainer, FileNameContainerType) |
|
| elxSetObjectMacro (FixedImagePyramidContainer, ObjectContainerType) |
|
| elxSetObjectMacro (FixedMaskContainer, DataObjectContainerType) |
|
| elxSetObjectMacro (FixedMaskFileNameContainer, FileNameContainerType) |
|
| elxSetObjectMacro (ImageSamplerContainer, ObjectContainerType) |
|
| elxSetObjectMacro (InitialTransform, itk::Object) |
|
| elxSetObjectMacro (InterpolatorContainer, ObjectContainerType) |
|
| elxSetObjectMacro (MetricContainer, ObjectContainerType) |
|
| elxSetObjectMacro (MovingImageContainer, DataObjectContainerType) |
|
| elxSetObjectMacro (MovingImageFileNameContainer, FileNameContainerType) |
|
| elxSetObjectMacro (MovingImagePyramidContainer, ObjectContainerType) |
|
| elxSetObjectMacro (MovingMaskContainer, DataObjectContainerType) |
|
| elxSetObjectMacro (MovingMaskFileNameContainer, FileNameContainerType) |
|
| elxSetObjectMacro (OptimizerContainer, ObjectContainerType) |
|
| elxSetObjectMacro (RegistrationContainer, ObjectContainerType) |
|
| elxSetObjectMacro (ResampleInterpolatorContainer, ObjectContainerType) |
|
| elxSetObjectMacro (ResamplerContainer, ObjectContainerType) |
|
| elxSetObjectMacro (ResultDeformationFieldContainer, DataObjectContainerType) |
|
| elxSetObjectMacro (ResultImageContainer, DataObjectContainerType) |
|
| elxSetObjectMacro (TransformContainer, ObjectContainerType) |
|
DBIndexType | GetDBIndex () |
|
IterationInfo & | GetIterationInfo () |
|
std::ostream & | GetIterationInfoAt (const char *const name) |
|
vcl_size_t | GetNumberOfTransformConfigurations () const |
|
const FlatDirectionCosinesType & | GetOriginalFixedImageDirectionFlat () const |
|
Configuration::ConstPointer | GetPreviousTransformConfiguration (const Configuration &configuration) const |
|
ResultDeformationFieldType * | GetResultDeformationField (unsigned int idx=0) const |
|
ResultImageType * | GetResultImage (const unsigned int idx=0) const |
|
Configuration::ConstPointer | GetTransformConfiguration (const vcl_size_t index) const |
|
ParameterMapType | GetTransformParameterMap () const |
|
bool | GetUseDirectionCosines () const |
|
| ITK_DISALLOW_COPY_AND_MOVE (ElastixBase) |
|
void | SetDBIndex (DBIndexType _arg) |
|
void | SetOriginalFixedImageDirectionFlat (const FlatDirectionCosinesType &arg) |
|
void | SetResultDeformationField (DataObjectPointer result_deformationfield) |
|
void | SetResultImage (DataObjectPointer result_image) |
|
void | SetTransformConfigurations (const std::vector< Configuration::ConstPointer > &configurations) |
|
virtual void | AfterEachIterationBase () |
|
virtual void | AfterEachResolutionBase () |
|
virtual void | AfterRegistrationBase () |
|
virtual void | BeforeEachResolutionBase () |
|
virtual void | BeforeRegistrationBase () |
|
virtual const char * | elxGetClassName () const |
|
const char * | GetComponentLabel () const |
|
| ITK_DISALLOW_COPY_AND_MOVE (BaseComponent) |
|
| itkTypeMacroNoParent (BaseComponent) |
|
void | SetComponentLabel (const char *label, unsigned int idx) |
|