Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxRegistrationBase.h>
This class is the elastix base class for all Registration schemes.
This class contains all the common functionality for Registrations.
ErodeMask: a flag to determine if the masks should be eroded from one resolution level to another. Choose from {"true", "false"}
example: (ErodeMask "false")
The default is "true". The parameter may be specified for each resolution differently, but that's not obliged. The actual amount of erosion depends on the image pyramid.
Erosion of the mask prevents the border / edge of the mask taken into account. This can be useful for example for ultrasound images, where you don't want to take into account values outside the US-beam, but where you also don't want to match the edge / border of this beam. For example for MRI's of the head, the borders of the head may be wanted to match, and there erosion should be avoided.
ErodeFixedMask: a flag to determine if the fixed mask(s) should be eroded from one resolution level to another. Choose from {"true", "false"}
example: (ErodeFixedMask "true" "false")
This setting overrules ErodeMask.
ErodeMovingMask: a flag to determine if the moving mask(s) should be eroded from one resolution level to another. Choose from {"true", "false"}
example: (ErodeMovingMask "true" "false")
This setting overrules ErodeMask.
ErodeFixedMask<i>: a flag to determine if the i-th fixed mask should be eroded from one resolution level to another. Choose from {"true", "false"}
example: (ErodeFixedMask2 "true" "false")
This setting overrules ErodeMask and ErodeFixedMask.
ErodeMovingMask<i>: a flag to determine if the i-th moving mask should be eroded from one resolution level to another. Choose from {"true", "false"}
example: (ErodeMovingMask2 "true" "false")
This setting overrules ErodeMask and ErodeMovingMask.
Definition at line 75 of file elxRegistrationBase.h.
Public Member Functions | |
virtual ITKBaseType * | GetAsITKBaseType (void) |
virtual const ITKBaseType * | GetAsITKBaseType (void) const |
virtual const char * | GetClassName () const |
itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension) | |
itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension) | |
virtual bool | ReadMaskParameters (UseMaskErosionArrayType &useMaskErosionArray, const unsigned int nrOfMasks, const std::string &whichMask, const unsigned int level) const |
Public Member Functions inherited from elastix::BaseComponentSE< TElastix > | |
ConfigurationType * | GetConfiguration (void) const |
ElastixType * | GetElastix (void) const |
RegistrationPointer | GetRegistration (void) const |
ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponentSE) | |
void | SetConfiguration (ConfigurationType *_arg) |
void | SetElastix (ElastixType *_arg) |
Public Member Functions inherited from elastix::BaseComponent | |
virtual void | AfterEachIteration (void) |
virtual void | AfterEachIterationBase (void) |
virtual void | AfterEachResolution (void) |
virtual void | AfterEachResolutionBase (void) |
virtual void | AfterRegistration (void) |
virtual void | AfterRegistrationBase (void) |
virtual int | BeforeAll (void) |
virtual int | BeforeAllBase (void) |
virtual void | BeforeEachResolution (void) |
virtual void | BeforeEachResolutionBase (void) |
virtual void | BeforeRegistration (void) |
virtual void | BeforeRegistrationBase (void) |
virtual const char * | elxGetClassName (void) const |
const char * | GetComponentLabel (void) const |
ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponent) | |
itkTypeMacroNoParent (BaseComponent) | |
void | SetComponentLabel (const char *label, unsigned int idx) |
Protected Member Functions | |
FixedMaskSpatialObjectPointer | GenerateFixedMaskSpatialObject (const FixedMaskImageType *maskImage, bool useMaskErosion, const FixedImagePyramidType *pyramid, unsigned int level) const |
MovingMaskSpatialObjectPointer | GenerateMovingMaskSpatialObject (const MovingMaskImageType *maskImage, bool useMaskErosion, const MovingImagePyramidType *pyramid, unsigned int level) const |
RegistrationBase () | |
~RegistrationBase () override | |
Protected Member Functions inherited from elastix::BaseComponentSE< TElastix > | |
BaseComponentSE ()=default | |
~BaseComponentSE () override=default | |
Protected Member Functions inherited from elastix::BaseComponent | |
BaseComponent ()=default | |
virtual | ~BaseComponent ()=default |
Private Member Functions | |
void | operator= (const Self &) |
RegistrationBase (const Self &) | |
Additional Inherited Members | |
Static Public Member Functions inherited from elastix::BaseComponent | |
static std::string | ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision) |
static void | InitializeElastixExecutable () |
static bool | IsElastixLibrary () |
Protected Attributes inherited from elastix::BaseComponentSE< TElastix > | |
ConfigurationPointer | m_Configuration {} |
ElastixPointer | m_Elastix {} |
RegistrationPointer | m_Registration {} |
typedef Superclass::ConfigurationPointer elastix::RegistrationBase< TElastix >::ConfigurationPointer |
Definition at line 90 of file elxRegistrationBase.h.
typedef Superclass::ConfigurationType elastix::RegistrationBase< TElastix >::ConfigurationType |
Definition at line 89 of file elxRegistrationBase.h.
typedef Superclass::ElastixPointer elastix::RegistrationBase< TElastix >::ElastixPointer |
Definition at line 88 of file elxRegistrationBase.h.
typedef Superclass::ElastixType elastix::RegistrationBase< TElastix >::ElastixType |
Typedef's from Elastix.
Definition at line 87 of file elxRegistrationBase.h.
|
protected |
Definition at line 172 of file elxRegistrationBase.h.
typedef ElastixType::FixedImageType elastix::RegistrationBase< TElastix >::FixedImageType |
Other typedef's.
Definition at line 95 of file elxRegistrationBase.h.
|
protected |
Definition at line 177 of file elxRegistrationBase.h.
|
protected |
Some typedef's used for eroding the masks
Definition at line 176 of file elxRegistrationBase.h.
|
protected |
Definition at line 161 of file elxRegistrationBase.h.
|
protected |
Definition at line 159 of file elxRegistrationBase.h.
|
protected |
Definition at line 168 of file elxRegistrationBase.h.
|
protected |
Definition at line 164 of file elxRegistrationBase.h.
typedef itk::MultiResolutionImageRegistrationMethod2< FixedImageType, MovingImageType > elastix::RegistrationBase< TElastix >::ITKBaseType |
Typedef for ITKBaseType.
Definition at line 105 of file elxRegistrationBase.h.
|
protected |
Typedef's for mask support.
Definition at line 158 of file elxRegistrationBase.h.
|
protected |
Definition at line 173 of file elxRegistrationBase.h.
typedef ElastixType::MovingImageType elastix::RegistrationBase< TElastix >::MovingImageType |
Definition at line 96 of file elxRegistrationBase.h.
|
protected |
Definition at line 179 of file elxRegistrationBase.h.
|
protected |
Definition at line 178 of file elxRegistrationBase.h.
|
protected |
Definition at line 162 of file elxRegistrationBase.h.
|
protected |
Definition at line 160 of file elxRegistrationBase.h.
|
protected |
Definition at line 170 of file elxRegistrationBase.h.
|
protected |
Definition at line 166 of file elxRegistrationBase.h.
typedef Superclass::RegistrationPointer elastix::RegistrationBase< TElastix >::RegistrationPointer |
Definition at line 92 of file elxRegistrationBase.h.
typedef Superclass::RegistrationType elastix::RegistrationBase< TElastix >::RegistrationType |
Definition at line 91 of file elxRegistrationBase.h.
typedef RegistrationBase elastix::RegistrationBase< TElastix >::Self |
Standard ITK stuff.
Definition at line 80 of file elxRegistrationBase.h.
typedef BaseComponentSE< TElastix > elastix::RegistrationBase< TElastix >::Superclass |
Definition at line 81 of file elxRegistrationBase.h.
typedef std::vector< bool > elastix::RegistrationBase< TElastix >::UseMaskErosionArrayType |
Typedef for mask erosion options
Definition at line 108 of file elxRegistrationBase.h.
|
inlineprotected |
The constructor.
Definition at line 153 of file elxRegistrationBase.h.
|
inlineoverrideprotected |
The destructor.
Definition at line 155 of file elxRegistrationBase.h.
|
private |
The private constructor.
|
protected |
Generate a spatial object from a mask image, possibly after eroding the image Input:
This function is used by the registration components
|
protected |
Generate a spatial object from a mask image, possibly after eroding the image Input:
This function is used by the registration components
|
inlinevirtual |
Cast to ITKBaseType.
Definition at line 111 of file elxRegistrationBase.h.
|
inlinevirtual |
Cast to ITKBaseType, to use in const functions.
Definition at line 118 of file elxRegistrationBase.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented in elastix::MultiMetricMultiResolutionRegistration< TElastix >, elastix::MultiResolutionRegistration< TElastix >, and elastix::MultiResolutionRegistrationWithFeatures< TElastix >.
elastix::RegistrationBase< TElastix >::itkStaticConstMacro | ( | FixedImageDimension | , |
unsigned int | , | ||
FixedImageType::ImageDimension | |||
) |
Get the dimension of the fixed image.
elastix::RegistrationBase< TElastix >::itkStaticConstMacro | ( | MovingImageDimension | , |
unsigned int | , | ||
MovingImageType::ImageDimension | |||
) |
Get the dimension of the moving image.
|
private |
The private copy constructor.
|
virtual |
Function to read the mask parameters from the configuration object.
The function first checks Erode<Fixed,Moving>Mask<i>, with i the mask number, then Erode<Fixed,Moving>Mask, and finally ErodeMask. So, if you do not specify Erode<Fixed,Moving>Mask<i>, Erode<Fixed,Moving>Mask is tried, and then ErodeMask. If you specify ErodeMask, that option will be used for all masks, fixed and moving! All options can be specified for each resolution specifically, or at once for all resolutions.
Generated on 1667476801 for elastix by 1.9.4 |