ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkGaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform.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 itkGaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform_h
19#define itkGaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform_h
20
22
23namespace itk
24{
25
38template <typename TParametersValueType, unsigned int VDimension>
40 : public TimeVaryingVelocityFieldTransform<TParametersValueType, VDimension>
41{
42public:
44
50
53
55 itkNewMacro(Self);
56
58 static constexpr unsigned int TimeVaryingVelocityFieldDimension = VDimension + 1;
59
61 using typename Superclass::ScalarType;
62 using typename Superclass::DerivativeType;
64 using typename Superclass::VelocityFieldType;
65
68
70 using DisplacementVectorValueType = typename DisplacementVectorType::ValueType;
71
72
77 itkSetMacro(GaussianSpatialSmoothingVarianceForTheUpdateField, ScalarType);
78 itkGetConstReferenceMacro(GaussianSpatialSmoothingVarianceForTheUpdateField, ScalarType);
80
85 itkSetMacro(GaussianTemporalSmoothingVarianceForTheUpdateField, ScalarType);
86 itkGetConstReferenceMacro(GaussianTemporalSmoothingVarianceForTheUpdateField, ScalarType);
88
93 itkSetMacro(GaussianSpatialSmoothingVarianceForTheTotalField, ScalarType);
94 itkGetConstReferenceMacro(GaussianSpatialSmoothingVarianceForTheTotalField, ScalarType);
96
101 itkSetMacro(GaussianTemporalSmoothingVarianceForTheTotalField, ScalarType);
102 itkGetConstReferenceMacro(GaussianTemporalSmoothingVarianceForTheTotalField, ScalarType);
104
113 void
114 UpdateTransformParameters(const DerivativeType & update, ScalarType factor = 1.0) override;
115
122
123protected:
126 void
127 PrintSelf(std::ostream & os, Indent indent) const override;
128
133
141};
142
143} // end namespace itk
144
145#ifndef ITK_MANUAL_INSTANTIATION
146# include "itkGaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform.hxx"
147#endif
148
149#endif // itkGaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform_h
itkSetMacro(InputSpaceName, std::string)
itkGetConstReferenceMacro(InputSpaceName, std::string)
itkOverrideGetNameOfClassMacro(TransformBaseTemplate)
ITK_DISALLOW_COPY_AND_MOVE(TransformBaseTemplate)
ParametersValueType ValueType
Definition itkArray.h:52
virtual TimeVaryingVelocityFieldPointer GaussianSmoothTimeVaryingVelocityField(VelocityFieldType *, ScalarType, ScalarType)
void UpdateTransformParameters(const DerivativeType &update, ScalarType factor=1.0) override
void PrintSelf(std::ostream &os, Indent indent) const override
Control indentation during Print() invocation.
Definition itkIndent.h:50
Implements transparent reference counting.
typename VelocityFieldType::Pointer TimeVaryingVelocityFieldPointer
Image< OutputVectorType, VelocityFieldDimension > VelocityFieldType
Array< ParametersValueType > DerivativeType
ParametersValueType ScalarType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType ModifiedTimeType