go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkRecursiveBSplineTransform.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright UMC Utrecht and contributors
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef __itkRecursiveBSplineTransform_h
19#define __itkRecursiveBSplineTransform_h
20
22
24
25namespace itk
26{
36template< typename TScalarType = double,
37 unsigned int NDimensions = 3,
38 unsigned int VSplineOrder = 3 >
40 public AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >
41{
42public:
43
47 TScalarType, NDimensions, VSplineOrder > Superclass;
49 typedef SmartPointer< const Self > ConstPointer;
50
52 itkNewMacro( Self );
53
56
58 itkStaticConstMacro( SpaceDimension, unsigned int, NDimensions );
59
61 itkStaticConstMacro( SplineOrder, unsigned int, VSplineOrder );
62
78
80 typedef typename Superclass::PixelType PixelType;
83 //typedef typename Superclass::CoefficientImageArray CoefficientImageArray;
84
93 typedef typename GridOffsetType::OffsetValueType OffsetValueType;
94
103
113
116
118 TScalarType, NDimensions, VSplineOrder > RecursiveBSplineWeightFunctionType; //TODO: get rid of this and use the kernels directly.
119
121 typedef BSplineKernelFunction2< itkGetStaticConstMacro( SplineOrder ) > KernelType;
122 typedef BSplineDerivativeKernelFunction2< itkGetStaticConstMacro( SplineOrder ) > DerivativeKernelType;
123 typedef BSplineSecondOrderDerivativeKernelFunction2< itkGetStaticConstMacro( SplineOrder ) > SecondOrderDerivativeKernelType;
124
129
134 OutputPointType TransformPoint( const InputPointType & point ) const override;
135
138 const InputPointType & ipp,
139 JacobianType & j,
140 NonZeroJacobianIndicesType & nonZeroJacobianIndices ) const override;
141
146 const InputPointType & ipp,
147 const MovingImageGradientType & movingImageGradient,
148 DerivativeType & imageJacobian,
149 NonZeroJacobianIndicesType & nonZeroJacobianIndices ) const override;
150
153 const InputPointType & ipp,
154 SpatialJacobianType & sj ) const override;
155
158 const InputPointType & ipp,
159 SpatialHessianType & sh ) const override;
160
163 const InputPointType & ipp,
165 NonZeroJacobianIndicesType & nonZeroJacobianIndices ) const override;
166
171 const InputPointType & ipp,
174 NonZeroJacobianIndicesType & nonZeroJacobianIndices ) const override;
175
178 const InputPointType & ipp,
180 NonZeroJacobianIndicesType & nonZeroJacobianIndices ) const override;
181
186 const InputPointType & ipp,
189 NonZeroJacobianIndicesType & nonZeroJacobianIndices ) const override;
190
191protected:
192
195
198
200
203 NonZeroJacobianIndicesType & nonZeroJacobianIndices,
204 const RegionType & supportRegion ) const override;
205
206private:
207
208 RecursiveBSplineTransform( const Self & ); // purposely not implemented
209 void operator=( const Self & ); // purposely not implemented
210
211};
212
213} // end namespace itk
214
215#ifndef ITK_MANUAL_INSTANTIATION
216#include "itkRecursiveBSplineTransform.hxx"
217#endif
218
219#endif /* __itkRecursiveBSplineTransform_h */
Deformable transform using a B-spline representation.
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Superclass::MovingImageGradientValueType MovingImageGradientValueType
Superclass::InputCovariantVectorType InputCovariantVectorType
WeightsFunctionType::ContinuousIndexType ContinuousIndexType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Derivative of a B-spline kernel used for density estimation and nonparametric regression.
Returns the weights over the support region used for B-spline interpolation/reconstruction.
Returns the weights over the support region used for B-spline interpolation/reconstruction.
Returns the weights over the support region used for B-spline interpolation/reconstruction.
B-spline kernel used for density estimation and nonparameteric regression.
Derivative of a B-spline kernel used for density estimation and nonparametric regression.
Returns the weights over the support region used for B-spline interpolation/reconstruction.
A recursive implementation of the B-spline transform.
Superclass::SODerivativeWeightsFunctionPointer SODerivativeWeightsFunctionPointer
Superclass::SpatialHessianType SpatialHessianType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::ParameterIndexArrayType ParameterIndexArrayType
void GetJacobianOfSpatialHessian(const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override
void GetJacobianOfSpatialJacobian(const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override
GridOffsetType::OffsetValueType OffsetValueType
DerivativeKernelType::Pointer m_DerivativeKernel
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
RecursiveBSplineWeightFunctionType::Pointer m_RecursiveBSplineWeightFunction
BSplineSecondOrderDerivativeKernelFunction2< itkGetStaticConstMacro(SplineOrder) > SecondOrderDerivativeKernelType
Superclass::MovingImageGradientValueType MovingImageGradientValueType
RecursiveBSplineTransform(const Self &)
itkStaticConstMacro(SplineOrder, unsigned int, VSplineOrder)
itk::RecursiveBSplineInterpolationWeightFunction< TScalarType, NDimensions, VSplineOrder > RecursiveBSplineWeightFunctionType
BSplineDerivativeKernelFunction2< itkGetStaticConstMacro(SplineOrder) > DerivativeKernelType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::DerivativeType DerivativeType
Superclass::InputVectorType InputVectorType
AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder > Superclass
Superclass::MovingImageGradientType MovingImageGradientType
Superclass::ParametersValueType ParametersValueType
BSplineKernelFunction2< itkGetStaticConstMacro(SplineOrder) > KernelType
Superclass::WeightsFunctionPointer WeightsFunctionPointer
Superclass::InputPointType InputPointType
void ComputeNonZeroJacobianIndices(NonZeroJacobianIndicesType &nonZeroJacobianIndices, const RegionType &supportRegion) const override
Superclass::OutputPointType OutputPointType
Superclass::SODerivativeWeightsFunctionType SODerivativeWeightsFunctionType
Superclass::ParametersType ParametersType
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Superclass::SpatialJacobianType SpatialJacobianType
Superclass::ContinuousIndexType ContinuousIndexType
Superclass::JacobianImageType JacobianImageType
OutputPointType TransformPoint(const InputPointType &point) const override
void GetJacobianOfSpatialJacobian(const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override
void GetSpatialJacobian(const InputPointType &ipp, SpatialJacobianType &sj) const override
Superclass::OutputVectorType OutputVectorType
void GetJacobian(const InputPointType &ipp, JacobianType &j, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override
void GetSpatialHessian(const InputPointType &ipp, SpatialHessianType &sh) const override
itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions)
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
void GetJacobianOfSpatialHessian(const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override
Superclass::InternalMatrixType InternalMatrixType
Superclass::DerivativeWeightsFunctionPointer DerivativeWeightsFunctionPointer
Superclass::NumberOfParametersType NumberOfParametersType
SecondOrderDerivativeKernelType::Pointer m_SecondOrderDerivativeKernel
Superclass::DerivativeWeightsFunctionType DerivativeWeightsFunctionType
void EvaluateJacobianWithImageGradientProduct(const InputPointType &ipp, const MovingImageGradientType &movingImageGradient, DerivativeType &imageJacobian, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override
void operator=(const Self &)
Superclass::JacobianPixelType JacobianPixelType
Superclass::GridOffsetType GridOffsetType
Superclass::WeightsFunctionType WeightsFunctionType
Superclass::InputVnlVectorType InputVnlVectorType


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo