ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkGaussianExponentialDiffeomorphicTransform.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
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 * https://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 itkGaussianExponentialDiffeomorphicTransform_h
19#define itkGaussianExponentialDiffeomorphicTransform_h
20
22
23#include "itkGaussianOperator.h"
25
26namespace itk
27{
28
54template <typename TParametersValueType, unsigned int VDimension>
56 : public ConstantVelocityFieldTransform<TParametersValueType, VDimension>
57{
58public:
60
66
69
71 itkNewMacro(Self);
72
74 static constexpr unsigned int ConstantVelocityFieldDimension = VDimension;
75
77 static constexpr unsigned int Dimension = VDimension;
78
80 using typename Superclass::ScalarType;
81 using typename Superclass::DerivativeType;
83
88
90
96 void
97 UpdateTransformParameters(const DerivativeType & update, ScalarType factor = 1.0) override;
98
104
108 itkSetMacro(GaussianSmoothingVarianceForTheConstantVelocityField, ScalarType);
109 itkGetConstMacro(GaussianSmoothingVarianceForTheConstantVelocityField, ScalarType);
111
115 itkSetMacro(GaussianSmoothingVarianceForTheUpdateField, ScalarType);
116 itkGetConstMacro(GaussianSmoothingVarianceForTheUpdateField, ScalarType);
118
119protected:
122
126
129
131
132 void
133 PrintSelf(std::ostream &, Indent) const override;
134
135private:
138};
139
140} // end namespace itk
141
142#ifndef ITK_MANUAL_INSTANTIATION
143# include "itkGaussianExponentialDiffeomorphicTransform.hxx"
144#endif
145
146#endif // itkGaussianExponentialDiffeomorphicTransform_h
itkSetMacro(InputSpaceName, std::string)
itkOverrideGetNameOfClassMacro(TransformBaseTemplate)
ITK_DISALLOW_COPY_AND_MOVE(TransformBaseTemplate)
ParametersValueType ValueType
Definition itkArray.h:52
Image< OutputVectorType, ConstantVelocityFieldDimension > ConstantVelocityFieldType
typename DisplacementFieldType::Pointer DisplacementFieldPointer
typename ConstantVelocityFieldType::Pointer ConstantVelocityFieldPointer
Image< OutputVectorType, Dimension > DisplacementFieldType
Array< ParametersValueType > DerivativeType
ParametersValueType ScalarType
Image< OutputVectorType, ConstantVelocityFieldDimension > ConstantVelocityFieldType
~GaussianExponentialDiffeomorphicTransform() override=default
ConstantVelocityFieldTransform< TParametersValueType, VDimension > Superclass
typename ConstantVelocityFieldType::Pointer ConstantVelocityFieldPointer
VectorNeighborhoodOperatorImageFilter< ConstantVelocityFieldType, ConstantVelocityFieldType > GaussianSmoothingSmootherType
void PrintSelf(std::ostream &, Indent) const override
void UpdateTransformParameters(const DerivativeType &update, ScalarType factor=1.0) override
virtual ConstantVelocityFieldPointer GaussianSmoothConstantVelocityField(ConstantVelocityFieldType *, ScalarType)
A NeighborhoodOperator whose coefficients are a one dimensional, discrete Gaussian kernel.
Control indentation during Print() invocation.
Definition itkIndent.h:50
Implements transparent reference counting.
Applies a single scalar NeighborhoodOperator to an itk::Vector image region.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....