ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkVariationalRegistrationRegularizer.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 itkVariationalRegistrationRegularizer_h
19#define itkVariationalRegistrationRegularizer_h
20
23
24namespace itk
25{
26
47template <typename TDisplacementField>
48class VariationalRegistrationRegularizer : public InPlaceImageFilter<TDisplacementField, TDisplacementField>
49{
50public:
51 ITK_DISALLOW_COPY_AND_MOVE(VariationalRegistrationRegularizer);
52
58
60 itkNewMacro(Self);
61
63 itkOverrideGetNameOfClassMacro(VariationalRegistrationRegularizer);
64
65 static constexpr unsigned int ImageDimension = TDisplacementField::ImageDimension;
66
68 using DisplacementFieldType = TDisplacementField;
69 using DisplacementFieldPointer = typename DisplacementFieldType::Pointer;
70 using DisplacementFieldConstPointer = typename DisplacementFieldType::ConstPointer;
71 using PixelType = typename DisplacementFieldType::PixelType;
72
74
76 itkSetMacro(UseImageSpacing, bool);
77
79 itkGetConstMacro(UseImageSpacing, bool);
80
82 itkBooleanMacro(UseImageSpacing);
83
84protected:
87
89 void
90 PrintSelf(std::ostream & os, Indent indent) const override;
91
93 virtual void
95
96private:
99};
100
101} // namespace itk
102
103#ifndef ITK_MANUAL_INSTANTIATION
104# include "itkVariationalRegistrationRegularizer.hxx"
105#endif
106
107#endif
Control indentation during Print() invocation.
Definition itkIndent.h:53
Implements transparent reference counting.
InPlaceImageFilter< DisplacementFieldType, DisplacementFieldType > Superclass
void PrintSelf(std::ostream &os, Indent indent) const override
~VariationalRegistrationRegularizer() override=default
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
#define itkSetMacro(name, type)