Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxRecursiveBSplineTransform.h>
A transform based on the itkRecursiveBSplineTransform.
This transform is a B-spline transformation, commonly used for nonrigid registration.
The parameters used in this class are:
Transform: Select this transform as follows:
(Transform "RecursiveBSplineTransform")
BSplineTransformSplineOrder: choose a B-spline order 1,2, or 3.
example: (BSplineTransformSplineOrder 3)
Default value: 3 (cubic B-splines).
FinalGridSpacingInVoxels: the grid spacing of the B-spline transform for each dimension.
example: (FinalGridSpacingInVoxels 8.0 8.0 8.0)
If only one argument is given, that factor is used for each dimension. The spacing is not in millimeters, but in "voxel size units". The default is 16.0 in every dimension.
FinalGridSpacingInPhysicalUnits: the grid spacing of the B-spline transform for each dimension.
example: (FinalGridSpacingInPhysicalUnits 8.0 8.0 8.0)
If only one argument is given, that factor is used for each dimension. The spacing is specified in millimeters. If not specified, the FinalGridSpacingInVoxels is used, or the FinalGridSpacing, to compute a FinalGridSpacingInPhysicalUnits. If those are not specified, the default value for FinalGridSpacingInVoxels is used to compute a FinalGridSpacingInPhysicalUnits. If an affine transformation is provided as initial transformation, the control grid will be scaled to cover the fixed image domain in the space defined by the initial transformation.
GridSpacingSchedule: the grid spacing downsampling factors for the B-spline transform for each dimension and each resolution.
example: (GridSpacingSchedule 4.0 4.0 2.0 2.0 1.0 1.0)
Which is an example for a 2D image, using 3 resolutions.
For convenience, you may also specify only one value for each resolution:
example: (GridSpacingSchedule 4.0 2.0 1.0 )
which is equivalent to the example above.
PassiveEdgeWidth: the width of a band of control points at the border of the B-spline coefficient image that should remain passive during optimisation.
Can be specified for each resolution.
example: (PassiveEdgeWidth 0 1 2)
The default is zero for all resolutions. A value of 4 will avoid all deformations at the edge of the image. Make sure that 2*PassiveEdgeWidth < ControlPointGridSize in each dimension.
UseCyclicTransform: use the cyclic version of the B-spline transform which ensures that the B-spline polynomials wrap around in the slowest varying dimension. This is useful for dynamic imaging data in which the motion is assumed to be cyclic, for example in ECG-gated or respiratory gated CTA. For more information see the paper: Nonrigid registration of dynamic medical imaging data using nD+t B-splines and a groupwise optimization approach, C.T. Metz, S. Klein, M. Schaap, T. van Walsum and W.J. Niessen, Medical Image Analysis, in press.
The transform parameters necessary for transformix, additionally defined by this class, are:
GridSize: stores the size of the B-spline grid.
example: (GridSize 16 16 16)
GridIndex: stores the index of the B-spline grid.
example: (GridIndex 0 0 0)
GridSpacing: stores the spacing of the B-spline grid.
example: (GridSpacing 16.0 16.0 16.0)
GridOrigin: stores the origin of the B-spline grid.
example: (GridOrigin 0.0 0.0 0.0)
GridDirection: stores the direction cosines of the B-spline grid.
example: (GridDirection 1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.1)
BSplineTransformSplineOrder: stores the B-spline order 1,2, or 3.
example: (BSplineTransformSplineOrder 3)
Default value: 3 (cubic B-splines).
UseCyclicTransform: use the cyclic version of the B-spline transform which ensures that the B-spline polynomials wrap around in the slowest varying dimension. This is useful for dynamic imaging data in which the motion is assumed to be cyclic, for example in ECG-gated or respiratory gated CTA. For more information see the paper: Nonrigid registration of dynamic medical imaging data using nD+t B-splines and a groupwise optimization approach, C.T. Metz, S. Klein, M. Schaap, T. van Walsum and W.J. Niessen, Medical Image Analysis, in press.
Definition at line 109 of file elxRecursiveBSplineTransform.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > | |
static Pointer | New () |
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 () |
Private Member Functions | |
unsigned int | InitializeBSplineTransform () |
void | operator= (const Self &) |
RecursiveBSplineTransform (const Self &) | |
Private Attributes | |
BSplineTransformBasePointer | m_BSplineTransform |
bool | m_Cyclic |
GridScheduleComputerPointer | m_GridScheduleComputer |
GridUpsamplerPointer | m_GridUpsampler |
unsigned int | m_SplineOrder |
typedef BSplineTransformBaseType::Pointer elastix::RecursiveBSplineTransform< TElastix >::BSplineTransformBasePointer |
Definition at line 147 of file elxRecursiveBSplineTransform.h.
typedef itk::AdvancedBSplineDeformableTransformBase< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro( SpaceDimension ) > elastix::RecursiveBSplineTransform< TElastix >::BSplineTransformBaseType |
The ITK-class that provides most of the functionality, and that is set as the "CurrentTransform" in the CombinationTransform.
Definition at line 146 of file elxRecursiveBSplineTransform.h.
typedef itk::RecursiveBSplineTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro( SpaceDimension ), 3 > elastix::RecursiveBSplineTransform< TElastix >::BSplineTransformCubicType |
Definition at line 161 of file elxRecursiveBSplineTransform.h.
typedef itk::RecursiveBSplineTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro( SpaceDimension ), 1 > elastix::RecursiveBSplineTransform< TElastix >::BSplineTransformLinearType |
Typedef for supported BSplineTransform types.
Definition at line 153 of file elxRecursiveBSplineTransform.h.
typedef itk::RecursiveBSplineTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro( SpaceDimension ), 2 > elastix::RecursiveBSplineTransform< TElastix >::BSplineTransformQuadraticType |
Definition at line 157 of file elxRecursiveBSplineTransform.h.
typedef Superclass2::CombinationTransformType elastix::RecursiveBSplineTransform< TElastix >::CombinationTransformType |
Definition at line 215 of file elxRecursiveBSplineTransform.h.
typedef Superclass2::ConfigurationPointer elastix::RecursiveBSplineTransform< TElastix >::ConfigurationPointer |
Definition at line 208 of file elxRecursiveBSplineTransform.h.
typedef Superclass2::ConfigurationType elastix::RecursiveBSplineTransform< TElastix >::ConfigurationType |
Definition at line 207 of file elxRecursiveBSplineTransform.h.
typedef itk::SmartPointer< const Self > elastix::RecursiveBSplineTransform< TElastix >::ConstPointer |
Definition at line 124 of file elxRecursiveBSplineTransform.h.
typedef BSplineTransformBaseType::ContinuousIndexType elastix::RecursiveBSplineTransform< TElastix >::ContinuousIndexType |
Definition at line 200 of file elxRecursiveBSplineTransform.h.
typedef Superclass2::CoordRepType elastix::RecursiveBSplineTransform< TElastix >::CoordRepType |
Definition at line 211 of file elxRecursiveBSplineTransform.h.
typedef itk::CyclicBSplineDeformableTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro( SpaceDimension ), 3 > elastix::RecursiveBSplineTransform< TElastix >::CyclicBSplineTransformCubicType |
Definition at line 173 of file elxRecursiveBSplineTransform.h.
typedef itk::CyclicBSplineDeformableTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro( SpaceDimension ), 1 > elastix::RecursiveBSplineTransform< TElastix >::CyclicBSplineTransformLinearType |
Definition at line 165 of file elxRecursiveBSplineTransform.h.
typedef itk::CyclicBSplineDeformableTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro( SpaceDimension ), 2 > elastix::RecursiveBSplineTransform< TElastix >::CyclicBSplineTransformQuadraticType |
Definition at line 169 of file elxRecursiveBSplineTransform.h.
typedef itk::CyclicGridScheduleComputer< CoordRepType, SpaceDimension > elastix::RecursiveBSplineTransform< TElastix >::CyclicGridScheduleComputerType |
Definition at line 221 of file elxRecursiveBSplineTransform.h.
typedef BSplineTransformBaseType::DirectionType elastix::RecursiveBSplineTransform< TElastix >::DirectionType |
Definition at line 198 of file elxRecursiveBSplineTransform.h.
typedef Superclass2::ElastixPointer elastix::RecursiveBSplineTransform< TElastix >::ElastixPointer |
Definition at line 206 of file elxRecursiveBSplineTransform.h.
typedef Superclass2::ElastixType elastix::RecursiveBSplineTransform< TElastix >::ElastixType |
Typedef's from TransformBase.
Definition at line 205 of file elxRecursiveBSplineTransform.h.
typedef Superclass2::FixedImageType elastix::RecursiveBSplineTransform< TElastix >::FixedImageType |
Definition at line 212 of file elxRecursiveBSplineTransform.h.
typedef GridScheduleComputerType::Pointer elastix::RecursiveBSplineTransform< TElastix >::GridScheduleComputerPointer |
Definition at line 222 of file elxRecursiveBSplineTransform.h.
typedef itk::GridScheduleComputer< CoordRepType, SpaceDimension > elastix::RecursiveBSplineTransform< TElastix >::GridScheduleComputerType |
Typedef's for the GridScheduleComputer and the UpsampleBSplineParametersFilter.
Definition at line 219 of file elxRecursiveBSplineTransform.h.
typedef GridScheduleComputerType::VectorGridSpacingFactorType elastix::RecursiveBSplineTransform< TElastix >::GridScheduleType |
Definition at line 224 of file elxRecursiveBSplineTransform.h.
typedef GridUpsamplerType::Pointer elastix::RecursiveBSplineTransform< TElastix >::GridUpsamplerPointer |
Definition at line 227 of file elxRecursiveBSplineTransform.h.
typedef itk::UpsampleBSplineParametersFilter< ParametersType, ImageType > elastix::RecursiveBSplineTransform< TElastix >::GridUpsamplerType |
Definition at line 226 of file elxRecursiveBSplineTransform.h.
typedef BSplineTransformBaseType::ImagePointer elastix::RecursiveBSplineTransform< TElastix >::ImagePointer |
Definition at line 192 of file elxRecursiveBSplineTransform.h.
typedef BSplineTransformBaseType::ImageType elastix::RecursiveBSplineTransform< TElastix >::ImageType |
Definition at line 191 of file elxRecursiveBSplineTransform.h.
typedef BSplineTransformBaseType::IndexType elastix::RecursiveBSplineTransform< TElastix >::IndexType |
Definition at line 194 of file elxRecursiveBSplineTransform.h.
typedef Superclass1::InputCovariantVectorType elastix::RecursiveBSplineTransform< TElastix >::InputCovariantVectorType |
Definition at line 182 of file elxRecursiveBSplineTransform.h.
typedef Superclass1::InputPointType elastix::RecursiveBSplineTransform< TElastix >::InputPointType |
Definition at line 186 of file elxRecursiveBSplineTransform.h.
typedef Superclass1::InputVectorType elastix::RecursiveBSplineTransform< TElastix >::InputVectorType |
Definition at line 180 of file elxRecursiveBSplineTransform.h.
typedef Superclass1::InputVnlVectorType elastix::RecursiveBSplineTransform< TElastix >::InputVnlVectorType |
Definition at line 184 of file elxRecursiveBSplineTransform.h.
typedef Superclass2::ITKBaseType elastix::RecursiveBSplineTransform< TElastix >::ITKBaseType |
Definition at line 214 of file elxRecursiveBSplineTransform.h.
typedef Superclass1::JacobianType elastix::RecursiveBSplineTransform< TElastix >::JacobianType |
Definition at line 179 of file elxRecursiveBSplineTransform.h.
typedef Superclass2::MovingImageType elastix::RecursiveBSplineTransform< TElastix >::MovingImageType |
Definition at line 213 of file elxRecursiveBSplineTransform.h.
typedef Superclass1::NumberOfParametersType elastix::RecursiveBSplineTransform< TElastix >::NumberOfParametersType |
Definition at line 178 of file elxRecursiveBSplineTransform.h.
typedef BSplineTransformBaseType::OriginType elastix::RecursiveBSplineTransform< TElastix >::OriginType |
Definition at line 197 of file elxRecursiveBSplineTransform.h.
typedef Superclass1::OutputCovariantVectorType elastix::RecursiveBSplineTransform< TElastix >::OutputCovariantVectorType |
Definition at line 183 of file elxRecursiveBSplineTransform.h.
typedef Superclass1::OutputPointType elastix::RecursiveBSplineTransform< TElastix >::OutputPointType |
Definition at line 187 of file elxRecursiveBSplineTransform.h.
typedef Superclass1::OutputVectorType elastix::RecursiveBSplineTransform< TElastix >::OutputVectorType |
Definition at line 181 of file elxRecursiveBSplineTransform.h.
typedef Superclass1::OutputVnlVectorType elastix::RecursiveBSplineTransform< TElastix >::OutputVnlVectorType |
Definition at line 185 of file elxRecursiveBSplineTransform.h.
typedef BSplineTransformBaseType::ParameterIndexArrayType elastix::RecursiveBSplineTransform< TElastix >::ParameterIndexArrayType |
Definition at line 202 of file elxRecursiveBSplineTransform.h.
typedef Superclass2::ParameterMapType elastix::RecursiveBSplineTransform< TElastix >::ParameterMapType |
Typedef that is used in the elastix dll version.
Definition at line 230 of file elxRecursiveBSplineTransform.h.
typedef Superclass1::ParametersType elastix::RecursiveBSplineTransform< TElastix >::ParametersType |
Definition at line 177 of file elxRecursiveBSplineTransform.h.
typedef itk::SmartPointer< Self > elastix::RecursiveBSplineTransform< TElastix >::Pointer |
Definition at line 123 of file elxRecursiveBSplineTransform.h.
typedef BSplineTransformBaseType::RegionType elastix::RecursiveBSplineTransform< TElastix >::RegionType |
Definition at line 193 of file elxRecursiveBSplineTransform.h.
typedef Superclass2::RegistrationPointer elastix::RecursiveBSplineTransform< TElastix >::RegistrationPointer |
Definition at line 210 of file elxRecursiveBSplineTransform.h.
typedef Superclass2::RegistrationType elastix::RecursiveBSplineTransform< TElastix >::RegistrationType |
Definition at line 209 of file elxRecursiveBSplineTransform.h.
typedef Superclass1::ScalarType elastix::RecursiveBSplineTransform< TElastix >::ScalarType |
Typedefs inherited from the superclass.
Definition at line 176 of file elxRecursiveBSplineTransform.h.
typedef RecursiveBSplineTransform elastix::RecursiveBSplineTransform< TElastix >::Self |
Standard ITK-stuff.
Definition at line 118 of file elxRecursiveBSplineTransform.h.
typedef BSplineTransformBaseType::SizeType elastix::RecursiveBSplineTransform< TElastix >::SizeType |
Definition at line 195 of file elxRecursiveBSplineTransform.h.
typedef BSplineTransformBaseType::SpacingType elastix::RecursiveBSplineTransform< TElastix >::SpacingType |
Definition at line 196 of file elxRecursiveBSplineTransform.h.
typedef itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > elastix::RecursiveBSplineTransform< TElastix >::Superclass1 |
Definition at line 121 of file elxRecursiveBSplineTransform.h.
typedef elx::TransformBase< TElastix > elastix::RecursiveBSplineTransform< TElastix >::Superclass2 |
Definition at line 122 of file elxRecursiveBSplineTransform.h.
|
protected |
The constructor.
|
inlineoverrideprotected |
The destructor.
Definition at line 293 of file elxRecursiveBSplineTransform.h.
|
private |
The private constructor.
|
overridevirtual |
Execute stuff before anything else is done:
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Execute stuff before each new pyramid resolution:
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Execute stuff before the actual registration:
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Function to create transform-parameters map. Creates the TransformParametersmap as a vector and if wanted also as a deformation field.
Reimplemented from elastix::TransformBase< TElastix >.
elastix::RecursiveBSplineTransform< TElastix >::elxClassNameMacro | ( | "RecursiveBSplineTransform< TElastix >" | ) |
Name of this class. Use this name in the parameter file to select this specific transform.
example: (Transform "RecursiveBSplineTransform")
|
virtual |
Run-time type information (and related methods).
Reimplemented from elastix::TransformBase< TElastix >.
|
virtual |
Method to increase the density of the B-spline grid.
|
private |
Initialize the right B-spline transform based on the spline order and periodicity.
|
virtual |
Method to set the initial B-spline grid and initialize the parameters (to 0).
elastix::RecursiveBSplineTransform< TElastix >::itkStaticConstMacro | ( | SpaceDimension | , |
unsigned int | , | ||
Superclass2::FixedImageDimension | |||
) |
Dimension of the fixed image.
|
static |
Method for creation through the object factory.
|
private |
The private copy constructor.
|
protectedvirtual |
Read user-specified grid spacing and call the itkGridScheduleComputer.
|
overridevirtual |
Function to read transform-parameters from a file.
Reimplemented from elastix::TransformBase< TElastix >.
|
virtual |
Set the scales of the edge B-spline coefficients to zero.
|
overridevirtual |
Function to write transform-parameters to a file.
Reimplemented from elastix::TransformBase< TElastix >.
|
private |
Private variables.
Definition at line 306 of file elxRecursiveBSplineTransform.h.
|
private |
Definition at line 312 of file elxRecursiveBSplineTransform.h.
|
private |
Definition at line 307 of file elxRecursiveBSplineTransform.h.
|
private |
Definition at line 308 of file elxRecursiveBSplineTransform.h.
|
private |
Variables to remember order and periodicity of B-spline transform.
Definition at line 311 of file elxRecursiveBSplineTransform.h.
Generated on 1667476801 for elastix by 1.9.4 |