![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
Deformable transform using a B-spline representation. More...
#include <itkAdvancedBSplineDeformableTransform.h>
Deformable transform using a B-spline representation.
This class encapsulates a deformable transform of points from one N-dimensional one space to another N-dimensional space. The deformation field is modeled using B-splines. A deformation is defined on a sparse regular grid of control points and is varied by defining a deformation
of each control point. The deformation
at any point
is obtained by using a B-spline interpolation kernel.
The deformation field grid is defined by a user specified GridRegion, GridSpacing and GridOrigin. Each grid/control point has associated with it N deformation coefficients , representing the N directional components of the deformation. Deformation outside the grid plus support region for the B-spline interpolation is assumed to be zero.
Additionally, the user can specified an addition bulk transform such that the transformed point is given by:
The parameters for this transform is N x N-D grid of spline coefficients. The user specifies the parameters as one flat array: each N-D grid is represented by an array in the same way an N-D image is represented in the buffer; the N arrays are then concatentated together on form a single array.
For efficiency, this transform does not make a copy of the parameters. It only keeps a pointer to the input parameters and assumes that the memory is managed by the caller.
The following illustrates the typical usage of this class:
* typedef AdvancedBSplineDeformableTransform<double,2,3> TransformType; * TransformType::Pointer transform = TransformType::New(); * * transform->SetGridRegion( region ); * transform->SetGridSpacing( spacing ); * transform->SetGridOrigin( origin ); * * // NB: the region must be set first before setting the parameters * * TransformType::ParametersType parameters( * transform->GetNumberOfParameters() ); * * // Fill the parameters with values * * transform->SetParameters( parameters ) * * outputPoint = transform->TransformPoint( inputPoint ); * *
An alternative way to set the B-spline coefficients is via array of images. The grid region, spacing and origin information is taken directly from the first image. It is assumed that the subsequent images are the same buffered region. The following illustrates the API:
* * TransformType::ImageConstPointer images[2]; * * // Fill the images up with values * * transform->SetCoefficientImages( images ); * outputPoint = transform->TransformPoint( inputPoint ); * *
Warning: use either the SetParameters() or SetCoefficientImage() API. Mixing the two modes may results in unexpected results.
The class is templated coordinate representation type (float or double), the space dimension and the spline order.
Definition at line 127 of file itkAdvancedBSplineDeformableTransform.h.
typedef SmartPointer<const Self> itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::ConstPointer |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
Definition at line 136 of file itkAdvancedBSplineDeformableTransform.h.
typedef WeightsFunctionType::ContinuousIndexType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::ContinuousIndexType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 201 of file itkAdvancedBSplineDeformableTransform.h.
typedef BSplineInterpolationDerivativeWeightFunction< ScalarType, itkGetStaticConstMacro( SpaceDimension ), itkGetStaticConstMacro( SplineOrder ) > itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::DerivativeWeightsFunctionType |
Definition at line 205 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::DirectionType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::DirectionType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 186 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::GridOffsetType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::GridOffsetType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 188 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::ImagePointer itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::ImagePointer |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 178 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::ImageType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::ImageType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 177 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::IndexType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::IndexType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 183 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::InputCovariantVectorType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::InputCovariantVectorType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
Definition at line 161 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::InputPointType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::InputPointType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
Definition at line 154 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::InputVectorType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::InputVectorType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
Definition at line 156 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::InputVnlVectorType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::InputVnlVectorType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
Definition at line 158 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::InternalMatrixType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::InternalMatrixType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 173 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::JacobianImageType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::JacobianImageType [protected] |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 312 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass ::JacobianOfSpatialHessianType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::JacobianOfSpatialHessianType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 172 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass ::JacobianOfSpatialJacobianType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::JacobianOfSpatialJacobianType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 169 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::JacobianPixelType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::JacobianPixelType [protected] |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 313 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::JacobianType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::JacobianType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
Definition at line 152 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass ::NonZeroJacobianIndicesType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::NonZeroJacobianIndicesType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 166 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::OriginType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::OriginType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 187 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::OutputCovariantVectorType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::OutputCovariantVectorType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
Definition at line 163 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::OutputPointType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::OutputPointType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
Definition at line 155 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::OutputVectorType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::OutputVectorType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
Definition at line 157 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::OutputVnlVectorType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::OutputVnlVectorType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
Definition at line 159 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::ParameterIndexArrayType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::ParameterIndexArrayType |
Parameter index array type.
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 212 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::ParametersType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::ParametersType |
Typedefs from Superclass.
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
Definition at line 151 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::PixelType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::PixelType |
Parameters as SpaceDimension number of images.
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 176 of file itkAdvancedBSplineDeformableTransform.h.
typedef SmartPointer<Self> itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::Pointer |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
Definition at line 135 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::RegionType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::RegionType |
Typedefs for specifying the extend to the grid.
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 181 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::ScalarType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::ScalarType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
Definition at line 153 of file itkAdvancedBSplineDeformableTransform.h.
typedef AdvancedBSplineDeformableTransform itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::Self |
Standard class typedefs.
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
Definition at line 132 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::SizeType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::SizeType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 184 of file itkAdvancedBSplineDeformableTransform.h.
typedef BSplineInterpolationSecondOrderDerivativeWeightFunction< ScalarType, itkGetStaticConstMacro( SpaceDimension ), itkGetStaticConstMacro( SplineOrder ) > itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::SODerivativeWeightsFunctionType |
Definition at line 209 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::SpacingType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::SpacingType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 185 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::SpatialHessianType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::SpatialHessianType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 170 of file itkAdvancedBSplineDeformableTransform.h.
typedef Superclass::SpatialJacobianType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::SpatialJacobianType |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 167 of file itkAdvancedBSplineDeformableTransform.h.
typedef AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions > itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::Superclass |
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
Definition at line 134 of file itkAdvancedBSplineDeformableTransform.h.
typedef BSplineInterpolationWeightFunction2< ScalarType, itkGetStaticConstMacro( SpaceDimension ), itkGetStaticConstMacro( SplineOrder ) > itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::WeightsFunctionType |
Interpolation weights function type.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 199 of file itkAdvancedBSplineDeformableTransform.h.
typedef WeightsFunctionType::WeightsType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::WeightsType |
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 200 of file itkAdvancedBSplineDeformableTransform.h.
itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::AdvancedBSplineDeformableTransform | ( | ) | [protected] |
virtual itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::~AdvancedBSplineDeformableTransform | ( | ) | [protected, virtual] |
itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::AdvancedBSplineDeformableTransform | ( | const Self & | ) | [private] |
virtual void itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::ComputeNonZeroJacobianIndices | ( | NonZeroJacobianIndicesType & | nonZeroJacobianIndices, |
const RegionType & | supportRegion | ||
) | const [protected, virtual] |
virtual const char* itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::GetClassName | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
virtual const JacobianType& itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::GetJacobian | ( | const InputPointType & | point | ) | const [virtual] |
Compute the Jacobian matrix of the transformation at one point.
Reimplemented from itk::AdvancedTransform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
virtual void itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::GetJacobian | ( | const InputPointType & | ipp, |
WeightsType & | weights, | ||
ParameterIndexArrayType & | indices | ||
) | const [virtual] |
Compute the Jacobian of the transformation.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
virtual void itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::GetJacobian | ( | const InputPointType & | ipp, |
JacobianType & | j, | ||
NonZeroJacobianIndicesType & | |||
) | const [virtual] |
Compute the Jacobian of the transformation.
virtual void itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::GetJacobianOfSpatialHessian | ( | const InputPointType & | ipp, |
JacobianOfSpatialHessianType & | jsh, | ||
NonZeroJacobianIndicesType & | nonZeroJacobianIndices | ||
) | const [virtual] |
Compute the Jacobian of the spatial Hessian of the transformation.
virtual void itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::GetJacobianOfSpatialHessian | ( | const InputPointType & | ipp, |
SpatialHessianType & | sh, | ||
JacobianOfSpatialHessianType & | jsh, | ||
NonZeroJacobianIndicesType & | nonZeroJacobianIndices | ||
) | const [virtual] |
Compute both the spatial Hessian and the Jacobian of the spatial Hessian of the transformation.
virtual void itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::GetJacobianOfSpatialJacobian | ( | const InputPointType & | ipp, |
SpatialJacobianType & | sj, | ||
JacobianOfSpatialJacobianType & | jsj, | ||
NonZeroJacobianIndicesType & | nonZeroJacobianIndices | ||
) | const [virtual] |
Compute both the spatial Jacobian and the Jacobian of the spatial Jacobian of the transformation.
virtual void itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::GetJacobianOfSpatialJacobian | ( | const InputPointType & | ipp, |
JacobianOfSpatialJacobianType & | jsj, | ||
NonZeroJacobianIndicesType & | nonZeroJacobianIndices | ||
) | const [virtual] |
Compute the Jacobian of the spatial Jacobian of the transformation.
unsigned int itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::GetNumberOfAffectedWeights | ( | void | ) | const [virtual] |
virtual unsigned long itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::GetNumberOfNonZeroJacobianIndices | ( | void | ) | const [virtual] |
unsigned long itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::GetNumberOfWeights | ( | void | ) | const [inline] |
Get number of weights.
Definition at line 229 of file itkAdvancedBSplineDeformableTransform.h.
virtual void itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::GetSpatialHessian | ( | const InputPointType & | ipp, |
SpatialHessianType & | sh | ||
) | const [virtual] |
Compute the spatial Hessian of the transformation.
virtual void itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::GetSpatialJacobian | ( | const InputPointType & | ipp, |
SpatialJacobianType & | sj | ||
) | const [virtual] |
Compute the spatial Jacobian of the transformation.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
virtual WeightsFunctionType* itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::GetWeightsFunction | ( | ) | [protected, virtual] |
itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::itkStaticConstMacro | ( | SplineOrder | , |
unsigned | int, | ||
VSplineOrder | |||
) |
The B-spline order.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::itkStaticConstMacro | ( | SpaceDimension | , |
unsigned | int, | ||
NDimensions | |||
) |
Dimension of the domain space.
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
static Pointer itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::New | ( | ) | [static] |
New macro for creation of through the object factory.
Reimplemented from itk::AdvancedTransform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::DeformationVectorFieldTransform< TScalarType, NDimensions >.
void itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::operator= | ( | const Self & | ) | [private] |
virtual void itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Print contents of an AdvancedBSplineDeformableTransform.
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
virtual void itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::SetGridRegion | ( | const RegionType & | region | ) | [virtual] |
This method specifies the region over which the grid resides.
Implements itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
virtual void itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::SetWeightsFunction | ( | WeightsFunctionType * | _arg | ) | [protected, virtual] |
Allow subclasses to access and manipulate the weights function.
virtual void itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::TransformPoint | ( | const InputPointType & | inputPoint, |
OutputPointType & | outputPoint, | ||
WeightsType & | weights, | ||
ParameterIndexArrayType & | indices, | ||
bool & | inside | ||
) | const [virtual] |
Transform points by a B-spline deformable transformation. On return, weights contains the interpolation weights used to compute the deformation and indices of the x (zeroth) dimension coefficient parameters in the support region used to compute the deformation. Parameter indices for the i-th dimension can be obtained by adding ( i * this->GetNumberOfParametersPerDimension() ) to the indices array.
Reimplemented in itk::CyclicBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
OutputPointType itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::TransformPoint | ( | const InputPointType & | point | ) | const |
Transform points by a B-spline deformable transformation.
void itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::WrapAsImages | ( | void | ) | [protected] |
Wrap flat array into images of coefficients.
Reimplemented from itk::AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions >.
std::vector< typename DerivativeWeightsFunctionType::Pointer > itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::m_DerivativeWeightsFunctions [protected] |
Definition at line 321 of file itkAdvancedBSplineDeformableTransform.h.
std::vector< std::vector< typename SODerivativeWeightsFunctionType::Pointer > > itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::m_SODerivativeWeightsFunctions [protected] |
Definition at line 323 of file itkAdvancedBSplineDeformableTransform.h.
WeightsFunctionType::Pointer itk::AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::m_WeightsFunction [protected] |
Pointer to function used to compute B-spline interpolation weights. For each direction we create a different weights function for thread- safety.
Definition at line 319 of file itkAdvancedBSplineDeformableTransform.h.
Generated on 24-10-2011 for elastix by ![]() |
![]() |