![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxEulerStackTransform.h>
A stack transform based on the itk EulerTransforms.
This transform is a rigid body transformation. Calls to TransformPoint and GetJacobian are redirected to the appropriate sub transform based on the last dimension (time) index.
This transform uses the size, spacing and origin of the last dimension of the fixed image to set the number of sub transforms, the origin of the first transform and the spacing between the transforms.
The parameters used in this class are:
Transform: Select this transform as follows:
(Transform "EulerStackTransform")
Scales: the scale factor between the rotations and translations, used in the optimizer.
example: (Scales 200000.0)
example: (Scales 100000.0 60000.0 ... 80000.0)
If only one argument is given, that factor is used for the rotations. If more than one argument is given, then the number of arguments should be equal to the number of parameters: for each parameter its scale factor. If this parameter option is not used, by default the rotations are scaled by a factor of 100000.0. See also the AutomaticScalesEstimation parameter.
AutomaticScalesEstimation: if this parameter is set to "true" the Scales parameter is ignored and the scales are determined automatically.
example: ( AutomaticScalesEstimation "true" )
Default: "false" (for backwards compatibility). Recommended: "true".
CenterOfRotation: an index around which the image is rotated.
example: (CenterOfRotation 128 128)
The transform parameters necessary for transformix, additionally defined by this class, are:
CenterOfRotation: stores the center of rotation as an index.
example: (CenterOfRotation 128 128)
deprecated! From elastix version 3.402 this is changed to CenterOfRotationPoint!
CenterOfRotationPoint: stores the center of rotation, expressed in world coordinates.
example: (CenterOfRotationPoint 10.555 6.666)
StackSpacing: stores the spacing between the sub transforms.
exanoke: (StackSpacing 1.0)
StackOrigin: stores the origin of the first sub transform.
exanoke: (StackOrigin 0.0)
NumberOfSubTransforms: stores the number of sub transforms.
exanoke: (NumberOfSubTransforms 10)
It is unsure what happens when one of the image dimensions has length 1.
The center of rotation point is not transformed with the initial transform yet.
Definition at line 81 of file elxEulerStackTransform.h.
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static std::string | ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision) |
static void | InitializeElastixExecutable () |
static bool | IsElastixLibrary () |
Private Member Functions | |
EulerStackTransform (const Self &) | |
unsigned int | InitializeEulerTransform () |
void | operator= (const Self &) |
typedef Superclass2::CombinationTransformType elastix::EulerStackTransform< TElastix >::CombinationTransformType |
Definition at line 154 of file elxEulerStackTransform.h.
typedef Superclass2::ConfigurationPointer elastix::EulerStackTransform< TElastix >::ConfigurationPointer |
Definition at line 147 of file elxEulerStackTransform.h.
typedef Superclass2::ConfigurationType elastix::EulerStackTransform< TElastix >::ConfigurationType |
Definition at line 146 of file elxEulerStackTransform.h.
typedef itk::SmartPointer< const Self > elastix::EulerStackTransform< TElastix >::ConstPointer |
Definition at line 96 of file elxEulerStackTransform.h.
typedef itk::ContinuousIndex< CoordRepType, SpaceDimension > elastix::EulerStackTransform< TElastix >::ContinuousIndexType |
Definition at line 180 of file elxEulerStackTransform.h.
typedef Superclass2::CoordRepType elastix::EulerStackTransform< TElastix >::CoordRepType |
Definition at line 150 of file elxEulerStackTransform.h.
typedef FixedImageType::DirectionType elastix::EulerStackTransform< TElastix >::DirectionType |
Definition at line 178 of file elxEulerStackTransform.h.
typedef Superclass2::ElastixPointer elastix::EulerStackTransform< TElastix >::ElastixPointer |
Definition at line 145 of file elxEulerStackTransform.h.
typedef Superclass2::ElastixType elastix::EulerStackTransform< TElastix >::ElastixType |
Typedef's from TransformBase.
Definition at line 144 of file elxEulerStackTransform.h.
typedef EulerStackTransformType::Pointer elastix::EulerStackTransform< TElastix >::EulerStackTransformPointer |
Definition at line 137 of file elxEulerStackTransform.h.
typedef itk::StackTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro( SpaceDimension ), itkGetStaticConstMacro( SpaceDimension ) > elastix::EulerStackTransform< TElastix >::EulerStackTransformType |
Typedef for stack transform.
Definition at line 136 of file elxEulerStackTransform.h.
typedef EulerTransformType::Pointer elastix::EulerStackTransform< TElastix >::EulerTransformPointer |
Definition at line 120 of file elxEulerStackTransform.h.
typedef itk::EulerTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro( SpaceDimension ) > elastix::EulerStackTransform< TElastix >::EulerTransformType |
The ITK-class that provides most of the functionality, and that is set as the "CurrentTransform" in the CombinationTransform.
Definition at line 119 of file elxEulerStackTransform.h.
typedef Superclass2::FixedImageType elastix::EulerStackTransform< TElastix >::FixedImageType |
Definition at line 151 of file elxEulerStackTransform.h.
typedef FixedImageType::IndexType elastix::EulerStackTransform< TElastix >::IndexType |
Other typedef's.
Definition at line 173 of file elxEulerStackTransform.h.
typedef EulerTransformType::InputPointType elastix::EulerStackTransform< TElastix >::InputPointType |
Definition at line 121 of file elxEulerStackTransform.h.
typedef Superclass2::ITKBaseType elastix::EulerStackTransform< TElastix >::ITKBaseType |
Definition at line 153 of file elxEulerStackTransform.h.
typedef Superclass2::MovingImageType elastix::EulerStackTransform< TElastix >::MovingImageType |
Definition at line 152 of file elxEulerStackTransform.h.
typedef Superclass1::NumberOfParametersType elastix::EulerStackTransform< TElastix >::NumberOfParametersType |
Definition at line 141 of file elxEulerStackTransform.h.
typedef Superclass1::ParametersType elastix::EulerStackTransform< TElastix >::ParametersType |
Typedefs inherited from the superclass.
Definition at line 140 of file elxEulerStackTransform.h.
typedef itk::SmartPointer< Self > elastix::EulerStackTransform< TElastix >::Pointer |
Definition at line 95 of file elxEulerStackTransform.h.
typedef FixedImageType::PointType elastix::EulerStackTransform< TElastix >::PointType |
Definition at line 175 of file elxEulerStackTransform.h.
typedef itk::ContinuousIndex< CoordRepType, ReducedSpaceDimension > elastix::EulerStackTransform< TElastix >::ReducedDimensionContinuousIndexType |
Definition at line 179 of file elxEulerStackTransform.h.
typedef ReducedDimensionImageType::DirectionType elastix::EulerStackTransform< TElastix >::ReducedDimensionDirectionType |
Definition at line 166 of file elxEulerStackTransform.h.
typedef ReducedDimensionEulerTransformType::Pointer elastix::EulerStackTransform< TElastix >::ReducedDimensionEulerTransformPointer |
Definition at line 127 of file elxEulerStackTransform.h.
typedef itk::EulerTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro( ReducedSpaceDimension ) > elastix::EulerStackTransform< TElastix >::ReducedDimensionEulerTransformType |
The ITK-class for the sub transforms, which have a reduced dimension.
Definition at line 126 of file elxEulerStackTransform.h.
typedef itk::Image< PixelType, itkGetStaticConstMacro( ReducedSpaceDimension ) > elastix::EulerStackTransform< TElastix >::ReducedDimensionImageType |
Definition at line 159 of file elxEulerStackTransform.h.
typedef ReducedDimensionRegionType::IndexType elastix::EulerStackTransform< TElastix >::ReducedDimensionIndexType |
Definition at line 164 of file elxEulerStackTransform.h.
typedef ReducedDimensionEulerTransformType::InputPointType elastix::EulerStackTransform< TElastix >::ReducedDimensionInputPointType |
Definition at line 130 of file elxEulerStackTransform.h.
typedef ReducedDimensionImageType::PointType elastix::EulerStackTransform< TElastix >::ReducedDimensionOriginType |
Definition at line 167 of file elxEulerStackTransform.h.
typedef ReducedDimensionEulerTransformType::OutputVectorType elastix::EulerStackTransform< TElastix >::ReducedDimensionOutputVectorType |
Definition at line 129 of file elxEulerStackTransform.h.
typedef ReducedDimensionImageType::PointType elastix::EulerStackTransform< TElastix >::ReducedDimensionPointType |
Definition at line 162 of file elxEulerStackTransform.h.
typedef itk::ImageRegion< itkGetStaticConstMacro( ReducedSpaceDimension ) > elastix::EulerStackTransform< TElastix >::ReducedDimensionRegionType |
Definition at line 161 of file elxEulerStackTransform.h.
typedef ReducedDimensionImageType::SizeType elastix::EulerStackTransform< TElastix >::ReducedDimensionSizeType |
Definition at line 163 of file elxEulerStackTransform.h.
typedef ReducedDimensionImageType::SpacingType elastix::EulerStackTransform< TElastix >::ReducedDimensionSpacingType |
Definition at line 165 of file elxEulerStackTransform.h.
typedef FixedImageType::RegionType elastix::EulerStackTransform< TElastix >::RegionType |
Definition at line 177 of file elxEulerStackTransform.h.
typedef Superclass2::RegistrationPointer elastix::EulerStackTransform< TElastix >::RegistrationPointer |
Definition at line 149 of file elxEulerStackTransform.h.
typedef Superclass2::RegistrationType elastix::EulerStackTransform< TElastix >::RegistrationType |
Definition at line 148 of file elxEulerStackTransform.h.
typedef Superclass2::ScalesType elastix::EulerStackTransform< TElastix >::ScalesType |
For scales setting in the optimizer
Definition at line 170 of file elxEulerStackTransform.h.
typedef EulerStackTransform elastix::EulerStackTransform< TElastix >::Self |
Standard ITK-stuff.
Definition at line 90 of file elxEulerStackTransform.h.
typedef FixedImageType::SizeType elastix::EulerStackTransform< TElastix >::SizeType |
Definition at line 174 of file elxEulerStackTransform.h.
typedef FixedImageType::SpacingType elastix::EulerStackTransform< TElastix >::SpacingType |
Definition at line 176 of file elxEulerStackTransform.h.
typedef itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > elastix::EulerStackTransform< TElastix >::Superclass1 |
Definition at line 93 of file elxEulerStackTransform.h.
typedef elx::TransformBase< TElastix > elastix::EulerStackTransform< TElastix >::Superclass2 |
Definition at line 94 of file elxEulerStackTransform.h.
|
protected |
The constructor.
|
inlineoverrideprotected |
The destructor.
Definition at line 220 of file elxEulerStackTransform.h.
|
private |
The private constructor and copy constructor.
|
overridevirtual |
Execute stuff before anything else is done:
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Execute stuff before the actual registration:
Reimplemented from elastix::BaseComponent.
elastix::EulerStackTransform< TElastix >::elxClassNameMacro | ( | "EulerStackTransform< TElastix >" | ) |
Name of this class. Use this name in the parameter file to select this specific transform.
example: (Transform "EulerStackTransform")
|
virtual |
Run-time type information (and related methods).
Reimplemented from elastix::TransformBase< TElastix >.
|
private |
Initialize the affine transform.
|
virtual |
Method initialize the parameters (to 0).
|
virtual |
Function to rotate center of rotation point using initial transformation.
elastix::EulerStackTransform< TElastix >::itkStaticConstMacro | ( | ReducedSpaceDimension | , |
unsigned int | , | ||
Superclass2::FixedImageDimension - | 1 | ||
) |
elastix::EulerStackTransform< TElastix >::itkStaticConstMacro | ( | SpaceDimension | , |
unsigned int | , | ||
Superclass2::FixedImageDimension | |||
) |
(Reduced) dimension of the fixed image.
|
static |
Method for creation through the object factory.
|
private |
|
protectedvirtual |
Try to read the CenterOfRotationPoint from the transform parameter file The CenterOfRotationPoint is already in world coordinates. Transform parameter files generated by elastix version > 3.402 save the center of rotation in this way.
|
overridevirtual |
Function to read transform-parameters from a file.
Reimplemented from elastix::TransformBase< TElastix >.
|
virtual |
Set the scales
|
overridevirtual |
Function to write transform-parameters to a file.
Reimplemented from elastix::TransformBase< TElastix >.
|
private |
Dummy sub transform to be used to set sub transforms of stack transform.
Definition at line 239 of file elxEulerStackTransform.h.
|
private |
The Affine stack transform.
Definition at line 236 of file elxEulerStackTransform.h.
|
private |
Stack variables.
Definition at line 242 of file elxEulerStackTransform.h.
|
private |
Definition at line 243 of file elxEulerStackTransform.h.
|
private |
Definition at line 243 of file elxEulerStackTransform.h.
Generated on 1667476801 for elastix by ![]() |
![]() |