![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxSplineKernelTransform.h>
Public Member Functions | |
virtual int | BeforeAll (void) |
virtual void | BeforeRegistration (void) |
elxClassNameMacro ("SplineKernelTransform") | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (SpaceDimension, unsigned int, Superclass2::FixedImageDimension) | |
virtual void | ReadFromFile (void) |
virtual void | WriteToFile (const ParametersType ¶m) const |
![]() | |
virtual CurrentTransformType * | GetCurrentTransform () |
virtual const ParametersType & | GetFixedParameters (void) const |
virtual bool | GetHasNonZeroSpatialHessian (void) const |
virtual const InitialTransformType * | GetInitialTransform () |
virtual bool | GetInverse (Self *inverse) const |
virtual const JacobianType & | GetJacobian (const InputPointType &point) const |
virtual void | GetJacobian (const InputPointType &ipp, JacobianType &j, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialHessian (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialJacobian (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual unsigned long | GetNumberOfNonZeroJacobianIndices (void) const |
virtual unsigned int | GetNumberOfParameters (void) const |
virtual const ParametersType & | GetParameters (void) const |
virtual void | GetSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh) const |
virtual void | GetSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj) const |
virtual bool | GetUseAddition () const |
virtual bool | GetUseComposition () const |
virtual bool | HasNonZeroJacobianOfSpatialHessian (void) const |
virtual bool | IsLinear (void) const |
itkStaticConstMacro (SpaceDimension, unsigned int, NDimensions) | |
virtual void | SetCurrentTransform (CurrentTransformType *_arg) |
virtual void | SetFixedParameters (const ParametersType &fixedParam) |
virtual void | SetInitialTransform (const InitialTransformType *_arg) |
virtual void | SetParameters (const ParametersType ¶m) |
virtual void | SetParametersByValue (const ParametersType ¶m) |
virtual void | SetUseAddition (bool _arg) |
virtual void | SetUseComposition (bool _arg) |
virtual OutputPointType | TransformPoint (const InputPointType &point) const |
![]() | |
virtual bool | GetHasNonZeroJacobianOfSpatialHessian () const |
virtual void | GetJacobian (const InputPointType &ipp, JacobianType &j, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialHessian (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialJacobian (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh) const |
virtual void | GetSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj) const |
itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions) | |
itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions) | |
![]() | |
virtual void | AfterRegistrationBase (void) |
virtual int | BeforeAllBase (void) |
virtual int | BeforeAllTransformix (void) |
virtual void | BeforeRegistrationBase (void) |
virtual void | ComputeDeterminantOfSpatialJacobian (void) const |
virtual void | ComputeSpatialJacobian (void) const |
virtual const CombinationTransformType * | GetAsCombinationTransform (void) const |
virtual CombinationTransformType * | GetAsCombinationTransform (void) |
virtual ITKBaseType * | GetAsITKBaseType (void) |
virtual const ITKBaseType * | GetAsITKBaseType (void) const |
virtual const InitialTransformType * | GetInitialTransform (void) const |
virtual const char * | GetTransformParametersFileName () const |
itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension) | |
itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension) | |
virtual void | ReadInitialTransformFromFile (const char *transformParameterFileName) |
virtual void | SetFinalParameters (void) |
virtual void | SetInitialTransform (InitialTransformType *_arg) |
virtual void | SetReadWriteTransformParameters (const bool _arg) |
virtual void | SetTransformParametersFileName (const char *filename) |
virtual void | TransformPoints (void) const |
virtual void | TransformPointsAllPoints (void) const |
virtual void | TransformPointsSomePoints (const std::string filename) const |
virtual void | TransformPointsSomePointsVTK (const std::string filename) const |
virtual void | WriteToFile (void) const |
![]() | |
virtual ConfigurationType * | GetConfiguration (void) const |
virtual ElastixType * | GetElastix (void) const |
virtual RegistrationPointer | GetRegistration (void) const |
virtual void | SetConfiguration (ConfigurationType *_arg) |
virtual void | SetElastix (ElastixType *_arg) |
![]() | |
virtual void | AfterEachIteration (void) |
virtual void | AfterEachIterationBase (void) |
virtual void | AfterEachResolution (void) |
virtual void | AfterEachResolutionBase (void) |
virtual void | AfterRegistration (void) |
virtual void | BeforeEachResolution (void) |
virtual void | BeforeEachResolutionBase (void) |
virtual const char * | elxGetClassName (void) const |
virtual const char * | GetComponentLabel (void) const |
virtual void | SetComponentLabel (const char *label, unsigned int idx) |
Static Public Member Functions | |
static Pointer | New () |
Protected Types | |
typedef ElasticBodySplineKernelTransform2 < CoordRepType, itkGetStaticConstMacro(SpaceDimension) > | EBKernelTransformType |
typedef ElasticBodyReciprocalSplineKernelTransform2 < CoordRepType, itkGetStaticConstMacro(SpaceDimension) > | EBRKernelTransformType |
typedef ThinPlateSplineKernelTransform2 < CoordRepType, itkGetStaticConstMacro(SpaceDimension) > | TPKernelTransformType |
typedef ThinPlateR2LogRSplineKernelTransform2 < CoordRepType, itkGetStaticConstMacro(SpaceDimension) > | TPRKernelTransformType |
typedef VolumeSplineKernelTransform2 < CoordRepType, itkGetStaticConstMacro(SpaceDimension) > | VKernelTransformType |
Protected Member Functions | |
virtual void | DetermineSourceLandmarks (void) |
virtual bool | DetermineTargetLandmarks (void) |
virtual void | ReadLandmarkFile (const std::string &filename, PointSetPointer &landmarkPointSet, const bool &landmarksInFixedImage) |
virtual bool | SetKernelType (const std::string &kernelType) |
SplineKernelTransform () | |
virtual | ~SplineKernelTransform () |
![]() | |
AdvancedCombinationTransform () | |
const JacobianType & | GetJacobianNoCurrentTransform (const InputPointType &point) const |
void | GetJacobianNoCurrentTransform (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const |
const JacobianType & | GetJacobianNoInitialTransform (const InputPointType &point) const |
void | GetJacobianNoInitialTransform (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const |
void | GetJacobianOfSpatialHessianNoCurrentTransform (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
void | GetJacobianOfSpatialHessianNoCurrentTransform (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
void | GetJacobianOfSpatialHessianNoInitialTransform (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
void | GetJacobianOfSpatialHessianNoInitialTransform (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
void | GetJacobianOfSpatialHessianUseAddition (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
void | GetJacobianOfSpatialHessianUseAddition (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
void | GetJacobianOfSpatialHessianUseComposition (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialHessianUseComposition (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
void | GetJacobianOfSpatialJacobianNoCurrentTransform (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
void | GetJacobianOfSpatialJacobianNoCurrentTransform (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
void | GetJacobianOfSpatialJacobianNoInitialTransform (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
void | GetJacobianOfSpatialJacobianNoInitialTransform (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
void | GetJacobianOfSpatialJacobianUseAddition (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
void | GetJacobianOfSpatialJacobianUseAddition (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
void | GetJacobianOfSpatialJacobianUseComposition (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
void | GetJacobianOfSpatialJacobianUseComposition (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
const JacobianType & | GetJacobianUseAddition (const InputPointType &point) const |
void | GetJacobianUseAddition (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const |
const JacobianType & | GetJacobianUseComposition (const InputPointType &point) const |
void | GetJacobianUseComposition (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const |
void | GetSpatialHessianNoCurrentTransform (const InputPointType &ipp, SpatialHessianType &sh) const |
void | GetSpatialHessianNoInitialTransform (const InputPointType &ipp, SpatialHessianType &sh) const |
void | GetSpatialHessianUseAddition (const InputPointType &ipp, SpatialHessianType &sh) const |
void | GetSpatialHessianUseComposition (const InputPointType &ipp, SpatialHessianType &sh) const |
void | GetSpatialJacobianNoCurrentTransform (const InputPointType &ipp, SpatialJacobianType &sj) const |
void | GetSpatialJacobianNoInitialTransform (const InputPointType &ipp, SpatialJacobianType &sj) const |
void | GetSpatialJacobianUseAddition (const InputPointType &ipp, SpatialJacobianType &sj) const |
void | GetSpatialJacobianUseComposition (const InputPointType &ipp, SpatialJacobianType &sj) const |
virtual void | NoCurrentTransformSet (void) const throw (ExceptionObject) |
OutputPointType | TransformPointNoCurrentTransform (const InputPointType &point) const |
OutputPointType | TransformPointNoInitialTransform (const InputPointType &point) const |
OutputPointType | TransformPointUseAddition (const InputPointType &point) const |
OutputPointType | TransformPointUseComposition (const InputPointType &point) const |
virtual void | UpdateCombinationMethod (void) |
virtual | ~AdvancedCombinationTransform () |
![]() | |
AdvancedTransform () | |
AdvancedTransform (unsigned int Dimension, unsigned int NumberOfParameters) | |
virtual | ~AdvancedTransform () |
![]() | |
void | AutomaticScalesEstimation (ScalesType &scales) const |
TransformBase () | |
virtual | ~TransformBase () |
![]() | |
BaseComponentSE () | |
virtual | ~BaseComponentSE () |
![]() | |
BaseComponent () | |
virtual | ~BaseComponent () |
Private Member Functions | |
void | operator= (const Self &) |
SplineKernelTransform (const Self &) |
Private Attributes | |
std::string | m_SplineKernelType |
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 |
Definition at line 175 of file elxSplineKernelTransform.h.
typedef Superclass2::ConfigurationPointer elastix::SplineKernelTransform< TElastix >::ConfigurationPointer |
Definition at line 168 of file elxSplineKernelTransform.h.
typedef Superclass2::ConfigurationType elastix::SplineKernelTransform< TElastix >::ConfigurationType |
Definition at line 167 of file elxSplineKernelTransform.h.
typedef SmartPointer<const Self> elastix::SplineKernelTransform< TElastix >::ConstPointer |
Definition at line 134 of file elxSplineKernelTransform.h.
typedef Superclass2::CoordRepType elastix::SplineKernelTransform< TElastix >::CoordRepType |
Definition at line 171 of file elxSplineKernelTransform.h.
|
protected |
Definition at line 216 of file elxSplineKernelTransform.h.
|
protected |
Definition at line 218 of file elxSplineKernelTransform.h.
typedef Superclass2::ElastixPointer elastix::SplineKernelTransform< TElastix >::ElastixPointer |
Definition at line 166 of file elxSplineKernelTransform.h.
typedef Superclass2::ElastixType elastix::SplineKernelTransform< TElastix >::ElastixType |
Typedef's from the TransformBase class.
Definition at line 165 of file elxSplineKernelTransform.h.
typedef Superclass2::FixedImageType elastix::SplineKernelTransform< TElastix >::FixedImageType |
Definition at line 172 of file elxSplineKernelTransform.h.
typedef Superclass1::InputCovariantVectorType elastix::SplineKernelTransform< TElastix >::InputCovariantVectorType |
Definition at line 157 of file elxSplineKernelTransform.h.
typedef Superclass1::InputPointType elastix::SplineKernelTransform< TElastix >::InputPointType |
Definition at line 161 of file elxSplineKernelTransform.h.
typedef Superclass1::InputVectorType elastix::SplineKernelTransform< TElastix >::InputVectorType |
Definition at line 155 of file elxSplineKernelTransform.h.
typedef Superclass1::InputVnlVectorType elastix::SplineKernelTransform< TElastix >::InputVnlVectorType |
Definition at line 159 of file elxSplineKernelTransform.h.
typedef Superclass2::ITKBaseType elastix::SplineKernelTransform< TElastix >::ITKBaseType |
Definition at line 174 of file elxSplineKernelTransform.h.
typedef Superclass1::JacobianType elastix::SplineKernelTransform< TElastix >::JacobianType |
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 |
Definition at line 173 of file elxSplineKernelTransform.h.
typedef Superclass1::OutputCovariantVectorType elastix::SplineKernelTransform< TElastix >::OutputCovariantVectorType |
Definition at line 158 of file elxSplineKernelTransform.h.
typedef Superclass1::OutputPointType elastix::SplineKernelTransform< TElastix >::OutputPointType |
Definition at line 162 of file elxSplineKernelTransform.h.
typedef Superclass1::OutputVectorType elastix::SplineKernelTransform< TElastix >::OutputVectorType |
Definition at line 156 of file elxSplineKernelTransform.h.
typedef Superclass1::OutputVnlVectorType elastix::SplineKernelTransform< TElastix >::OutputVnlVectorType |
Definition at line 160 of file elxSplineKernelTransform.h.
typedef Superclass1::ParametersType elastix::SplineKernelTransform< TElastix >::ParametersType |
Definition at line 153 of file elxSplineKernelTransform.h.
typedef SmartPointer<Self> elastix::SplineKernelTransform< TElastix >::Pointer |
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 |
Definition at line 170 of file elxSplineKernelTransform.h.
typedef Superclass2::RegistrationType elastix::SplineKernelTransform< TElastix >::RegistrationType |
Definition at line 169 of file elxSplineKernelTransform.h.
typedef Superclass1::ScalarType elastix::SplineKernelTransform< TElastix >::ScalarType |
Typedefs inherited from the superclass.
Definition at line 152 of file elxSplineKernelTransform.h.
typedef SplineKernelTransform elastix::SplineKernelTransform< TElastix >::Self |
Standard ITK-stuff.
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.
|
protected |
Definition at line 207 of file elxSplineKernelTransform.h.
|
protected |
Definition at line 212 of file elxSplineKernelTransform.h.
|
protected |
Definition at line 214 of file elxSplineKernelTransform.h.
|
protected |
The constructor.
|
inlineprotectedvirtual |
The destructor.
Definition at line 207 of file elxSplineKernelTransform.h.
|
private |
The private constructor.
|
virtual |
Execute stuff before everything else:
Reimplemented from elastix::BaseComponent.
|
virtual |
Execute stuff before the actual registration:
Reimplemented from elastix::BaseComponent.
|
protectedvirtual |
Read source landmarks from fp file
|
protectedvirtual |
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 |
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 |
Method for creation through the object factory.
Reimplemented from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >.
|
private |
The private copy constructor.
|
virtual |
Function to read transform-parameters from a file.
Reimplemented from elastix::TransformBase< TElastix >.
|
protectedvirtual |
General function to read all landmarks.
|
protectedvirtual |
Create an instance of a kernel transform. Returns false if the kernelType is unknown.
|
virtual |
Function to write transform-parameters to a file.
Reimplemented from elastix::TransformBase< TElastix >.
|
protected |
The itk kernel transform.
Definition at line 243 of file elxSplineKernelTransform.h.
|
private |
Definition at line 252 of file elxSplineKernelTransform.h.
Generated on 21-03-2014 for elastix by ![]() |
![]() |