![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
A transform based on the itk::KernelTransform2. More...
#include <elxSplineKernelTransform.h>
A transform based on the itk::KernelTransform2.
This transform is a nonrigid transformation, based on thin-plate-spline-like kernels.
The ITK code for this class is largely based on code by Rupert Brooks. For elastix a few modifications were made (making the transform thread safe, and make it support the AdvancedTransform framework).
This nonrigid transformation model allows the user to place control points at application-specific positions, unlike the BSplineTransform, which always uses a regular grid of control points.
NB: in order to use this class for registration, the -fp command line argument is mandatory! It is used to place the fixed image landmarks.
The parameters used in this class are:
(Transform "SplineKernelTransform")
(SplineKernelType "ElasticBodySpline")
(SplineRelaxationFactor 0.01 )
(SplinePoissonRatio 0.3 )
-fp fixedImagePoints.txt
-mp movingImagePoints.txt
(Transform "SplineKernelTransform")
(SplineKernelType "ElasticBodySpline")
(SplineRelaxationFactor 0.01 )
(SplinePoissonRatio 0.3 )
(FixedImageLandmarks 10.0 11.0 12.0 4.0 4.0 4.0 6.0 6.0 6.0 )
Definition at line 113 of file elxSplineKernelTransform.h.
typedef Superclass2::CombinationTransformType elastix::SplineKernelTransform< TElastix >::CombinationTransformType |
Reimplemented from elastix::TransformBase< TElastix >.
Definition at line 175 of file elxSplineKernelTransform.h.
typedef Superclass2::ConfigurationPointer elastix::SplineKernelTransform< TElastix >::ConfigurationPointer |
Reimplemented from elastix::TransformBase< TElastix >.
Definition at line 168 of file elxSplineKernelTransform.h.
typedef Superclass2::ConfigurationType elastix::SplineKernelTransform< TElastix >::ConfigurationType |
Reimplemented from elastix::TransformBase< TElastix >.
Definition at line 167 of file elxSplineKernelTransform.h.
typedef SmartPointer<const Self> elastix::SplineKernelTransform< TElastix >::ConstPointer |
Reimplemented from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >.
Definition at line 134 of file elxSplineKernelTransform.h.
typedef Superclass2::CoordRepType elastix::SplineKernelTransform< TElastix >::CoordRepType |
Reimplemented from elastix::TransformBase< TElastix >.
Definition at line 171 of file elxSplineKernelTransform.h.
typedef ElasticBodySplineKernelTransform2< CoordRepType, itkGetStaticConstMacro(SpaceDimension) > elastix::SplineKernelTransform< TElastix >::EBKernelTransformType [protected] |
Definition at line 216 of file elxSplineKernelTransform.h.
typedef ElasticBodyReciprocalSplineKernelTransform2< CoordRepType, itkGetStaticConstMacro(SpaceDimension) > elastix::SplineKernelTransform< TElastix >::EBRKernelTransformType [protected] |
Definition at line 218 of file elxSplineKernelTransform.h.
typedef Superclass2::ElastixPointer elastix::SplineKernelTransform< TElastix >::ElastixPointer |
Reimplemented from elastix::TransformBase< TElastix >.
Definition at line 166 of file elxSplineKernelTransform.h.
typedef Superclass2::ElastixType elastix::SplineKernelTransform< TElastix >::ElastixType |
Typedef's from the TransformBase class.
Reimplemented from elastix::TransformBase< TElastix >.
Definition at line 165 of file elxSplineKernelTransform.h.
typedef Superclass2::FixedImageType elastix::SplineKernelTransform< TElastix >::FixedImageType |
Reimplemented from elastix::TransformBase< TElastix >.
Definition at line 172 of file elxSplineKernelTransform.h.
typedef Superclass1::InputCovariantVectorType elastix::SplineKernelTransform< TElastix >::InputCovariantVectorType |
Reimplemented from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >.
Definition at line 157 of file elxSplineKernelTransform.h.
typedef Superclass1::InputPointType elastix::SplineKernelTransform< TElastix >::InputPointType |
Reimplemented from elastix::TransformBase< TElastix >.
Definition at line 161 of file elxSplineKernelTransform.h.
typedef Superclass1::InputVectorType elastix::SplineKernelTransform< TElastix >::InputVectorType |
Reimplemented from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >.
Definition at line 155 of file elxSplineKernelTransform.h.
typedef Superclass1::InputVnlVectorType elastix::SplineKernelTransform< TElastix >::InputVnlVectorType |
Reimplemented from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >.
Definition at line 159 of file elxSplineKernelTransform.h.
typedef Superclass2::ITKBaseType elastix::SplineKernelTransform< TElastix >::ITKBaseType |
Reimplemented from elastix::TransformBase< TElastix >.
Definition at line 174 of file elxSplineKernelTransform.h.
typedef Superclass1::JacobianType elastix::SplineKernelTransform< TElastix >::JacobianType |
Reimplemented from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >.
Definition at line 154 of file elxSplineKernelTransform.h.
typedef KernelTransformType::Pointer elastix::SplineKernelTransform< TElastix >::KernelTransformPointer |
Extra typedefs
Definition at line 178 of file elxSplineKernelTransform.h.
typedef KernelTransform2< typename elx::TransformBase<TElastix>::CoordRepType, elx::TransformBase<TElastix>::FixedImageDimension > elastix::SplineKernelTransform< TElastix >::KernelTransformType |
The ITK-class that provides most of the functionality, and that is set as the "CurrentTransform" in the CombinationTransform.
Definition at line 132 of file elxSplineKernelTransform.h.
typedef Superclass2::MovingImageType elastix::SplineKernelTransform< TElastix >::MovingImageType |
Reimplemented from elastix::TransformBase< TElastix >.
Definition at line 173 of file elxSplineKernelTransform.h.
typedef Superclass1::OutputCovariantVectorType elastix::SplineKernelTransform< TElastix >::OutputCovariantVectorType |
Reimplemented from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >.
Definition at line 158 of file elxSplineKernelTransform.h.
typedef Superclass1::OutputPointType elastix::SplineKernelTransform< TElastix >::OutputPointType |
Reimplemented from elastix::TransformBase< TElastix >.
Definition at line 162 of file elxSplineKernelTransform.h.
typedef Superclass1::OutputVectorType elastix::SplineKernelTransform< TElastix >::OutputVectorType |
Reimplemented from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >.
Definition at line 156 of file elxSplineKernelTransform.h.
typedef Superclass1::OutputVnlVectorType elastix::SplineKernelTransform< TElastix >::OutputVnlVectorType |
Reimplemented from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >.
Definition at line 160 of file elxSplineKernelTransform.h.
typedef Superclass1::ParametersType elastix::SplineKernelTransform< TElastix >::ParametersType |
Reimplemented from elastix::TransformBase< TElastix >.
Definition at line 153 of file elxSplineKernelTransform.h.
typedef SmartPointer<Self> elastix::SplineKernelTransform< TElastix >::Pointer |
Reimplemented from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >.
Definition at line 133 of file elxSplineKernelTransform.h.
typedef PointSetType::Pointer elastix::SplineKernelTransform< TElastix >::PointSetPointer |
Definition at line 180 of file elxSplineKernelTransform.h.
typedef KernelTransformType::PointSetType elastix::SplineKernelTransform< TElastix >::PointSetType |
Definition at line 179 of file elxSplineKernelTransform.h.
typedef Superclass2::RegistrationPointer elastix::SplineKernelTransform< TElastix >::RegistrationPointer |
Reimplemented from elastix::TransformBase< TElastix >.
Definition at line 170 of file elxSplineKernelTransform.h.
typedef Superclass2::RegistrationType elastix::SplineKernelTransform< TElastix >::RegistrationType |
Reimplemented from elastix::TransformBase< TElastix >.
Definition at line 169 of file elxSplineKernelTransform.h.
typedef Superclass1::ScalarType elastix::SplineKernelTransform< TElastix >::ScalarType |
Typedefs inherited from the superclass.
Reimplemented from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >.
Definition at line 152 of file elxSplineKernelTransform.h.
typedef SplineKernelTransform elastix::SplineKernelTransform< TElastix >::Self |
Standard ITK-stuff.
Reimplemented from elastix::TransformBase< TElastix >.
Definition at line 121 of file elxSplineKernelTransform.h.
typedef AdvancedCombinationTransform< typename elx::TransformBase<TElastix>::CoordRepType, elx::TransformBase<TElastix>::FixedImageDimension > elastix::SplineKernelTransform< TElastix >::Superclass1 |
Definition at line 124 of file elxSplineKernelTransform.h.
typedef elx::TransformBase<TElastix> elastix::SplineKernelTransform< TElastix >::Superclass2 |
Definition at line 125 of file elxSplineKernelTransform.h.
typedef ThinPlateSplineKernelTransform2< CoordRepType, itkGetStaticConstMacro(SpaceDimension) > elastix::SplineKernelTransform< TElastix >::TPKernelTransformType [protected] |
Definition at line 207 of file elxSplineKernelTransform.h.
typedef ThinPlateR2LogRSplineKernelTransform2< CoordRepType, itkGetStaticConstMacro(SpaceDimension) > elastix::SplineKernelTransform< TElastix >::TPRKernelTransformType [protected] |
Definition at line 212 of file elxSplineKernelTransform.h.
typedef VolumeSplineKernelTransform2< CoordRepType, itkGetStaticConstMacro(SpaceDimension) > elastix::SplineKernelTransform< TElastix >::VKernelTransformType [protected] |
Definition at line 214 of file elxSplineKernelTransform.h.
elastix::SplineKernelTransform< TElastix >::SplineKernelTransform | ( | ) | [protected] |
The constructor.
virtual elastix::SplineKernelTransform< TElastix >::~SplineKernelTransform | ( | ) | [inline, protected, virtual] |
The destructor.
Definition at line 207 of file elxSplineKernelTransform.h.
elastix::SplineKernelTransform< TElastix >::SplineKernelTransform | ( | const Self & | ) | [private] |
The private constructor.
virtual int elastix::SplineKernelTransform< TElastix >::BeforeAll | ( | void | ) | [virtual] |
Execute stuff before everything else:
Reimplemented from elastix::BaseComponent.
virtual void elastix::SplineKernelTransform< TElastix >::BeforeRegistration | ( | void | ) | [virtual] |
Execute stuff before the actual registration:
Reimplemented from elastix::BaseComponent.
virtual void elastix::SplineKernelTransform< TElastix >::DetermineSourceLandmarks | ( | void | ) | [protected, virtual] |
Read source landmarks from fp file
virtual bool elastix::SplineKernelTransform< TElastix >::DetermineTargetLandmarks | ( | void | ) | [protected, virtual] |
Read target landmarks from mp file or load identity.
elastix::SplineKernelTransform< TElastix >::elxClassNameMacro | ( | "SplineKernelTransform< TElastix >" | ) |
Name of this class. Use this name in the parameter file to select this specific transform.
example: (Transform "SplineKernelTransform")
virtual const char* elastix::SplineKernelTransform< TElastix >::GetClassName | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from elastix::TransformBase< TElastix >.
elastix::SplineKernelTransform< TElastix >::itkStaticConstMacro | ( | SpaceDimension | , |
unsigned | int, | ||
Superclass2::FixedImageDimension | |||
) |
Dimension of the domain space.
static Pointer elastix::SplineKernelTransform< TElastix >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >.
void elastix::SplineKernelTransform< TElastix >::operator= | ( | const Self & | ) | [private] |
The private copy constructor.
virtual void elastix::SplineKernelTransform< TElastix >::ReadFromFile | ( | void | ) | [virtual] |
Function to read transform-parameters from a file.
Reimplemented from elastix::TransformBase< TElastix >.
virtual void elastix::SplineKernelTransform< TElastix >::ReadLandmarkFile | ( | const std::string & | filename, |
PointSetPointer & | landmarkPointSet, | ||
const bool & | landmarksInFixedImage | ||
) | [protected, virtual] |
General function to read all landmarks.
virtual bool elastix::SplineKernelTransform< TElastix >::SetKernelType | ( | const std::string & | kernelType | ) | [protected, virtual] |
Create an instance of a kernel transform. Returns false if the kernelType is unknown.
virtual void elastix::SplineKernelTransform< TElastix >::WriteToFile | ( | const ParametersType & | param | ) | const [virtual] |
Function to write transform-parameters to a file.
Reimplemented from elastix::TransformBase< TElastix >.
KernelTransformPointer elastix::SplineKernelTransform< TElastix >::m_KernelTransform [protected] |
The itk kernel transform.
Definition at line 243 of file elxSplineKernelTransform.h.
std::string elastix::SplineKernelTransform< TElastix >::m_SplineKernelType [private] |
Definition at line 252 of file elxSplineKernelTransform.h.
Generated on 24-10-2011 for elastix by ![]() |
![]() |