go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkDeformationVectorFieldTransform.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 itkDeformationVectorFieldTransform_h
19#define itkDeformationVectorFieldTransform_h
20
22
23namespace itk
24{
25
45template <class TScalarType = double, unsigned int NDimensions = 3>
46class ITK_TEMPLATE_EXPORT DeformationVectorFieldTransform
47 : public AdvancedBSplineDeformableTransform<TScalarType, NDimensions, 0>
48{
49public:
51
55 using Pointer = SmartPointer<Self>;
56 using ConstPointer = SmartPointer<const Self>;
57
59 itkNewMacro(Self);
60
63
65 itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions);
66 itkStaticConstMacro(SplineOrder, unsigned int, Superclass::SplineOrder);
67
69 using typename Superclass::ScalarType;
70 using typename Superclass::ParametersType;
71 using typename Superclass::JacobianType;
72 using typename Superclass::InputVectorType;
73 using typename Superclass::OutputVectorType;
74 using typename Superclass::InputCovariantVectorType;
75 using typename Superclass::OutputCovariantVectorType;
76 using typename Superclass::InputVnlVectorType;
77 using typename Superclass::OutputVnlVectorType;
78 using typename Superclass::InputPointType;
79 using typename Superclass::OutputPointType;
80
82 using CoefficientPixelType = typename Superclass::PixelType;
85
87 using CoefficientVectorPixelType = Vector<float, Self::SpaceDimension>;
89 using CoefficientVectorImagePointer = typename CoefficientVectorImageType::Pointer;
90
100 virtual void
102
109 virtual void
111
112protected:
117
118private:
120 CoefficientImagePointer m_Images[SpaceDimension];
121};
122
123} // end namespace itk
124
125#ifndef ITK_MANUAL_INSTANTIATION
126# include "itkDeformationVectorFieldTransform.hxx"
127#endif
128
129#endif // end #ifndef itkDeformationVectorFieldTransform_h
Deformable transform using a B-spline representation.
An itk transform based on a DeformationVectorField.
typename CoefficientVectorImageType::Pointer CoefficientVectorImagePointer
typename Superclass::ImagePointer CoefficientImagePointer
virtual void GetCoefficientVectorImage(CoefficientVectorImagePointer &vecImage) const
itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions)
ITK_DISALLOW_COPY_AND_MOVE(DeformationVectorFieldTransform)
itkStaticConstMacro(SplineOrder, unsigned int, Superclass::SplineOrder)
virtual void SetCoefficientVectorImage(const CoefficientVectorImageType *vecImage)


Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo