ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkBlockMatchingBlockAffineTransformMetricImageFilter.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 itkBlockMatchingBlockAffineTransformMetricImageFilter_h
19#define itkBlockMatchingBlockAffineTransformMetricImageFilter_h
20
22
23#include "itkAffineTransform.h"
28
29namespace itk
30{
31namespace BlockMatching
32{
33
46template <typename TFixedImage, typename TMovingImage, typename TMetricImage, typename TStrainValueType>
48 : public MetricImageFilter<TFixedImage, TMovingImage, TMetricImage>
49{
50public:
56
58 itkOverrideGetNameOfClassMacro(BlockAffineTransformMetricImageFilter);
59
60 itkNewMacro(Self);
61
63 static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
64
67 using FixedImageConstPointerType = typename FixedImageType::ConstPointer;
68
71 using MovingImageRegionType = typename MovingImageType::RegionType;
72 using MovingImageConstPointerType = typename MovingImageType::ConstPointer;
73
76 using MetricImagePointerType = typename MetricImageType::Pointer;
77 using MetricImagePixelType = typename MetricImageType::PixelType;
79
84
87
89 static constexpr unsigned int SincWindowRadius = 4;
96 double>;
97
100 itkSetObjectMacro(MetricImageFilter, Superclass);
101 itkGetConstObjectMacro(MetricImageFilter, Superclass);
102
104 itkSetConstObjectMacro(StrainImage, StrainImageType);
105 itkGetConstObjectMacro(StrainImage, StrainImageType);
106
107protected:
109
112 virtual void
114
115 virtual void
116 GenerateData() override;
117
120
124
125 typename FixedImageType::Pointer m_TransformedFixedImage;
126
127private:
129 void
130 operator=(const Self &);
131};
132
133} // end namespace BlockMatching
134} // end namespace itk
135
136#ifndef ITK_MANUAL_INSTANTIATION
137# include "itkBlockMatchingBlockAffineTransformMetricImageFilter.hxx"
138#endif
139
140#endif
Image< SymmetricSecondRankTensor< TStrainValueType, ImageDimension >, ImageDimension > StrainImageType
WindowedSincInterpolateImageFunction< FixedImageType, SincWindowRadius, SincWindowType, SincWindowBoundaryConditionType, double > InterpolatorType
typename MetricImageType::RegionType MetricImageRegionType
Templated n-dimensional image class.
Definition itkImage.h:89
Linearly interpolate an image at specified positions.
Implements transparent reference counting.
A function object that determines a neighborhood of values at an image boundary according to a Neuman...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....