ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkExponentialDisplacementFieldImageFilter.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 itkExponentialDisplacementFieldImageFilter_h
19#define itkExponentialDisplacementFieldImageFilter_h
20
22#include "itkCastImageFilter.h"
25#include "itkAddImageFilter.h"
26
27namespace itk
28{
61template <typename TInputImage, typename TOutputImage>
62class ITK_TEMPLATE_EXPORT ExponentialDisplacementFieldImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
63{
64public:
65 ITK_DISALLOW_COPY_AND_MOVE(ExponentialDisplacementFieldImageFilter);
66
72
74 itkNewMacro(Self);
75
77 itkOverrideGetNameOfClassMacro(ExponentialDisplacementFieldImageFilter);
78
80 using InputImageType = TInputImage;
81 using InputImagePointer = typename InputImageType::Pointer;
82 using InputImageConstPointer = typename InputImageType::ConstPointer;
83 using InputPixelType = typename InputImageType::PixelType;
84 using InputPixelRealValueType = typename InputPixelType::RealValueType;
85
86 using OutputImageType = TOutputImage;
87 using OutputImagePointer = typename OutputImageType::Pointer;
88 using OutputPixelType = typename OutputImageType::PixelType;
89
91 itkSetMacro(MaximumNumberOfIterations, unsigned int);
92 itkGetConstMacro(MaximumNumberOfIterations, unsigned int);
94
99 itkSetMacro(AutomaticNumberOfIterations, bool);
100 itkGetConstMacro(AutomaticNumberOfIterations, bool);
101 itkBooleanMacro(AutomaticNumberOfIterations);
103
109 itkSetMacro(ComputeInverse, bool);
110 itkGetConstMacro(ComputeInverse, bool);
111 itkBooleanMacro(ComputeInverse);
113
115 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
116 static constexpr unsigned int OutputImageDimension = TInputImage::ImageDimension;
117 static constexpr unsigned int PixelDimension = InputPixelType::Dimension;
118 static constexpr unsigned int OutputPixelDimension = OutputPixelType::Dimension;
119
124
125protected:
128
129 void
130 PrintSelf(std::ostream & os, Indent indent) const override;
131
135 void
136 GenerateData() override;
137
138 using RegionType = typename InputImageType::RegionType;
139
142
144
146
148
150
156 using AdderPointer = typename AdderType::Pointer;
157
158private:
161
163
168};
169} // end namespace itk
170
171#ifndef ITK_MANUAL_INSTANTIATION
172# include "itkExponentialDisplacementFieldImageFilter.hxx"
173#endif
174
175#endif
Pixel-wise addition of two images.
Casts input pixels to output pixel type.
Pixel-wise division of two images.
CastImageFilter< InputImageType, OutputImageType > CasterType
WarpVectorImageFilter< OutputImageType, OutputImageType, OutputImageType > VectorWarperType
VectorLinearInterpolateNearestNeighborExtrapolateImageFunction< OutputImageType, double > FieldInterpolatorType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
void PrintSelf(std::ostream &os, Indent indent) const override
typename FieldInterpolatorType::OutputType FieldInterpolatorOutputType
DivideImageFilter< InputImageType, itk::Image< InputPixelRealValueType, ImageDimension >, OutputImageType > DivideByConstantType
~ExponentialDisplacementFieldImageFilter() override=default
AddImageFilter< OutputImageType, OutputImageType, OutputImageType > AdderType
Control indentation during Print() invocation.
Definition itkIndent.h:50
Implements transparent reference counting.
Warps an image using an input displacement field.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....