go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkDeformationFieldRegulizer.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
19#ifndef __itkDeformationFieldRegulizer_H__
20#define __itkDeformationFieldRegulizer_H__
21
23#include "itkImageRegionIterator.h"
24
25namespace itk
26{
27
40template< class TAnyITKTransform >
42 public TAnyITKTransform
43{
44public:
45
50 typedef SmartPointer< const Self > ConstPointer;
51
53 itkNewMacro( Self );
54
57
59 itkStaticConstMacro( InputSpaceDimension, unsigned int, Superclass::InputSpaceDimension );
61 itkStaticConstMacro( OutputSpaceDimension, unsigned int, Superclass::OutputSpaceDimension );
62
64 typedef typename Superclass::ScalarType ScalarType;
65 typedef typename Superclass::ParametersType ParametersType;
66 typedef typename Superclass::JacobianType JacobianType;
67 typedef typename Superclass::InputVectorType InputVectorType;
68 typedef typename Superclass::OutputVectorType OutputVectorType;
69 typedef typename Superclass::InputCovariantVectorType InputCovariantVectorType;
70 typedef typename Superclass::OutputCovariantVectorType OutputCovariantVectorType;
71 typedef typename Superclass::InputVnlVectorType InputVnlVectorType;
72 typedef typename Superclass::OutputVnlVectorType OutputVnlVectorType;
73 typedef typename Superclass::InputPointType InputPointType;
74 typedef typename Superclass::OutputPointType OutputPointType;
75
79 itkGetStaticConstMacro( InputSpaceDimension ) > IntermediaryDFTransformType;
81 typedef typename IntermediaryDFTransformType
83 typedef typename VectorImageType::PixelType VectorPixelType;
84 typedef ImageRegionIterator< VectorImageType > IteratorType;
85
87 typedef typename VectorImageType::RegionType RegionType;
88 typedef typename VectorImageType::SpacingType SpacingType;
89 typedef typename VectorImageType::PointType OriginType;
90
93
98 typename VectorImageType::Pointer vecImage );
99
101 itkSetMacro( DeformationFieldRegion, RegionType );
102
104 itkSetMacro( DeformationFieldSpacing, SpacingType );
105
107 itkSetMacro( DeformationFieldOrigin, OriginType );
108
110 itkGetConstObjectMacro( IntermediaryDeformationFieldTransform, IntermediaryDFTransformType );
111
113 OutputPointType TransformPoint( const InputPointType & inputPoint ) const override;
114
115protected:
116
121
122private:
123
125 DeformationFieldRegulizer( const Self & ); // purposely not implemented
127 void operator=( const Self & ); // purposely not implemented
128
132
137
138};
139
140} // end namespace itk
141
142#ifndef ITK_MANUAL_INSTANTIATION
143#include "itkDeformationFieldRegulizer.hxx"
144#endif
145
146#endif // end #ifndef __itkDeformationFieldRegulizer_H__
This class combines any itk transform with the DeformationFieldTransform.
VectorImageType::PixelType VectorPixelType
itkStaticConstMacro(OutputSpaceDimension, unsigned int, Superclass::OutputSpaceDimension)
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::InputVectorType InputVectorType
ImageRegionIterator< VectorImageType > IteratorType
Superclass::InputCovariantVectorType InputCovariantVectorType
OutputPointType TransformPoint(const InputPointType &inputPoint) const override
Superclass::ParametersType ParametersType
IntermediaryDFTransformType::CoefficientVectorImageType VectorImageType
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
VectorImageType::RegionType RegionType
Superclass::InputPointType InputPointType
DeformationFieldRegulizer(const Self &)
DeformationVectorFieldTransform< ScalarType, itkGetStaticConstMacro(InputSpaceDimension) > IntermediaryDFTransformType
virtual void UpdateIntermediaryDeformationFieldTransform(typename VectorImageType::Pointer vecImage)
IntermediaryDFTransformPointer m_IntermediaryDeformationFieldTransform
IntermediaryDFTransformType::Pointer IntermediaryDFTransformPointer
void operator=(const Self &)
itkStaticConstMacro(InputSpaceDimension, unsigned int, Superclass::InputSpaceDimension)
Superclass::OutputVectorType OutputVectorType
Superclass::OutputPointType OutputPointType
VectorImageType::SpacingType SpacingType
An itk transform based on a DeformationVectorField.
Image< CoefficientVectorPixelType, itkGetStaticConstMacro(SpaceDimension) > CoefficientVectorImageType


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo